linux_old1/arch/arm64/kvm
Marc Zyngier 6141570c36 arm64: KVM: Warn when PARange is less than 40 bits
We always thought that 40bits of PA range would be the minimum people
would actually build. Anything less is terrifyingly small.

Turns out that we were both right and wrong. Nobody has ever built
such a system, but the ARM Foundation Model has a PARange set to 36bits.
Just because we can. Oh well. Now, the KVM API explicitely says that
we offer a 40bit PA space to the VM, so we shouldn't run KVM on
the Foundation Model at all.

That being said, this patch offers a less agressive alternative, and
loudly warns about the configuration being unsupported. You'll still
be able to run VMs (at your own risks, though).

This is just a workaround until we have a proper userspace API where
we report the PARange to userspace.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-04-06 13:33:14 +02:00
..
hyp arm64: KVM: Warn when PARange is less than 40 bits 2016-04-06 13:33:14 +02:00
Kconfig arm64: KVM: Define PMU data structure for each vcpu 2016-02-29 18:34:19 +00:00
Makefile arm64: KVM: Add access handler for event counter register 2016-02-29 18:34:20 +00:00
debug.c KVM: arm64: add trace points for guest_debug debug 2015-07-21 12:50:43 +01:00
emulate.c arm64: kvm: move to ESR_ELx macros 2015-01-15 12:24:25 +00:00
guest.c One of the largest releases for KVM... Hardly any generic improvement, 2016-03-16 09:55:35 -07:00
handle_exit.c arm64: KVM: Turn system register numbers to an enum 2015-12-14 11:30:43 +00:00
hyp-init.S arm64: KVM: Switch to C-based stage2 init 2016-02-29 18:34:15 +00:00
hyp.S arm64 updates for 4.6: 2016-03-17 20:03:47 -07:00
inject_fault.c arm64: KVM: Fix AArch64 guest userspace exception injection 2016-01-24 21:55:57 +00:00
regmap.c arm64: KVM: 32bit GP register access 2013-06-12 16:42:14 +01:00
reset.c arm64: KVM: Introduce per-vcpu kvm device controls 2016-02-29 18:34:21 +00:00
sys_regs.c arm64 updates for 4.6: 2016-03-17 20:03:47 -07:00
sys_regs.h arm64: KVM: Correctly handle zero register in system register accesses 2015-12-04 16:29:54 +00:00
sys_regs_generic_v8.c arm64: KVM: Correctly handle zero register in system register accesses 2015-12-04 16:29:54 +00:00
trace.h KVM: arm64: add trace points for guest_debug debug 2015-07-21 12:50:43 +01:00