linux_dsm_epyc7002/virt/kvm/arm
Marc Zyngier 15d2bffdde KVM: arm/arm64: vgic-v3: Use PREbits to infer the number of ICH_APxRn_EL2 registers
The GICv3 documentation is extremely confusing, as it talks about
the number of priorities represented by the ICH_APxRn_EL2 registers,
while it should really talk about the number of preemption levels.

This leads to a bug where we may access undefined ICH_APxRn_EL2
registers, since PREbits is allowed to be smaller than PRIbits.
Thankfully, nobody seem to have taken this path so far...

The fix is to use ICH_VTR_EL2.PREbits instead.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
2017-05-15 11:32:04 +02:00
..
hyp KVM: arm/arm64: vgic-v3: Use PREbits to infer the number of ICH_APxRn_EL2 registers 2017-05-15 11:32:04 +02:00
vgic KVM: arm/arm64: vgic-v3: Do not use Active+Pending state for a HW interrupt 2017-05-15 11:31:51 +02:00
aarch32.c arm64: KVM: Make kvm_skip_instr32 available to HYP 2016-09-08 12:53:00 +02:00
arch_timer.c KVM: arm/arm64: Report PMU overflow interrupts to userspace irqchip 2017-04-09 07:49:39 -07:00
arm.c Second round of KVM/ARM Changes for v4.12. 2017-05-09 12:51:49 +02:00
mmio.c KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00
mmu.c Second round of KVM/ARM Changes for v4.12. 2017-05-09 12:51:49 +02:00
perf.c KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00
pmu.c KVM: arm/arm64: Report PMU overflow interrupts to userspace irqchip 2017-04-09 07:49:39 -07:00
psci.c KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00
trace.h KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00