From: Marc Zyngier Date: Fri, 23 May 2025 09:58:34 +0000 (+0100) Subject: Merge branch kvm-arm64/at-fixes-6.16 into kvmarm-master/next X-Git-Tag: v6.16-rc1~129^2~2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e4d7fe699d673500edc488b16b46882c773143;p=thirdparty%2Flinux.git Merge branch kvm-arm64/at-fixes-6.16 into kvmarm-master/next * kvm-arm64/at-fixes-6.16: : . : Set of fixes for Address Translation (AT) instruction emulation, : which affect the (not yet upstream) NV support. : : From the cover letter: : : "Here's a small series of fixes for KVM's implementation of address : translation (aka the AT S1* instructions), addressing a number of : issues in increasing levels of severity: : : - We misreport PAR_EL1.PTW in a number of occasions, including state : that is not possible as per the architecture definition : : - We don't handle access faults at all, and that doesn't play very : well with the rest of the VNCR stuff : : - AT S1E{0,1} from EL2 with HCR_EL2.{E2H,TGE}={1,1} will absolutely : take the host down, no questions asked" : . KVM: arm64: Don't feed uninitialised data to HCR_EL2 KVM: arm64: Teach address translation about access faults KVM: arm64: Fix PAR_EL1.{PTW,S} reporting on AT S1E* Signed-off-by: Marc Zyngier --- 35e4d7fe699d673500edc488b16b46882c773143