Re: [PATCH v3 01/13] x86/retpoline: Add initial retpoline support
From: Borislav Petkov
Date: Fri Jan 05 2018 - 17:06:47 EST
On Fri, Jan 05, 2018 at 10:00:19PM +0000, Woodhouse, David wrote:
> OK, this one looks saner, and I think I've tested all the 32/64 bit
Dunno, I think Brian's suggestion will make this even simpler:
ALTERNATIVE(NOP, K8: lfence)
ALTERNATIVE(jmp indirect, RETPOLINE: jmp thunk)
Hmm?
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--