Re: x86: insn-eval.c's use of native_store_gdt()

2022-02-04 Thread Ricardo Neri
On Fri, Feb 04, 2022 at 03:13:52PM +0100, Jan Beulich wrote: > On 04.02.2022 15:08, Thomas Gleixner wrote: > > On Fri, Feb 04 2022 at 10:23, Jan Beulich wrote: > >> On 30.11.2021 12:09, Jan Beulich wrote: > >>> I think it is b968e84b509d ("x86/iopl: Fake iopl(3) CLI/STI usage") > >>> which uncovere

Re: x86: insn-eval.c's use of native_store_gdt()

2022-02-04 Thread Jan Beulich
On 04.02.2022 15:08, Thomas Gleixner wrote: > On Fri, Feb 04 2022 at 10:23, Jan Beulich wrote: >> On 30.11.2021 12:09, Jan Beulich wrote: >>> I think it is b968e84b509d ("x86/iopl: Fake iopl(3) CLI/STI usage") >>> which uncovered an issue with get_desc() trying to access the GDT, as >>> introduced

Re: x86: insn-eval.c's use of native_store_gdt()

2022-02-04 Thread Thomas Gleixner
On Fri, Feb 04 2022 at 10:23, Jan Beulich wrote: > On 30.11.2021 12:09, Jan Beulich wrote: >> I think it is b968e84b509d ("x86/iopl: Fake iopl(3) CLI/STI usage") >> which uncovered an issue with get_desc() trying to access the GDT, as >> introduced by 670f928ba09b ("x86/insn-eval: Add utility funct

Re: x86: insn-eval.c's use of native_store_gdt()

2022-02-04 Thread Jan Beulich
On 30.11.2021 12:09, Jan Beulich wrote: > I think it is b968e84b509d ("x86/iopl: Fake iopl(3) CLI/STI usage") > which uncovered an issue with get_desc() trying to access the GDT, as > introduced by 670f928ba09b ("x86/insn-eval: Add utility function to > get segment descriptor"). When running in a P

x86: insn-eval.c's use of native_store_gdt()

2021-11-30 Thread Jan Beulich
Hello, I think it is b968e84b509d ("x86/iopl: Fake iopl(3) CLI/STI usage") which uncovered an issue with get_desc() trying to access the GDT, as introduced by 670f928ba09b ("x86/insn-eval: Add utility function to get segment descriptor"). When running in a PV domain under Xen, the (hypervisor's) G