[PATCH 0/5] AVIC bugfixes and workarounds

From: Maxim Levitsky
Date: Thu Sep 28 2023 - 11:05:25 EST


Hi!

This patch series includes several fixes to AVIC I found while working
on a new version of nested AVIC code.

Also while developing it I realized that a very simple workaround for
AVIC's errata #1235 exists and included it in this patch series as well.

Best regards,
Maxim Levitsky

Maxim Levitsky (5):
x86: KVM: SVM: fix for x2avic CVE-2023-5090
x86: KVM: SVM: add support for Invalid IPI Vector interception
x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
iommu/amd: skip updating the IRTE entry when is_run is already false
x86: KVM: SVM: workaround for AVIC's errata #1235

arch/x86/include/asm/svm.h | 1 +
arch/x86/kvm/svm/avic.c | 55 +++++++++++++++++++++++++++-----------
arch/x86/kvm/svm/nested.c | 3 +++
arch/x86/kvm/svm/svm.c | 3 +--
drivers/iommu/amd/iommu.c | 9 +++++++
5 files changed, 54 insertions(+), 17 deletions(-)

--
2.26.3