KVM: arm64: at: Use correct HA bit in TCR_EL2 when regime is EL2

According to ARM DDI 0487L.b, the HA bit in TCR_EL2 when the translation
regime is EL2 (or !ELIsInHost(EL2)) is bit 21, not 39.

Fixes: c59ca4b5b0c3 ("KVM: arm64: Implement HW access flag management in stage-1 SW PTW")
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Link: https://msgid.link/20251128100946.74210-3-alexandru.elisei@arm.com
Signed-off-by: Oliver Upton <oupton@kernel.org>
This commit is contained in:
Alexandru Elisei 2025-11-28 10:09:44 +00:00 • committed by Oliver Upton
commit e88d60c0aa
2 changed files with 4 additions and 1 deletions