Re: [Xen-devel] [PATCH v6.5 09/26] x86: Support compiling with indirect branch thunks

2018-01-04 Thread Jan Beulich
>>> On 04.01.18 at 01:15, wrote: > Use -mindirect-branch=thunk-extern/-mindirect-branch-register when available. > To begin with, use the retpoline thunk. Later work will add alternative > thunks which can be selected at boot time. > > Signed-off-by: Andrew Cooper

[Xen-devel] [PATCH v6.5 09/26] x86: Support compiling with indirect branch thunks

2018-01-03 Thread Andrew Cooper
Use -mindirect-branch=thunk-extern/-mindirect-branch-register when available. To begin with, use the retpoline thunk. Later work will add alternative thunks which can be selected at boot time. Signed-off-by: Andrew Cooper --- v4: * New --- xen/arch/x86/Makefile