Re: [PATCH 6.1 000/192] 6.1.110-rc1 review

From: Naresh Kamboju
Date: Tue Sep 10 2024 - 10:35:48 EST


On Tue, 10 Sept 2024 at 18:24, Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
>
> On Tue, 10 Sept 2024 at 15:36, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > This is the start of the stable review cycle for the 6.1.110 release.
> > There are 192 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, 12 Sep 2024 09:25:22 +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/v6.x/stable-review/patch-6.1.110-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-6.1.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
>
>
> The SuperH defconfig builds failed due to following build warnings / errors
> on the stable-rc linux-6.1.y.
>
> * SuperH, build
> - gcc-8-defconfig
> - gcc-11-shx3_defconfig
> - gcc-11-defconfig
> - gcc-8-shx3_defconfig
>
> Build log:
> --------
> In file included from include/linux/mm.h:29,
> from arch/sh/kernel/asm-offsets.c:14:
> include/linux/pgtable.h: In function 'pmdp_get_lockless':
> include/linux/pgtable.h:379:20: error: 'pmd_t' has no member named 'pmd_low'
> 379 | pmd.pmd_low = pmdp->pmd_low;
> | ^
> include/linux/pgtable.h:379:35: error: 'pmd_t' has no member named 'pmd_low'
> 379 | pmd.pmd_low = pmdp->pmd_low;
> | ^~
>

Anders bisected this down to,
# first bad commit:
[4f5373c50a1177e2a195f0ef6a6e5b7f64bf8b6c]
mm: Fix pmd_read_atomic()
[ Upstream commit 024d232ae4fcd7a7ce8ea239607d6c1246d7adc8 ]

AFAICT there's no reason to do anything different than what we do for
PTEs. Make it so (also affects SH)

--
Linaro LKFT
https://lkft.linaro.org