KVM: SEV: Enable AMD SEV-ES DebugSwap
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | KVM: SEV: move set_dr_intercepts/clr_dr_intercepts from the headerarch/ arch/ | +42 | 0 replies | |
| 2/9 | KVM: SEV: Move SEV's GP_VECTOR intercept setup to SEVarch/ arch/ | +8 | 0 replies | |
| 3/9 | KVM: SVM: Rewrite sev_es_prepare_switch_to_guest()'s comment about swap typesarch/ | +15 | 0 replies | |
| 4/9 | KVM: SEV-ES: explicitly disable debugarch/ arch/ | +13 | 0 replies | |
| 5/9 | KVM: SVM/SEV/SEV-ES: Rework interceptsarch/ arch/ | +25 | 2 replies | |
| 6/9 | KVM: SEV: Enable data breakpoints in SEV-ESarch/ arch/ arch/ +1 more | +37 | 0 replies | |
| 7/9 | KVM: SEV-ES: Eliminate #DB intercept when DebugSwap enabledarch/ | +2 | 0 replies | |
| 8/9 | KVM: SVM: Don't defer NMI unblocking until next exit for SEV-ES guestsarch/ arch/ | +9 | 0 replies | |
| 9/9 | KVM: SVM: Don't try to pointlessly single-step SEV-ES guests for NMI windowarch/ | +13 | 0 replies |
Reviews trailers per patch
3 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Carlos Bilbao | Tom Lendacky | Santosh Shukla |
|---|---|---|---|
| 1/9 | R-b | R-b | R-b |
| 2/9 | R-b | R-b | R-b |
| 3/9 | |||
| 4/9 | |||
| 5/9 | R-b | R-b | |
| 6/9 | |||
| 7/9 | |||
| 8/9 | |||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH kernel 0/9] KVM: SEV: Enable AMD SEV-ES DebugSwap
This is to use another AMD SEV-ES hardware assisted register swap, more detail in 6/9. In the process it's been suggested to fix other things, here is the attempt, with the great help of amders.
The previous conversation is here:
https://lore.kernel.org/r/[email protected]
This is based on sha16e2e1e779912 Ingo Molnar "Merge branch into tip/master: 'x86/sgx'".
The tree is here: https://github.com/aik/linux/tree/debugswap
Please comment. Thanks.
Alexey Kardashevskiy (6):
KVM: SEV: move set_dr_intercepts/clr_dr_intercepts from the header
KVM: SEV: Move SEV's GP_VECTOR intercept setup to SEV
KVM: SEV-ES: explicitly disable debug
KVM: SVM/SEV/SEV-ES: Rework intercepts
KVM: SEV: Enable data breakpoints in SEV-ES
KVM: SEV-ES: Eliminate #DB intercept when DebugSwap enabled
Sean Christopherson (3):
KVM: SVM: Rewrite sev_es_prepare_switch_to_guest()'s comment about
swap types
KVM: SVM: Don't defer NMI unblocking until next exit for SEV-ES guests
KVM: SVM: Don't try to pointlessly single-step SEV-ES guests for NMI
window
arch/x86/include/asm/cpufeatures.h | 1 + arch/x86/include/asm/svm.h | 1 + arch/x86/kvm/svm/svm.h | 42 ---------- tools/arch/x86/include/asm/cpufeatures.h | 1 + arch/x86/kvm/svm/sev.c | 86 +++++++++++++++++--- arch/x86/kvm/svm/svm.c | 70 ++++++++++++++-- 6 files changed, 137 insertions(+), 64 deletions(-)
Signature · 1 line
2.40.1