Re: [PATCH 5.15 00/67] 5.15.142-rc1 review

From: Greg Kroah-Hartman
Date: Sun Jan 07 2024 - 03:53:29 EST


On Sat, Jan 06, 2024 at 04:54:34PM -0800, Namhyung Kim wrote:
> Hello,
>
> On Tue, Dec 5, 2023 at 10:17 AM Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Tue, Dec 05, 2023 at 12:46:43PM +0530, Harshit Mogalapalli wrote:
> > > Hi Greg,
> > >
> > > On 05/12/23 8:46 am, Greg Kroah-Hartman wrote:
> > > > This is the start of the stable review cycle for the 5.15.142 release.
> > > > There are 67 patches in this series, all will be posted as a response
> > > > to this one. If anyone has any issues with these being applied, please
> > > > let me know.
> > > >
> > > > Responses should be made by Thu, 07 Dec 2023 03:14:57 +0000.
> > > > Anything received after that time might be too late.
> > > >
> > > > The whole patch series can be found in one patch at:
> > > > https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.142-rc1.gz
> > > > or in the git tree and branch at:
> > > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
> > > > and the diffstat can be found below.
> > > >
> > > > thanks,
> > > >
> > > > greg k-h
> > > > Adrian Hunter <adrian.hunter@xxxxxxxxx>
> > > > perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
> > > >
> > > >
> > >
> > > ^^ This commit is causing the perf/ build failure:
> > >
> > > In file included from util/jitdump.c:29:
> > > util/genelf.h:5:10: fatal error: linux/math.h: No such file or directory
> > > 5 | #include <linux/math.h>
> > > | ^~~~~~~~~~~~~~
> > > compilation terminated.
> > >
> > > This was previously reported on 5.15.136-rc:
> > >
> > > Vegard shared his analysis on ways to fix here:
> > >
> > > https://lore.kernel.org/stable/fb1ce733-d612-4fa3-a1e4-716545625822@xxxxxxxxxx/
> >
> > Now dropped from here and 4.19.y
>
> Sorry for the super late reply and happy new year!
>
> As Vegard noted we can change the header to <linux/kernel.h>
> to avoid the build issue. I don't expect more changes in this
> code so it's unlikely we have conflicts here. Let me know if
> it happens later.
>
> Anyway this code is needed to handle JIT-dump binaries
> generated by perf inject. I'll send a patch if it's ok to you.

Just send an updated patch please.