linux_old1/arch/arm64/kvm/hyp
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
..
Makefile kvm: arm64: Disable compiler instrumentation for hypervisor code 2016-03-21 14:02:17 +01:00
debug-sr.c arm64 updates for 4.6: 2016-03-17 20:03:47 -07:00
entry.S arm64: KVM: VHE: Add fpsimd enabling on guest access 2016-02-29 18:34:17 +00:00
fpsimd.S arm64: KVM: Implement fpsimd save/restore 2015-12-14 11:30:41 +00:00
hyp-entry.S arm64: KVM: Move most of the fault decoding to C 2016-02-29 18:34:18 +00:00
s2-setup.c arm64: KVM: Warn when PARange is less than 40 bits 2016-04-06 13:33:14 +02:00
switch.c arm64: KVM: Add access handler for PMUSERENR register 2016-02-29 18:34:21 +00:00
sysreg-sr.c arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h 2016-02-29 18:34:18 +00:00
tlb.c arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h 2016-02-29 18:34:18 +00:00
vgic-v3-sr.c arm64: KVM: vgic-v3: Only wipe LRs on vcpu exit 2016-03-09 04:24:16 +00:00