Skip to content

KVM: SVM: Fix GATag bug for >256 vCPUs

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 10 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: SVM: Fix a benign off-by-one bug in AVIC physical table maskarch/x86/include/asm/svm.h+7 -51 reply
2/3KVM: SVM: Modify AVIC GATag to support max number of 512 vCPUsarch/x86/kvm/svm/avic.c+18 -85 replies
3/3KVM: SVM: WARN if GATag generation drops VM or vCPU ID informationarch/x86/kvm/svm/avic.c+12 -31 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSuravee Suthikulpanit
SeriesT-b
1/3R-b
2/3R-b
3/3R-b

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/3] KVM: SVM: Fix GATag bug for >256 vCPUs

Fix a bug in KVM's use of the GATag where it unintentionally drops a bit from vCPU IDs greater than 255 and as a result wakes the wrong vCPU.

Suravee and/or Alejandro, can you give this proper testing? It's compile tested only at this point. I'll do basic testing before officially applying, but AFAIK I don't have access to x2AVIC hardware, nor do I have a ready-to-go configuration to properly exercise this code.

Thanks!

Sean Christopherson (2):
KVM: SVM: Fix a benign off-by-one bug in AVIC physical table mask
KVM: SVM: WARN if GATag generation drops VM or vCPU ID information

Suravee Suthikulpanit (1):
KVM: SVM: Modify AVIC GATag to support max number of 512 vCPUs

 arch/x86/include/asm/svm.h | 12 +++++++-----
 arch/x86/kvm/svm/avic.c    | 37 ++++++++++++++++++++++++++++---------
 2 files changed, 35 insertions(+), 14 deletions(-)

base-commit: 32e69f232db4ca11f26e5961daeff93906ce232f

Signature · 1 line
2.39.1.519.gcb327c4b5f-goog