* [PATCH 0/4] powerpc/booke: Modifications to fsl booke cpu setup code
@ 2012-07-09 12:58 ` Varun Sethi
0 siblings, 0 replies; 4+ messages in thread
From: Varun Sethi @ 2012-07-09 12:52 UTC (permalink / raw)
To: agraf, galak, benh, linuxppc-dev, kvm-ppc; +Cc: Varun Sethi
Modifications are aimed specifically at the e500mc/e5500 cpu setup code.
Following modifications are introduced by this patchset:
1. Move the E.HV check to the cpu setup code. Based on this check we manipulte the
CPU_FTR_EMB_HV flag (added as a part of e500mc KVM support) in the cpu_spec
structure. We determine the presence of this feature based on the MMUCFG[LPIDSIZE]
check and decide if we can setup the E.HV mode ivors.
2. Merge the 32 bit cpu setup code for e500mc/e5500 and define the "cpu_restore"
routine (for e5500/e6500) only for the 64 bit case. The cpu_restore routine
is used in the 64 bit case for setting up the secondary cores.
3. For the 64 bit case separate out e5500 cpu_setup and cpu_restore functions.
The cpu_setup function (for the primary core) is passed the cpu_spec pointer,
which is not there in case of the cpu_restore function. Also, in our case
we will have to manipulate the CPU_FTR_EMB_HV flag on the the primary core.
4. Added CPU_FTR_EMB_HV check for e5500.
Varun Sethi (4):
Separate out E.HV check and ivor setup code.
Merge the PPC 32 e5500 setup code with e500mc setup and don't define
a restore routine for PPC 32.
Separate out restore_e5500/setup_e5500 routines and check for E.HV
mode before setting ivor setting code.
Add CPU_FTR_EMB_HV check for e5500.
arch/powerpc/kernel/cpu_setup_fsl_booke.S | 74 +++++++++++++++++++++++++----
arch/powerpc/kernel/cputable.c | 4 ++
arch/powerpc/kernel/exceptions-64e.S | 18 +------
arch/powerpc/kernel/head_fsl_booke.S | 18 ++-----
4 files changed, 75 insertions(+), 39 deletions(-)
--
1.7.4.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 0/4] powerpc/booke: Modifications to fsl booke cpu setup code
@ 2012-07-09 12:58 ` Varun Sethi
0 siblings, 0 replies; 4+ messages in thread
From: Varun Sethi @ 2012-07-09 12:58 UTC (permalink / raw)
To: agraf, galak, benh, linuxppc-dev, kvm-ppc; +Cc: Varun Sethi
Modifications are aimed specifically at the e500mc/e5500 cpu setup code.
Following modifications are introduced by this patchset:
1. Move the E.HV check to the cpu setup code. Based on this check we manipulte the
CPU_FTR_EMB_HV flag (added as a part of e500mc KVM support) in the cpu_spec
structure. We determine the presence of this feature based on the MMUCFG[LPIDSIZE]
check and decide if we can setup the E.HV mode ivors.
2. Merge the 32 bit cpu setup code for e500mc/e5500 and define the "cpu_restore"
routine (for e5500/e6500) only for the 64 bit case. The cpu_restore routine
is used in the 64 bit case for setting up the secondary cores.
3. For the 64 bit case separate out e5500 cpu_setup and cpu_restore functions.
The cpu_setup function (for the primary core) is passed the cpu_spec pointer,
which is not there in case of the cpu_restore function. Also, in our case
we will have to manipulate the CPU_FTR_EMB_HV flag on the the primary core.
4. Added CPU_FTR_EMB_HV check for e5500.
Varun Sethi (4):
Separate out E.HV check and ivor setup code.
Merge the PPC 32 e5500 setup code with e500mc setup and don't define
a restore routine for PPC 32.
Separate out restore_e5500/setup_e5500 routines and check for E.HV
mode before setting ivor setting code.
Add CPU_FTR_EMB_HV check for e5500.
arch/powerpc/kernel/cpu_setup_fsl_booke.S | 74 +++++++++++++++++++++++++----
arch/powerpc/kernel/cputable.c | 4 ++
arch/powerpc/kernel/exceptions-64e.S | 18 +------
arch/powerpc/kernel/head_fsl_booke.S | 18 ++-----
4 files changed, 75 insertions(+), 39 deletions(-)
--
1.7.4.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 0/4] powerpc/booke: Modifications to fsl booke cpu setup code
2012-07-09 12:58 ` Varun Sethi
@ 2012-07-27 12:57 ` Sethi Varun-B16395
-1 siblings, 0 replies; 4+ messages in thread
From: Sethi Varun-B16395 @ 2012-07-27 12:57 UTC (permalink / raw)
To: galak; +Cc: linuxppc-dev, agraf, kvm-ppc
Hi Kumar,
Can you please review this patch set.
Regards
Varun
> -----Original Message-----
> From: Sethi Varun-B16395
> Sent: Monday, July 09, 2012 6:23 PM
> To: agraf@suse.de; galak@kernel.crashing.org; benh@kernel.crashing.org;
> linuxppc-dev@lists.ozlabs.org; kvm-ppc@vger.kernel.org
> Cc: Sethi Varun-B16395
> Subject: [PATCH 0/4] powerpc/booke: Modifications to fsl booke cpu setup
> code
>=20
> Modifications are aimed specifically at the e500mc/e5500 cpu setup code.
> Following modifications are introduced by this patchset:
> 1. Move the E.HV check to the cpu setup code. Based on this check we
> manipulte the
> CPU_FTR_EMB_HV flag (added as a part of e500mc KVM support) in the
> cpu_spec
> structure. We determine the presence of this feature based on the
> MMUCFG[LPIDSIZE]
> check and decide if we can setup the E.HV mode ivors.
> 2. Merge the 32 bit cpu setup code for e500mc/e5500 and define the
> "cpu_restore"
> routine (for e5500/e6500) only for the 64 bit case. The cpu_restore
> routine
> is used in the 64 bit case for setting up the secondary cores.
> 3. For the 64 bit case separate out e5500 cpu_setup and cpu_restore
> functions.
> The cpu_setup function (for the primary core) is passed the cpu_spec
> pointer,
> which is not there in case of the cpu_restore function. Also, in our
> case
> we will have to manipulate the CPU_FTR_EMB_HV flag on the the primary
> core.
> 4. Added CPU_FTR_EMB_HV check for e5500.
>=20
> Varun Sethi (4):
> Separate out E.HV check and ivor setup code.
> Merge the PPC 32 e5500 setup code with e500mc setup and don't define
> a restore routine for PPC 32.
> Separate out restore_e5500/setup_e5500 routines and check for E.HV
> mode before setting ivor setting code.
> Add CPU_FTR_EMB_HV check for e5500.
>=20
> arch/powerpc/kernel/cpu_setup_fsl_booke.S | 74
> +++++++++++++++++++++++++----
> arch/powerpc/kernel/cputable.c | 4 ++
> arch/powerpc/kernel/exceptions-64e.S | 18 +------
> arch/powerpc/kernel/head_fsl_booke.S | 18 ++-----
> 4 files changed, 75 insertions(+), 39 deletions(-)
>=20
> --
> 1.7.4.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 0/4] powerpc/booke: Modifications to fsl booke cpu setup code
@ 2012-07-27 12:57 ` Sethi Varun-B16395
0 siblings, 0 replies; 4+ messages in thread
From: Sethi Varun-B16395 @ 2012-07-27 12:57 UTC (permalink / raw)
To: galak; +Cc: linuxppc-dev, agraf, kvm-ppc
Hi Kumar,
Can you please review this patch set.
Regards
Varun
> -----Original Message-----
> From: Sethi Varun-B16395
> Sent: Monday, July 09, 2012 6:23 PM
> To: agraf@suse.de; galak@kernel.crashing.org; benh@kernel.crashing.org;
> linuxppc-dev@lists.ozlabs.org; kvm-ppc@vger.kernel.org
> Cc: Sethi Varun-B16395
> Subject: [PATCH 0/4] powerpc/booke: Modifications to fsl booke cpu setup
> code
>
> Modifications are aimed specifically at the e500mc/e5500 cpu setup code.
> Following modifications are introduced by this patchset:
> 1. Move the E.HV check to the cpu setup code. Based on this check we
> manipulte the
> CPU_FTR_EMB_HV flag (added as a part of e500mc KVM support) in the
> cpu_spec
> structure. We determine the presence of this feature based on the
> MMUCFG[LPIDSIZE]
> check and decide if we can setup the E.HV mode ivors.
> 2. Merge the 32 bit cpu setup code for e500mc/e5500 and define the
> "cpu_restore"
> routine (for e5500/e6500) only for the 64 bit case. The cpu_restore
> routine
> is used in the 64 bit case for setting up the secondary cores.
> 3. For the 64 bit case separate out e5500 cpu_setup and cpu_restore
> functions.
> The cpu_setup function (for the primary core) is passed the cpu_spec
> pointer,
> which is not there in case of the cpu_restore function. Also, in our
> case
> we will have to manipulate the CPU_FTR_EMB_HV flag on the the primary
> core.
> 4. Added CPU_FTR_EMB_HV check for e5500.
>
> Varun Sethi (4):
> Separate out E.HV check and ivor setup code.
> Merge the PPC 32 e5500 setup code with e500mc setup and don't define
> a restore routine for PPC 32.
> Separate out restore_e5500/setup_e5500 routines and check for E.HV
> mode before setting ivor setting code.
> Add CPU_FTR_EMB_HV check for e5500.
>
> arch/powerpc/kernel/cpu_setup_fsl_booke.S | 74
> +++++++++++++++++++++++++----
> arch/powerpc/kernel/cputable.c | 4 ++
> arch/powerpc/kernel/exceptions-64e.S | 18 +------
> arch/powerpc/kernel/head_fsl_booke.S | 18 ++-----
> 4 files changed, 75 insertions(+), 39 deletions(-)
>
> --
> 1.7.4.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-07-27 12:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-09 12:52 [PATCH 0/4] powerpc/booke: Modifications to fsl booke cpu setup code Varun Sethi
2012-07-09 12:58 ` Varun Sethi
2012-07-27 12:57 ` Sethi Varun-B16395
2012-07-27 12:57 ` Sethi Varun-B16395
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.