Re: [PATCH] efi/x86: use naked RET on mixed mode call wrapper

From: Peter Zijlstra
Date: Mon Jul 18 2022 - 12:11:05 EST


On Mon, Jul 18, 2022 at 10:59:18AM -0300, Thadeu Lima de Souza Cascardo wrote:

> And I think you nailed what I had in mind for using IBPB when doing firmware
> calls, and perhaps this is wanted even when we ignore this naked RET here.
>
> There is a typo on your patch below, but I will give it a try and see if it
> doesn't blow up on AMD systems without IBPB (by way of emulation).

Yeah, Boris pointed out the same. Typing is hard ;-)