Enable Secure TSC for SEV-SNP
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v10 Latest2 patches 3 repliesIn review
- v92 patches 1 replySuperseded
- v82 patches 20 repliesSuperseded
Earlier versions · 7
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 | 2 patches | 4 replies | Superseded | |
| v6 | 4 patches | 9 replies | Applied | |
| v5 | 4 patches | 5 replies | Superseded | |
| v4 | 5 patches | 14 replies | Superseded | |
| v3 | 5 patches | 8 replies | Superseded | |
| v2 | 4 patches | 13 replies | Superseded | |
| v1 RFC | 5 patches | 6 replies | Superseded |
Changes in v10 from the cover letter
* Rebased on kvm/next
* Collect RB from Kai Huang
Patches in v10 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/cpufeatures: Add SNP Secure TSCarch/ | +1 | 0 replies | |
| 2/2 | KVM: SVM: Enable Secure TSC for SNP guestsarch/ arch/ arch/ +1 more | +32 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Borislav Petkov (AMD) | Tom Lendacky | Vaishali Thakkar | Kai Huang |
|---|---|---|---|---|
| 1/2 | A-b | R-b | T-b | |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v10 0/2] Enable Secure TSC for SEV-SNP
Patches are based on kvm/next with [1] applied
Testing Secure TSC
------------------
Secure TSC guest patches are available as part of v6.14.
QEMU changes:
https://github.com/AMDESE/qemu/tree/snp-securetsc-latest
QEMU command line SEV-SNP with Secure TSC:
qemu-system-x86_64 -cpu EPYC-Milan-v2 -smp 4 \
-object memory-backend-memfd,id=ram1,size=1G,share=true,prealloc=false,reserve=false \
-object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1,secure-tsc=on,stsc-freq=2000000000 \
-machine q35,confidential-guest-support=sev0,memory-backend=ram1 \
...Changelog:
----------
v10:
* Rebased on kvm/next
* Collect RB from Kai Huang
v9: https://lore.kernel.org/kvm/[email protected]/
* Set guest_tsc_protected during guest vCPU creation (Kai Huang)
* Improve error handling (Kai Huang)
* Disable MSR_AMD64_GUEST_TSC_FREQ write interception (Sean)
1. https://lore.kernel.org/kvm/[email protected]/
Nikunj A Dadhania (2):
x86/cpufeatures: Add SNP Secure TSC
KVM: SVM: Enable Secure TSC for SNP guests
arch/x86/include/asm/cpufeatures.h | 1 + arch/x86/include/asm/svm.h | 1 + arch/x86/kvm/svm/sev.c | 27 +++++++++++++++++++++++++++ arch/x86/kvm/svm/svm.c | 2 ++ arch/x86/kvm/svm/svm.h | 2 ++ 5 files changed, 33 insertions(+)
base-commit: 196d9e72c4b0bd68b74a4ec7f52d248f37d0f030
prerequisite-patch-id: 97788f545096df9ccc70cc99571d545fe4503f01
prerequisite-patch-id: 7a0edf8fa18231f19c781b4d412df4bafcb3d1ae
Signature · 1 line
2.43.0