[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DM8PR11MB575193E774FA8A49C88BED86B8E8A@DM8PR11MB5751.namprd11.prod.outlook.com>
Date: Tue, 5 Sep 2023 09:49:26 +0000
From: "Wang, Xiao W" <xiao.w.wang@...el.com>
To: Jisheng Zhang <jszhang@...nel.org>
CC: "paul.walmsley@...ive.com" <paul.walmsley@...ive.com>,
"palmer@...belt.com" <palmer@...belt.com>,
"aou@...s.berkeley.edu" <aou@...s.berkeley.edu>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] riscv: alternative: remove alternative boundary symbols
in vdso
> -----Original Message-----
> From: Jisheng Zhang <jszhang@...nel.org>
> Sent: Monday, September 4, 2023 10:35 PM
> To: Wang, Xiao W <xiao.w.wang@...el.com>
> Cc: paul.walmsley@...ive.com; palmer@...belt.com;
> aou@...s.berkeley.edu; linux-riscv@...ts.infradead.org; linux-
> kernel@...r.kernel.org
> Subject: Re: [PATCH] riscv: alternative: remove alternative boundary symbols
> in vdso
>
> On Sat, Sep 02, 2023 at 10:25:10AM +0800, Xiao Wang wrote:
> > Instruction patching for vdso is based on elf header parsing to get the
> > beginning and ending of .alternative section, the __alt_start and __alt_end
> > symbols defined in vdso linker script are not used, so this patch removes
> > them.
>
> The same patch has been in mailist since July:
>
> https://lore.kernel.org/linux-riscv/20230726173024.3684-2-
> jszhang@...nel.org/
>
> Thanks
OK, then please go ahead with that patch review and ignore this one.
BRs,
Xiao
> >
> > Signed-off-by: Xiao Wang <xiao.w.wang@...el.com>
> > ---
> > arch/riscv/kernel/vdso/vdso.lds.S | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/arch/riscv/kernel/vdso/vdso.lds.S
> b/arch/riscv/kernel/vdso/vdso.lds.S
> > index 82ce64900f3d..d43fd7c7dd11 100644
> > --- a/arch/riscv/kernel/vdso/vdso.lds.S
> > +++ b/arch/riscv/kernel/vdso/vdso.lds.S
> > @@ -42,9 +42,7 @@ SECTIONS
> >
> > . = ALIGN(4);
> > .alternative : {
> > - __alt_start = .;
> > *(.alternative)
> > - __alt_end = .;
> > }
> >
> > .data : {
> > --
> > 2.25.1
> >
Powered by blists - more mailing lists