arm64: context switch POR_EL0 register
authorJoey Gouly <joey.gouly@arm.com>
Thu, 22 Aug 2024 15:10:49 +0000 (16:10 +0100)
committerWill Deacon <will@kernel.org>
Wed, 4 Sep 2024 11:52:18 +0000 (12:52 +0100)
commit160a8e13de6c36270e8c6537b8a944f4e73d2362
tree212a9a8c7e59a860765fe098438fbe080505ceb6
parent3496f69391eee225244f0d3f0404142a80b710f5
arm64: context switch POR_EL0 register

POR_EL0 is a register that can be modified by userspace directly,
so it must be context switched.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20240822151113.1479789-7-joey.gouly@arm.com
[will: Dropped unnecessary isb()s]
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cpufeature.h
arch/arm64/include/asm/processor.h
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/process.c