]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Report faults from S1 walk setup at the expected start level
authorMarc Zyngier <maz@kernel.org>
Mon, 28 Jul 2025 16:20:29 +0000 (17:20 +0100)
committerMarc Zyngier <maz@kernel.org>
Sat, 20 Sep 2025 10:05:13 +0000 (11:05 +0100)
commitdabf9f73fed86e096255c5be12c7e1d08a939c67
tree204137059fff9c668de343a184455cd6f5323772
parent5da3a3b27a0108562547086e0ba7d9593f147cfe
KVM: arm64: Report faults from S1 walk setup at the expected start level

Translation faults from TTBR must be reported on the start level,
and not level-0. Enforcing this requires moving quite a lot of
code around so that the start level can be computed early enough
that it is usable.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/at.c