James Morse 4900c32514 UPSTREAM: KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
commit a5905d6af492ee6a4a2205f0d550b3f931b03d03 upstream.

KVM allows the guest to discover whether the ARCH_WORKAROUND SMCCC are
implemented, and to preserve that state during migration through its
firmware register interface.

Add the necessary boiler plate for SMCCC_ARCH_WORKAROUND_3.

Bug: 215557547
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
[ kvm code moved to virt/kvm/arm. ]
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ifccbbfa6d634e09aecf77d8f803a11f5729a3d45
2022-03-17 18:06:43 +01:00
..
2021-11-17 10:19:21 +01:00
2019-09-03 22:09:46 +02:00
2019-09-30 10:04:28 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2019-06-17 05:14:24 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2021-03-07 12:51:29 +01:00
2021-11-02 18:15:00 +01:00
2019-09-22 09:39:09 -07:00