Re: [PATCH 5.15 000/120] 5.15.82-rc1 review

Ron Economos
2022-12-06T09:26:04Z

On 12/5/22 11:09 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.82 release.
> There are 120 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, 07 Dec 2022 19:07:46 +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.82-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
>
Fails to build on RISC-V RV64 with the following:

arch/riscv/kernel/smp.c: In function ‘handle_IPI’:
arch/riscv/kernel/smp.c:195:44: error: ‘cpu’ undeclared (first use in
this function)
195 |                         ipi_cpu_crash_stop(cpu, get_irq_regs());
|                                            ^~~
arch/riscv/kernel/smp.c:195:44: note: each undeclared identifier is
reported only once for each function it appears in
arch/riscv/kernel/smp.c:217:22: error: ‘old_regs’ undeclared (first use
in this function)
217 |         set_irq_regs(old_regs);
|                      ^~~~~~~~

It's caused by the patch "riscv: kexec: Fixup crash_smp_send_stop
without multi cores".

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?h=linux-5.15.y&id=87cc180470e099ae8f53e5e76cb6f4c1460d6d83

That patch relies on a much older patch that was never backported to 5.15.

The patch "riscv: kexec: Fixup irq controller broken in kexec crash
path" should also be reverted since it's part of the same series.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?h=linux-5.15.y&id=3be3dce50bdf92817d16b3495d573186b967484c

Tested-by: Ron Economos <re@w6rz.net>