Re: [PATCH v2 23/24] kvm: arm64: Trap host SMCs in protected mode.

2020-11-23 Thread Marc Zyngier
On Mon, 16 Nov 2020 20:43:17 +, David Brazdil wrote: > > While protected nVHE KVM is installed, start trapping all host SMCs. > By default, these are simply forwarded to EL3, but PSCI SMCs are > validated first. > > Create new constant HCR_HOST_NVHE_PROTECTED_FLAGS with the new set of HCR >

[PATCH v2 23/24] kvm: arm64: Trap host SMCs in protected mode.

2020-11-16 Thread David Brazdil
While protected nVHE KVM is installed, start trapping all host SMCs. By default, these are simply forwarded to EL3, but PSCI SMCs are validated first. Create new constant HCR_HOST_NVHE_PROTECTED_FLAGS with the new set of HCR flags to use while the nVHE vector is installed when the kernel was