linux_dsm_epyc7002/arch/powerpc/kvm
Thomas Huth fa73c3b25b KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register
The MMCR2 register is available twice, one time with number 785
(privileged access), and one time with number 769 (unprivileged,
but it can be disabled completely). In former times, the Linux
kernel was using the unprivileged register 769 only, but since
commit 8dd75ccb57 ("powerpc: Use privileged SPR number
for MMCR2"), it uses the privileged register 785 instead.
The KVM-PR code then of course also switched to use the SPR 785,
but this is causing older guest kernels to crash, since these
kernels still access 769 instead. So to support older kernels
with KVM-PR again, we have to support register 769 in KVM-PR, too.

Fixes: 8dd75ccb57
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-09-27 15:14:29 +10:00
..
book3s_32_mmu_host.c
book3s_32_mmu.c
book3s_32_sr.S
book3s_64_mmu_host.c
book3s_64_mmu_hv.c
book3s_64_mmu.c
book3s_64_slb.S
book3s_64_vio_hv.c
book3s_64_vio.c
book3s_emulate.c KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register 2016-09-27 15:14:29 +10:00
book3s_exports.c
book3s_hv_builtin.c KVM: PPC: Book3S HV: Complete passthrough interrupt in host 2016-09-12 10:12:07 +10:00
book3s_hv_hmi.c
book3s_hv_interrupts.S
book3s_hv_ras.c
book3s_hv_rm_mmu.c
book3s_hv_rm_xics.c KVM: PPC: Book3S HV: Counters for passthrough IRQ stats 2016-09-12 10:12:34 +10:00
book3s_hv_rmhandlers.S KVM: PPC: Book3S: Treat VTB as a per-subcore register, not per-thread 2016-09-27 14:41:39 +10:00
book3s_hv.c KVM: PPC: Book3S HV: Take out virtual core piggybacking code 2016-09-27 14:42:07 +10:00
book3s_interrupts.S
book3s_mmu_hpte.c
book3s_paired_singles.c
book3s_pr_papr.c
book3s_pr.c KVM: PPC: Book3S PR: Support 64kB page size on POWER8E and POWER8NVL 2016-09-27 15:14:29 +10:00
book3s_rmhandlers.S
book3s_rtas.c
book3s_segment.S
book3s_xics.c KVM: PPC: Book3S HV: Set server for passed-through interrupts 2016-09-12 10:12:28 +10:00
book3s_xics.h KVM: PPC: Book3S HV: Set server for passed-through interrupts 2016-09-12 10:12:28 +10:00
book3s.c KVM: PPC: Book3S: Treat VTB as a per-subcore register, not per-thread 2016-09-27 14:41:39 +10:00
book3s.h
booke_emulate.c
booke_interrupts.S
booke.c KVM: PPC: BookE: Fix a sanity check 2016-09-27 15:14:29 +10:00
booke.h
bookehv_interrupts.S
e500_emulate.c
e500_mmu_host.c
e500_mmu_host.h
e500_mmu.c KVM: PPC: e500: Rename jump labels in kvmppc_e500_tlb_init() 2016-09-13 14:32:47 +10:00
e500.c
e500.h
e500mc.c
emulate_loadstore.c
emulate.c
fpu.S
irq.h
Kconfig KVM: PPC: select IRQ_BYPASS_MANAGER 2016-09-09 16:26:19 +10:00
Makefile
mpic.c
powerpc.c kvm: add stubs for arch specific debugfs support 2016-09-16 16:57:47 +02:00
timing.c
timing.h
trace_book3s.h
trace_booke.h
trace_hv.h
trace_pr.h
trace.h