Re: [Xen-devel] [PATCH 2/3] x86: suppress BTI mitigations around S3 suspend/resume

2018-04-13 Thread Simon Gaiser
Andrew Cooper: > On 13/04/18 19:25, Simon Gaiser wrote: >> Jan Beulich: >>> NMI and #MC can occur at any time after S3 resume, yet the MSR_SPEC_CTRL >>> may become available only once we're reloaded microcode. Make >>> SPEC_CTRL_ENTRY_FROM_INTR_IST and DO_SPEC_CTRL_EXIT_TO_XEN no-ops for >>> the

Re: [Xen-devel] [PATCH 2/3] x86: suppress BTI mitigations around S3 suspend/resume

2018-04-13 Thread Simon Gaiser
Jan Beulich: > NMI and #MC can occur at any time after S3 resume, yet the MSR_SPEC_CTRL > may become available only once we're reloaded microcode. Make > SPEC_CTRL_ENTRY_FROM_INTR_IST and DO_SPEC_CTRL_EXIT_TO_XEN no-ops for > the critical period of time. > > Also set the MSR back to its intended