[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFULd4ZjqAL-_QvfH11vafk5cDOCF8yCALgEMvSgfYJuVG1pNw@mail.gmail.com>
Date: Thu, 2 Nov 2023 13:34:14 +0100
From: Uros Bizjak <ubizjak@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH 2/3] x86/callthunks: Handle %rip-relative relocations in
call thunk template
On Thu, Nov 2, 2023 at 12:56 PM Peter Zijlstra <peterz@...radead.org> wrote:
>
> On Thu, Nov 02, 2023 at 12:50:01PM +0100, Uros Bizjak wrote:
>
> > > Remove static, add decl, stuff like that?
> >
> > On second thought, you are right. Should I move the above function
> > somewhere (reloc.c?) , or can I just use it from alternative.c and add
> > decl (where?) ?
>
> Yeah, leave it there for now, perhaps asm/text-patching.h ?
The new version boots OK and looks like the attached patch.
Uros.
View attachment "reloc.diff.txt" of type "text/plain" (3581 bytes)
Powered by blists - more mailing lists