From: Marc Zyngier Date: Tue, 8 Feb 2022 14:26:30 +0000 (+0000) Subject: Merge branch kvm-arm64/oslock into kvmarm-master/next X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b61fa004a45f012512721809b7e30595a256674d;p=linux.git Merge branch kvm-arm64/oslock into kvmarm-master/next * kvm-arm64/oslock: : . : Debug OS-Lock emulation courtesy of Oliver Upton. From the cover letter: : : "KVM does not implement the debug architecture to the letter of the : specification. One such issue is the fact that KVM treats the OS Lock as : RAZ/WI, rather than emulating its behavior on hardware. This series adds : emulation support for the OS Lock to KVM. Emulation is warranted as the : OS Lock affects debug exceptions taken from all ELs, and is not limited : to only the context of the guest." : . selftests: KVM: Test OS lock behavior selftests: KVM: Add OSLSR_EL1 to the list of blessed regs KVM: arm64: Emulate the OS Lock KVM: arm64: Allow guest to set the OSLK bit KVM: arm64: Stash OSLSR_EL1 in the cpu context KVM: arm64: Correctly treat writes to OSLSR_EL1 as undefined Signed-off-by: Marc Zyngier --- b61fa004a45f012512721809b7e30595a256674d