linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/4] powerpc/booke: Add CPU_FTR_EMB_HV check for e5500.
@ 2012-07-09 13:04 Varun Sethi
  2012-08-03 18:01 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Varun Sethi @ 2012-07-09 13:04 UTC (permalink / raw)
  To: agraf, galak, benh, linuxppc-dev, kvm-ppc; +Cc: Varun Sethi, Mihai Caraman

Added CPU_FTR_EMB_HV feature check for e550.

Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
---
 arch/powerpc/kernel/cpu_setup_fsl_booke.S |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kernel/cpu_setup_fsl_booke.S b/arch/powerpc/kernel/cpu_setup_fsl_booke.S
index 1345e1b..dcd8819 100644
--- a/arch/powerpc/kernel/cpu_setup_fsl_booke.S
+++ b/arch/powerpc/kernel/cpu_setup_fsl_booke.S
@@ -143,7 +143,13 @@ _GLOBAL(__setup_cpu_e5500)
 	rlwinm.	r10,r10,0,MMUCFG_LPIDSIZE
 	beq	1f
 	bl	.setup_ehv_ivors
+	b	2f
 1:
+	ld	r10,CPU_SPEC_FEATURES(r4)
+	LOAD_REG_IMMEDIATE(r9,CPU_FTR_EMB_HV)
+	andc	r10,r10,r9
+	std	r10,CPU_SPEC_FEATURES(r4)
+2:
 	mtlr	r5
 	blr
 #endif
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 4/4] powerpc/booke: Add CPU_FTR_EMB_HV check for e5500.
  2012-07-09 13:04 [PATCH 4/4] powerpc/booke: Add CPU_FTR_EMB_HV check for e5500 Varun Sethi
@ 2012-08-03 18:01 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2012-08-03 18:01 UTC (permalink / raw)
  To: Varun Sethi; +Cc: linuxppc-dev, agraf, kvm-ppc, Mihai Caraman


On Jul 9, 2012, at 8:04 AM, Varun Sethi wrote:

> Added CPU_FTR_EMB_HV feature check for e550.
> 
> Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
> Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
> ---
> arch/powerpc/kernel/cpu_setup_fsl_booke.S |    6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)

[ fixed typo e550 -> e5500 ]

applied to next

- k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-03 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-09 13:04 [PATCH 4/4] powerpc/booke: Add CPU_FTR_EMB_HV check for e5500 Varun Sethi
2012-08-03 18:01 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).