Skip to content

AVIC bugfixes and workarounds

Maxim Levitsky kvm linux-iommu lkml stable 2 versions Applied

Status from this message: Queued patches 1-3, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 8 repliesApplied
  2. v15 patches 8 repliesSuperseded

changes since v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4x86: KVM: SVM: always update the x2avic msr interceptionarch/x86/kvm/svm/svm.c+1 -22 replies
2/4x86: KVM: SVM: add support for Invalid IPI Vector interceptionarch/x86/include/asm/svm.h arch/x86/kvm/svm/avic.c+5 -11 reply
3/4x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()arch/x86/kvm/svm/nested.c+3 -01 reply
4/4x86: KVM: SVM: workaround for AVIC's errata #1235arch/x86/kvm/svm/avic.c arch/x86/kvm/svm/svm.h+46 -181 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchSean ChristophersonSuravee Suthikulpanit
1/4R-b R-b T-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] AVIC bugfixes and workarounds

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(-)
Signature · 1 line
2.26.3