x86/kvm: RCU/context tracking and instrumentation protections
Status from this message: Queued, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 2 repliesApplied
- v17 patches 1 replySuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86/kvm: Move context tracking where it belongsarch/ arch/ arch/ | +26 | 0 replies | |
| 2/7 | x86/kvm/vmx: Add hardirq tracing to guest enter/exitarch/ | +25 | 0 replies | |
| 3/7 | x86/kvm/svm: Add hardirq tracing on guest enter/exitarch/ | +22 | 0 replies | |
| 4/7 | x86/kvm/vmx: Move guest enter/exit into .noinstr.textarch/ arch/ arch/ +3 more | +81 | 0 replies | |
| 5/7 | x86/kvm/svm: Move guest enter/exit into .noinstr.textarch/ arch/ | +56 | 0 replies | |
| 6/7 | x86/kvm/svm: Use uninstrumented wrmsrl() to restore GSarch/ | +1 | 0 replies | |
| 7/7 | x86/kvm/vmx: Use native read/write_cr2()arch/ | +3 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Alexandre Chartre | Peter Zijlstra | Paolo Bonzini | Juergen Gross |
|---|---|---|---|---|
| 1/7 | R-b | A-b | A-b | |
| 2/7 | R-b | A-b | A-b | |
| 3/7 | R-b | A-b | A-b | |
| 4/7 | R-b | A-b | A-b | |
| 5/7 | R-b | A-b | A-b | |
| 6/7 | A-b | |||
| 7/7 | 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 V2 0/7] x86/kvm: RCU/context tracking and instrumentation protections
Folks,
this is a rebased and adopted version of the original series which is available here:
https://lore.kernel.org/r/[email protected]
It deals with the RCU and context tracking state and the protection against instrumentation in sensitive places:
- Placing the guest_enter/exit() calls at the correct place
- Moving the sensitive VMENTER/EXIT code into the non-instrumentable code section.
- Fixup the tracing code to comply with the non-instrumentation rules
- Use native functions to access CR2 and the GS base MSR in the critical code pathes to prevent them from being instrumented.
Thanks,
tglx