Skip to contentSkip to conversation

powerpc: Add LPCR_EVIRT define

RFC PATCH Superseded Paul Mackerras 2 participants 2 messages Sep 21, 2018 – Sep 26, 2018 PowerPC

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

RFC PATCH 11/32 powerpc: Add LPCR_EVIRT define

From: Suraj Jitindar Singh <[email protected]>

Add definition of the LPCR EVIRT (enhanced virtualisation) bit.

---
 arch/powerpc/include/asm/reg.h | 1 +
 1 file changed, 1 insertion(+)
arch/powerpc/include/asm/reg.h +1 -0
index 6fda746..9c42abf 100644
@@ -456,6 +456,7 @@
 #define   LPCR_HVICE		ASM_CONST(0x0000000000000002)      /* P9: HV interrupt enable */
 #define   LPCR_HDICE		ASM_CONST(0x0000000000000001)      /* Hyp Decr enable (HV,PR,EE) */
 #define   LPCR_UPRT		ASM_CONST(0x0000000000400000)      /* Use Process Table (ISA 3) */
+#define   LPCR_EVIRT		ASM_CONST(0x0000000000200000)      /* Enhanced Virtualisation */
 #define   LPCR_HR		ASM_CONST(0x0000000000100000)
 #ifndef SPRN_LPID
 #define SPRN_LPID	0x13F	/* Logical Partition Identifier */
Signature · 1 line
2.7.4
Reviewed-by on v1 11/32
#1 lore raw
Quoted 6 lines · Paul Mackerras

From: Suraj Jitindar Singh <[email protected]>

Add definition of the LPCR EVIRT (enhanced virtualisation) bit.

Quoted 16 lines
---
 arch/powerpc/include/asm/reg.h | 1 +
 1 file changed, 1 insertion(+)
arch/powerpc/include/asm/reg.h +1 -0
index 6fda746..9c42abf 100644
@@ -456,6 +456,7 @@
 #define   LPCR_HVICE		ASM_CONST(0x0000000000000002)      /* P9: HV interrupt enable */
 #define   LPCR_HDICE		ASM_CONST(0x0000000000000001)      /* Hyp Decr enable (HV,PR,EE) */
 #define   LPCR_UPRT		ASM_CONST(0x0000000000400000)      /* Use Process Table (ISA 3) */
+#define   LPCR_EVIRT		ASM_CONST(0x0000000000200000)      /* Enhanced Virtualisation */
 #define   LPCR_HR		ASM_CONST(0x0000000000100000)
 #ifndef SPRN_LPID
 #define SPRN_LPID	0x13F	/* Logical Partition Identifier */
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson