Re: [PATCH 5.15 000/168] 5.15.176-rc1 review

Greg Kroah-Hartman
2025-01-09T11:10:22Z

On Mon, Jan 06, 2025 at 10:32:32PM -0800, Ron Economos wrote:
> On 1/6/25 07:15, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.15.176 release.
> > There are 168 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, 08 Jan 2025 15:11:04 +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.176-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
>
> On RISC-V, the build fails with:
>
> In file included from mm/kfence/core.c:33:
> ./arch/riscv/include/asm/kfence.h: In function 'kfence_protect_page':
> ./arch/riscv/include/asm/kfence.h:59:9: error: implicit declaration of
> function 'local_flush_tlb_kernel_range'; did you mean
> 'flush_tlb_kernel_range'? [-Werror=implicit-function-declaration]
>    59 |         local_flush_tlb_kernel_range(addr, addr + PAGE_SIZE);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |         flush_tlb_kernel_range
> In file included from mm/kfence/report.c:20:
> ./arch/riscv/include/asm/kfence.h: In function 'kfence_protect_page':
> ./arch/riscv/include/asm/kfence.h:59:9: error: implicit declaration of
> function 'local_flush_tlb_kernel_range'; did you mean
> 'flush_tlb_kernel_range'? [-Werror=implicit-function-declaration]
>    59 |         local_flush_tlb_kernel_range(addr, addr + PAGE_SIZE);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |         flush_tlb_kernel_range
>
> This is caused by commit d28e50e231ce20a9b9cad9edce139ac775421ce5 riscv: Fix
> IPIs usage in kfence_protect_page().
>
> The function local_flush_tlb_kernel_range() doesn't exist for RISC-V in
> 5.15.x and doesn't appear until much later in 6.8-rc1. So probably best to
> drop this patch.

Thanks, now dropped.

greg k-h