Re: [PATCH] x86/paravirt: Ensure calls to pv_op functions are RIP relative

From: Jordan Niethe
Date: Sun May 19 2024 - 22:08:31 EST


Borislav Petkov wrote:
> On Fri, May 17, 2024 at 12:42:24PM +1000, Jordan Niethe wrote:
>> This has been observed at lower levels of compiler optimisation but
>> there is nothing preventing it from occurring generally.
>
> How can I reproduce this?
>
> Thx.
>

Hi,

I run into this building a module that used paravirtual operations with -O1.

I'll try and get a minimal reproducing example.

Thanks,
Jordan.