Re: [Xen-devel] [PATCH v9 02/11] x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests

2018-01-19 Thread Jan Beulich
>>> On 19.01.18 at 16:00, wrote: > I'm afraid that despite all of this, I don't see an valid argument > against the logic as implemented in the patch, and I don't see any > viable option to working around the edge case you are concerned about, > which is very definitely

Re: [Xen-devel] [PATCH v9 02/11] x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests

2018-01-19 Thread Andrew Cooper
On 19/01/18 13:33, Jan Beulich wrote: On 19.01.18 at 14:06, wrote: >> On 19/01/18 12:52, Jan Beulich wrote: >> On 19.01.18 at 13:36, wrote: On 19/01/18 12:11, Jan Beulich wrote: On 19.01.18 at 13:01,

Re: [Xen-devel] [PATCH v9 02/11] x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests

2018-01-19 Thread Jan Beulich
>>> On 19.01.18 at 14:06, wrote: > On 19/01/18 12:52, Jan Beulich wrote: > On 19.01.18 at 13:36, wrote: >>> On 19/01/18 12:11, Jan Beulich wrote: >>> On 19.01.18 at 13:01, wrote: > On 19/01/18 11:46,

Re: [Xen-devel] [PATCH v9 02/11] x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests

2018-01-19 Thread Jan Beulich
>>> On 19.01.18 at 13:36, wrote: > On 19/01/18 12:11, Jan Beulich wrote: > On 19.01.18 at 13:01, wrote: >>> On 19/01/18 11:46, Jan Beulich wrote: >>> On 19.01.18 at 11:53, wrote: > On 19/01/18 10:40,

Re: [Xen-devel] [PATCH v9 02/11] x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests

2018-01-19 Thread Andrew Cooper
On 19/01/18 12:11, Jan Beulich wrote: On 19.01.18 at 13:01, wrote: >> On 19/01/18 11:46, Jan Beulich wrote: >> On 19.01.18 at 11:53, wrote: On 19/01/18 10:40, Jan Beulich wrote: On 18.01.18 at 16:46,

Re: [Xen-devel] [PATCH v9 02/11] x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests

2018-01-19 Thread Jan Beulich
>>> On 19.01.18 at 11:53, wrote: > On 19/01/18 10:40, Jan Beulich wrote: > On 18.01.18 at 16:46, wrote: >>> For guest safety, we treat STIBP as special, always override the toolstack >>> choice, and always advertise STIBP if IBRS is

Re: [Xen-devel] [PATCH v9 02/11] x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests

2018-01-19 Thread Jan Beulich
>>> On 19.01.18 at 13:01, wrote: > On 19/01/18 11:46, Jan Beulich wrote: > On 19.01.18 at 11:53, wrote: >>> On 19/01/18 10:40, Jan Beulich wrote: >>> On 18.01.18 at 16:46, wrote: > For guest safety, we

Re: [Xen-devel] [PATCH v9 02/11] x86/cpuid: Handling of IBRS/IBPB, STIBP and IBRS for guests

2018-01-19 Thread Andrew Cooper
On 19/01/18 11:46, Jan Beulich wrote: On 19.01.18 at 11:53, wrote: >> On 19/01/18 10:40, Jan Beulich wrote: >> On 18.01.18 at 16:46, wrote: For guest safety, we treat STIBP as special, always override the toolstack choice,