x86/spec-ctrl: Fix NMI race condition
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 13 repliesIn review
- v13 patches 20 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | x86/guest: Introduce {get,set}_reg() infrastructurexen/ xen/ xen/ +3 more | +151 | 2 replies | |
| 2/4 | x86/msr: Split MSR_SPEC_CTRL handlingxen/ xen/ xen/ | +33 | 1 reply | |
| 3/4 | x86/spec-ctrl: Drop SPEC_CTRL_{ENTRY_FROM,EXIT_TO}_HVMxen/ xen/ xen/ | +13 | 0 replies | |
| 4/4 | x86/spec-ctrl: Fix NMI race condition with VT-x MSR_SPEC_CTRL handlingxen/ xen/ xen/ +1 more | +67 | 6 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Roger Pau Monné | Jan Beulich |
|---|---|---|
| Series | R-b | |
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] x86/spec-ctrl: Fix NMI race condition
v1 had an irritating breakage with VM migration, caused by the accessor logic moving out of guest_{rd,wr}msr(). v2 takes an approach I'd previously put off to one side, but which appears to be the least invasive way forward.
Andrew Cooper (4):
x86/guest: Introduce {get,set}_reg() infrastructure x86/msr: Split MSR_SPEC_CTRL handling
x86/spec-ctrl: Drop SPEC_CTRL_{ENTRY_FROM,EXIT_TO}_HVM x86/spec-ctrl: Fix NMI race condition with VT-x MSR_SPEC_CTRL handling
xen/arch/x86/hvm/hvm.c | 22 +++++++++ xen/arch/x86/hvm/svm/entry.S | 5 +- xen/arch/x86/hvm/svm/svm.c | 30 ++++++++++++ xen/arch/x86/hvm/vmx/entry.S | 23 +++++++--- xen/arch/x86/hvm/vmx/vmx.c | 78 +++++++++++++++++++++++++++++++- xen/arch/x86/include/asm/hvm/hvm.h | 24 ++++++++++ xen/arch/x86/include/asm/msr.h | 10 +++- xen/arch/x86/include/asm/pv/domain.h | 13 ++++++ xen/arch/x86/include/asm/spec_ctrl_asm.h | 51 ++++----------------- xen/arch/x86/msr.c | 21 +++++++-- xen/arch/x86/pv/emulate.c | 40 ++++++++++++++++ 11 files changed, 259 insertions(+), 58 deletions(-)
Signature · 1 line
2.11.0