]> xenbits.xensource.com Git - xen.git/commit
x86/spec-ctrl: Extend repoline safey calcuations for eIBRS and Atom parts
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 15 Mar 2019 22:08:41 +0000 (22:08 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 18 Mar 2019 16:26:40 +0000 (16:26 +0000)
commit17f74242ccf0ce6e51c03a5860947865c0ef0dc2
treecdad48de3b273c474fcf7662982d9cb0d403bdf3
parentba27aaa88548c824a47dcf5609288ee1c05d2946
x86/spec-ctrl: Extend repoline safey calcuations for eIBRS and Atom parts

All currently-released Atom processors are in practice retpoline-safe, because
they don't fall back to a BTB prediction on RSB underflow.

However, an additional meaning of Enhanced IRBS is that the processor may not
be retpoline-safe.  The Gemini Lake platform, based on the Goldmont Plus
microarchitecture is the first Atom processor to support eIBRS.

Until Xen gets full eIBRS support, Gemini Lake will still be safe using
regular IBRS.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/spec_ctrl.c