[PATCH v2 0/4] AVIC bugfixes and workarounds

From: Maxim Levitsky
Date: Thu Sep 28 2023 - 13:36:00 EST


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.

changes since v2:

- added 'fixes' tags
- reworked workaround for avic errata #1235
- dropped iommu patch as it is no longer needed.

Best regards,
Maxim Levitsky

Maxim Levitsky (4):
x86: KVM: SVM: always update the x2avic msr interception
x86: KVM: SVM: add support for Invalid IPI Vector interception
x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
x86: KVM: SVM: workaround for AVIC's errata #1235

arch/x86/include/asm/svm.h | 1 +
arch/x86/kvm/svm/avic.c | 68 +++++++++++++++++++++++++++-----------
arch/x86/kvm/svm/nested.c | 3 ++
arch/x86/kvm/svm/svm.c | 3 +-
arch/x86/kvm/svm/svm.h | 1 +
5 files changed, 55 insertions(+), 21 deletions(-)

--
2.26.3