* [PATCH] powerpc: Fix HV bit handling on non partitioned machines
@ 2006-06-10 13:14 Anton Blanchard
0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2006-06-10 13:14 UTC (permalink / raw)
To: linuxppc-dev; +Cc: paulus
On non partitioned machines we currently set the HV bit in kernel space
only. It turns out we are supposed to maintain the HV bit in both user
and kernel space.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: build/include/asm-powerpc/reg.h
===================================================================
--- build.orig/include/asm-powerpc/reg.h 2006-05-27 10:02:39.000000000 +1000
+++ build/include/asm-powerpc/reg.h 2006-05-27 10:09:46.000000000 +1000
@@ -93,8 +93,8 @@
#define MSR_LE __MASK(MSR_LE_LG) /* Little Endian */
#ifdef CONFIG_PPC64
-#define MSR_ MSR_ME | MSR_RI | MSR_IR | MSR_DR | MSR_ISF
-#define MSR_KERNEL MSR_ | MSR_SF | MSR_HV
+#define MSR_ MSR_ME | MSR_RI | MSR_IR | MSR_DR | MSR_ISF |MSR_HV
+#define MSR_KERNEL MSR_ | MSR_SF
#define MSR_USER32 MSR_ | MSR_PR | MSR_EE
#define MSR_USER64 MSR_USER32 | MSR_SF
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-10 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-10 13:14 [PATCH] powerpc: Fix HV bit handling on non partitioned machines Anton Blanchard
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).