acrn-kernel/arch/arm64
Mark Brown 38c83c2488 arm64/sme: Restore SME registers on exit from suspend
[ Upstream commit 9533864816fb4a6207c63b7a98396351ce1a9fae ]

The fields in SMCR_EL1 and SMPRI_EL1 reset to an architecturally UNKNOWN
value. Since we do not otherwise manage the traps configured in this
register at runtime we need to reconfigure them after a suspend in case
nothing else was kind enough to preserve them for us.

The vector length will be restored as part of restoring the SME state for
the next SME using task.

Fixes: a1f4ccd25c ("arm64/sme: Provide Kconfig for SME")
Reported-by: Jackson Cooper-Driver <Jackson.Cooper-Driver@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240213-arm64-sme-resume-v3-1-17e05e493471@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-01 13:26:37 +01:00
..
boot arm64: dts: rockchip: set num-cs property for spi on px30 2024-03-01 13:26:35 +01:00
configs
crypto
hyperv
include arm64/sme: Restore SME registers on exit from suspend 2024-03-01 13:26:37 +01:00
kernel arm64/sme: Restore SME registers on exit from suspend 2024-03-01 13:26:37 +01:00
kvm KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table() 2024-03-01 13:26:32 +01:00
lib
mm arm64: mm: Fix "rodata=on" when CONFIG_RODATA_FULL_DEFAULT_ENABLED=y 2023-12-03 07:32:08 +01:00
net
tools arm64: Rename ARM64_WORKAROUND_2966298 2024-01-31 16:17:01 -08:00
xen
Kbuild
Kconfig arm64: Rename ARM64_WORKAROUND_2966298 2024-01-31 16:17:01 -08:00
Kconfig.debug
Kconfig.platforms
Makefile arm64: add dependency between vmlinuz.efi and Image 2023-12-20 17:00:24 +01:00