|
@@ -232,10 +232,12 @@
|
|
#define LPCR_VPM0 (1ul << (63-0))
|
|
#define LPCR_VPM0 (1ul << (63-0))
|
|
#define LPCR_VPM1 (1ul << (63-1))
|
|
#define LPCR_VPM1 (1ul << (63-1))
|
|
#define LPCR_ISL (1ul << (63-2))
|
|
#define LPCR_ISL (1ul << (63-2))
|
|
|
|
+#define LPCR_VC_SH (63-2)
|
|
#define LPCR_DPFD_SH (63-11)
|
|
#define LPCR_DPFD_SH (63-11)
|
|
#define LPCR_VRMA_L (1ul << (63-12))
|
|
#define LPCR_VRMA_L (1ul << (63-12))
|
|
#define LPCR_VRMA_LP0 (1ul << (63-15))
|
|
#define LPCR_VRMA_LP0 (1ul << (63-15))
|
|
#define LPCR_VRMA_LP1 (1ul << (63-16))
|
|
#define LPCR_VRMA_LP1 (1ul << (63-16))
|
|
|
|
+#define LPCR_VRMASD_SH (63-16)
|
|
#define LPCR_RMLS 0x1C000000 /* impl dependent rmo limit sel */
|
|
#define LPCR_RMLS 0x1C000000 /* impl dependent rmo limit sel */
|
|
#define LPCR_ILE 0x02000000 /* !HV irqs set MSR:LE */
|
|
#define LPCR_ILE 0x02000000 /* !HV irqs set MSR:LE */
|
|
#define LPCR_PECE 0x00007000 /* powersave exit cause enable */
|
|
#define LPCR_PECE 0x00007000 /* powersave exit cause enable */
|
|
@@ -243,8 +245,10 @@
|
|
#define LPCR_PECE1 0x00002000 /* decrementer can cause exit */
|
|
#define LPCR_PECE1 0x00002000 /* decrementer can cause exit */
|
|
#define LPCR_PECE2 0x00001000 /* machine check etc can cause exit */
|
|
#define LPCR_PECE2 0x00001000 /* machine check etc can cause exit */
|
|
#define LPCR_MER 0x00000800 /* Mediated External Exception */
|
|
#define LPCR_MER 0x00000800 /* Mediated External Exception */
|
|
|
|
+#define LPCR_LPES 0x0000000c
|
|
#define LPCR_LPES0 0x00000008 /* LPAR Env selector 0 */
|
|
#define LPCR_LPES0 0x00000008 /* LPAR Env selector 0 */
|
|
#define LPCR_LPES1 0x00000004 /* LPAR Env selector 1 */
|
|
#define LPCR_LPES1 0x00000004 /* LPAR Env selector 1 */
|
|
|
|
+#define LPCR_LPES_SH 2
|
|
#define LPCR_RMI 0x00000002 /* real mode is cache inhibit */
|
|
#define LPCR_RMI 0x00000002 /* real mode is cache inhibit */
|
|
#define LPCR_HDICE 0x00000001 /* Hyp Decr enable (HV,PR,EE) */
|
|
#define LPCR_HDICE 0x00000001 /* Hyp Decr enable (HV,PR,EE) */
|
|
#define SPRN_LPID 0x13F /* Logical Partition Identifier */
|
|
#define SPRN_LPID 0x13F /* Logical Partition Identifier */
|