arm64: disable trapping of POR_EL0 to EL2
authorJoey Gouly <joey.gouly@arm.com>
Thu, 22 Aug 2024 15:10:47 +0000 (16:10 +0100)
committerWill Deacon <will@kernel.org>
Wed, 4 Sep 2024 11:47:10 +0000 (12:47 +0100)
commit878c05e8ef846bd1e402ba662d12e575a073e070
treea6b24400572fb56a5c6835039eb571f8cac4283c
parentcf19cc576444b0f912d924c6abc32df8511c6f54
arm64: disable trapping of POR_EL0 to EL2

Allow EL0 or EL1 to access POR_EL0 without being trapped to EL2.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20240822151113.1479789-5-joey.gouly@arm.com
[will: Rename Lset_poe_fgt to Lskip_pie_fgt to ease merge with for-next/misc]
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/el2_setup.h