original_kernel/arch/arm64/kvm/hyp
Fuad Tabba afb91f5f8a KVM: arm64: Ensure that SME controls are disabled in protected mode
KVM (and pKVM) do not support SME guests. Therefore KVM ensures
that the host's SME state is flushed and that SME controls for
enabling access to ZA storage and for streaming are disabled.

pKVM needs to protect against a buggy/malicious host. Ensure that
it wouldn't run a guest when protected mode is enabled should any
of the SME controls be enabled.

Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20240603122852.3923848-10-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
2024-06-04 15:06:33 +01:00
..
include KVM: arm64: Consolidate initializing the host data's fpsimd_state/sve in pKVM 2024-06-04 15:06:33 +01:00
nvhe KVM: arm64: Ensure that SME controls are disabled in protected mode 2024-06-04 15:06:33 +01:00
vhe KVM: arm64: Refactor CPACR trap bit setting/clearing to use ELx format 2024-06-04 15:06:33 +01:00
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00
aarch32.c KVM: arm64: AArch32: Fix spurious trapping of conditional instructions 2024-05-27 17:46:09 +01:00
entry.S
exception.c
fpsimd.S KVM: arm64: Reintroduce __sve_save_state 2024-06-04 15:06:32 +01:00
hyp-constants.c
hyp-entry.S
pgtable.c
vgic-v2-cpuif-proxy.c
vgic-v3-sr.c