aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/kvm_hyp.h
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2023-06-09 17:21:50 +0100
committerOliver Upton <[email protected]>2023-06-12 23:17:23 +0000
commit659803aef48b1a43bf47c6b105f5e3cee6a1501c (patch)
treefd95a80752f89339a5d99971bf69831484bc57c3 /arch/arm64/include/asm/kvm_hyp.h
parent9e7462bbe00d8431694720804a50b8f48d8ed0b0 (diff)
arm64: Use CPACR_EL1 format to set CPTR_EL2 when E2H is set
When HCR_EL2.E2H is set, the CPTR_EL2 register takes the CPACR_EL1 format. Yes, this is good fun. Hack the bits of startup code that assume E2H=0 while setting up CPTR_EL2 to make them grok the CPTR_EL1 format. Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'arch/arm64/include/asm/kvm_hyp.h')
0 files changed, 0 insertions, 0 deletions