]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Add ARCH_WORKAROUND_2 discovery through ARCH_FEATURES_FUNC_ID
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 29 May 2018 12:11:18 +0000 (13:11 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 31 May 2018 17:00:59 +0000 (18:00 +0100)
commitaf4400d2d51cd2ca9614c327639a06fcc1e93376
treee31e1f9ca381c4bdbe67118b6e2dc79c634bd20c
parent1860825fe234a55a0aa012556f195a16ba475d60
arm64: KVM: Add ARCH_WORKAROUND_2 discovery through ARCH_FEATURES_FUNC_ID

Now that all our infrastructure is in place, let's expose the
availability of ARCH_WORKAROUND_2 to guests. We take this opportunity
to tidy up a couple of SMCCC constants.

Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/reset.c
virt/kvm/arm/psci.c