Re: [Xen-devel] [PATCH] x86/svm: Reduce vmentry latency

2020-02-10 Thread Jan Beulich
On 10.02.2020 13:09, Roger Pau Monné wrote: > On Mon, Feb 10, 2020 at 11:42:06AM +, Andrew Cooper wrote: >> Writing to the stack pointer in the middle of a line of pop operations is >> specifically recommended against by the optimisation guide, and is a >> technique >> used by Speculative Load

Re: [Xen-devel] [PATCH] x86/svm: Reduce vmentry latency

2020-02-10 Thread Roger Pau Monné
On Mon, Feb 10, 2020 at 11:42:06AM +, Andrew Cooper wrote: > Writing to the stack pointer in the middle of a line of pop operations is > specifically recommended against by the optimisation guide, and is a technique > used by Speculative Load Hardening to combat SpectreRSB. > > In practice, it

[Xen-devel] [PATCH] x86/svm: Reduce vmentry latency

2020-02-10 Thread Andrew Cooper
Writing to the stack pointer in the middle of a line of pop operations is specifically recommended against by the optimisation guide, and is a technique used by Speculative Load Hardening to combat SpectreRSB. In practice, it causes all further stack-relative accesses to block until the write to t