original_kernel/arch/arm64/kvm/hyp/nvhe
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
..
.gitignore
Makefile Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
cache.S
debug-sr.c
early_alloc.c
ffa.c
gen-hyprel.c
host.S
hyp-init.S
hyp-main.c KVM: arm64: Ensure that SME controls are disabled in protected mode 2024-06-04 15:06:33 +01:00
hyp-smp.c
hyp.lds.S
list_debug.c
mem_protect.c
mm.c
page_alloc.c
pkvm.c KVM: arm64: Refactor CPACR trap bit setting/clearing to use ELx format 2024-06-04 15:06:33 +01:00
psci-relay.c
setup.c KVM: arm64: Consolidate initializing the host data's fpsimd_state/sve in pKVM 2024-06-04 15:06:33 +01:00
stacktrace.c
switch.c KVM: arm64: Refactor CPACR trap bit setting/clearing to use ELx format 2024-06-04 15:06:33 +01:00
sys_regs.c
sysreg-sr.c
timer-sr.c
tlb.c Merge branch kvm-arm64/pkvm-6.10 into kvmarm-master/next 2024-05-03 11:39:52 +01:00