Re: [PATCH 6.7 000/162] 6.7.9-rc1 review

Luna Jernberg
2024-03-05T07:44:32Z

Den tis 5 mars 2024 kl 08:41 skrev Greg Kroah-Hartman
<gregkh@linuxfoundation.org>:
>
> On Mon, Mar 04, 2024 at 03:31:00PM -0800, Ron Economos wrote:
> > On 3/4/24 1:21 PM, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 6.7.9 release.
> > > There are 162 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 Wed, 06 Mar 2024 21:15:26 +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.7.9-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.7.y
> > > and the diffstat can be found below.
> > >
> > > thanks,
> > >
> > > greg k-h
> >
> > The build fails on RISC-V RV64 with:
> >
> > arch/riscv/kernel/suspend.c: In function ‘suspend_save_csrs’:
> > arch/riscv/kernel/suspend.c:14:66: error: ‘RISCV_ISA_EXT_XLINUXENVCFG’
> > undeclared (first use in this function); did you mean
> > ‘RISCV_ISA_EXT_ZIFENCEI’?
> > 14 | if (riscv_cpu_has_extension_unlikely(smp_processor_id(),
> > RISCV_ISA_EXT_XLINUXENVCFG))
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > | RISCV_ISA_EXT_ZIFENCEI
> > arch/riscv/kernel/suspend.c:14:66: note: each undeclared identifier is
> > reported only once for each function it appears in
> > arch/riscv/kernel/suspend.c: In function ‘suspend_restore_csrs’:
> > arch/riscv/kernel/suspend.c:37:66: error: ‘RISCV_ISA_EXT_XLINUXENVCFG’
> > undeclared (first use in this function); did you mean
> > ‘RISCV_ISA_EXT_ZIFENCEI’?
> > 37 | if (riscv_cpu_has_extension_unlikely(smp_processor_id(),
> > RISCV_ISA_EXT_XLINUXENVCFG))
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > | RISCV_ISA_EXT_ZIFENCEI
> > make[4]: *** [scripts/Makefile.build:243: arch/riscv/kernel/suspend.o] Error
> > 1
> > make[3]: *** [scripts/Makefile.build:480: arch/riscv/kernel] Error 2
> > make[2]: *** [scripts/Makefile.build:480: arch/riscv] Error 2
> >
> > The patch "riscv: Save/restore envcfg CSR during CPU suspend" (commit
> > 64e54f78d9f2dc30ac399a632922bb1fe036778a) requires patch "riscv: Add a
> > custom ISA extension for the [ms]envcfg CSR" (upstream commit
> > 4774848fef6041716a4883217eb75f6b10eb183b).
>
> Ah, that wasn't obvious, I've applied that pre-requsite patch now,
> needed to be done by-hand. I'll push out a -rc2 in a bit with this fix
> in it, thanks for testing!
>
> greg k-h
>

Alright thanks for the info will test RC2 later today then