Re: [PATCH] static_call: Fix the module key fixup

2021-02-25 Thread Steven Rostedt
On Thu, 25 Feb 2021 23:03:51 +0100 Peter Zijlstra wrote: > Subject: static_call: Fix the module key fixup > > Provided the target address of a R_X86_64_PC32 relocation is aligned, > the low two bits should be invariant between the relative and absolute > value. > > Turns out the address is not

[PATCH] static_call: Fix the module key fixup

2021-02-25 Thread Peter Zijlstra
Subject: static_call: Fix the module key fixup Provided the target address of a R_X86_64_PC32 relocation is aligned, the low two bits should be invariant between the relative and absolute value. Turns out the address is not aligned and things go sideways, ensure we transfer the bits in the absolu