From: Oliver Upton Date: Mon, 11 Nov 2024 20:09:09 +0000 (+0000) Subject: Merge branch kvm-arm64/vgic-its-fixes into kvmarm/next X-Git-Tag: v6.13-rc1~97^2~5^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d0bee66f7398c3c81df613de2e246fbb6a04a86;p=thirdparty%2Flinux.git Merge branch kvm-arm64/vgic-its-fixes into kvmarm/next * kvm-arm64/vgic-its-fixes: : Fixes for vgic-its save/restore, courtesy of Kunkun Jiang and Jing Zhang : : Address bugs where restoring an ITS consumes a stale DTE/ITE, which : may lead to either garbage mappings in the ITS or the overall restore : ioctl failing. The fix in both cases is to zero a DTE/ITE when its : translation has been invalidated by the guest. KVM: arm64: vgic-its: Clear ITE when DISCARD frees an ITE KVM: arm64: vgic-its: Clear DTE when MAPD unmaps a device KVM: arm64: vgic-its: Add a data length check in vgic_its_save_* Signed-off-by: Oliver Upton --- 9d0bee66f7398c3c81df613de2e246fbb6a04a86