diff options
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/asm-offsets.c | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/exceptions-64s.S | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c index e7bfcf81b746..8e0db0b12dd0 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c | |||
@@ -455,6 +455,7 @@ int main(void) | |||
455 | DEFINE(KVM_LAST_VCPU, offsetof(struct kvm, arch.last_vcpu)); | 455 | DEFINE(KVM_LAST_VCPU, offsetof(struct kvm, arch.last_vcpu)); |
456 | DEFINE(KVM_LPCR, offsetof(struct kvm, arch.lpcr)); | 456 | DEFINE(KVM_LPCR, offsetof(struct kvm, arch.lpcr)); |
457 | DEFINE(KVM_RMOR, offsetof(struct kvm, arch.rmor)); | 457 | DEFINE(KVM_RMOR, offsetof(struct kvm, arch.rmor)); |
458 | DEFINE(KVM_VRMA_SLB_V, offsetof(struct kvm, arch.vrma_slb_v)); | ||
458 | DEFINE(VCPU_DSISR, offsetof(struct kvm_vcpu, arch.shregs.dsisr)); | 459 | DEFINE(VCPU_DSISR, offsetof(struct kvm_vcpu, arch.shregs.dsisr)); |
459 | DEFINE(VCPU_DAR, offsetof(struct kvm_vcpu, arch.shregs.dar)); | 460 | DEFINE(VCPU_DAR, offsetof(struct kvm_vcpu, arch.shregs.dar)); |
460 | #endif | 461 | #endif |
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 15c5a4f6de01..8bea12086b67 100644 --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel/exceptions-64s.S | |||
@@ -100,14 +100,14 @@ data_access_not_stab: | |||
100 | END_MMU_FTR_SECTION_IFCLR(MMU_FTR_SLB) | 100 | END_MMU_FTR_SECTION_IFCLR(MMU_FTR_SLB) |
101 | #endif | 101 | #endif |
102 | EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, data_access_common, EXC_STD, | 102 | EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, data_access_common, EXC_STD, |
103 | KVMTEST_PR, 0x300) | 103 | KVMTEST, 0x300) |
104 | 104 | ||
105 | . = 0x380 | 105 | . = 0x380 |
106 | .globl data_access_slb_pSeries | 106 | .globl data_access_slb_pSeries |
107 | data_access_slb_pSeries: | 107 | data_access_slb_pSeries: |
108 | HMT_MEDIUM | 108 | HMT_MEDIUM |
109 | SET_SCRATCH0(r13) | 109 | SET_SCRATCH0(r13) |
110 | EXCEPTION_PROLOG_1(PACA_EXSLB, KVMTEST_PR, 0x380) | 110 | EXCEPTION_PROLOG_1(PACA_EXSLB, KVMTEST, 0x380) |
111 | std r3,PACA_EXSLB+EX_R3(r13) | 111 | std r3,PACA_EXSLB+EX_R3(r13) |
112 | mfspr r3,SPRN_DAR | 112 | mfspr r3,SPRN_DAR |
113 | #ifdef __DISABLED__ | 113 | #ifdef __DISABLED__ |
@@ -329,8 +329,8 @@ do_stab_bolted_pSeries: | |||
329 | EXCEPTION_PROLOG_PSERIES_1(.do_stab_bolted, EXC_STD) | 329 | EXCEPTION_PROLOG_PSERIES_1(.do_stab_bolted, EXC_STD) |
330 | #endif /* CONFIG_POWER4_ONLY */ | 330 | #endif /* CONFIG_POWER4_ONLY */ |
331 | 331 | ||
332 | KVM_HANDLER_PR_SKIP(PACA_EXGEN, EXC_STD, 0x300) | 332 | KVM_HANDLER_SKIP(PACA_EXGEN, EXC_STD, 0x300) |
333 | KVM_HANDLER_PR_SKIP(PACA_EXSLB, EXC_STD, 0x380) | 333 | KVM_HANDLER_SKIP(PACA_EXSLB, EXC_STD, 0x380) |
334 | KVM_HANDLER_PR(PACA_EXGEN, EXC_STD, 0x400) | 334 | KVM_HANDLER_PR(PACA_EXGEN, EXC_STD, 0x400) |
335 | KVM_HANDLER_PR(PACA_EXSLB, EXC_STD, 0x480) | 335 | KVM_HANDLER_PR(PACA_EXSLB, EXC_STD, 0x480) |
336 | KVM_HANDLER_PR(PACA_EXGEN, EXC_STD, 0x900) | 336 | KVM_HANDLER_PR(PACA_EXGEN, EXC_STD, 0x900) |