Re: [PATCH 5.10 000/300] 5.10.247-rc1 review

From: Florian Fainelli

Date: Wed Dec 03 2025 - 12:33:23 EST


On 12/3/25 07:23, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.10.247 release.
There are 300 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 Fri, 05 Dec 2025 15:23:16 +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.10.247-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.10.y
and the diffstat can be found below.

thanks,

greg k-h

MIPS fails to build with:

arch/mips/mm/tlb-r4k.c: In function 'r4k_tlb_uniquify':
arch/mips/mm/tlb-r4k.c:591:17: error: passing argument 1 of 'memblock_free' makes integer from pointer without a cast [-Werror=int-conversion]
memblock_free(tlb_vpns, tlb_vpn_size);
^~~~~~~~
In file included from arch/mips/mm/tlb-r4k.c:15:
./include/linux/memblock.h:107:31: note: expected 'phys_addr_t' {aka 'unsigned int'} but argument is of type 'long unsigned int *'
int memblock_free(phys_addr_t base, phys_addr_t size);
~~~~~~~~~~~~^~~~
cc1: all warnings being treated as errors
host-make[4]: *** [scripts/Makefile.build:286: arch/mips/mm/tlb-r4k.o] Error 1
host-make[4]: *** Waiting for unfinished jobs....

Caused by:

commit 97ddb0e2389b4a53d395ed47ea83540ff495d1b6
Author: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
Date: Fri Nov 28 16:53:46 2025 +0000

MIPS: mm: kmalloc tlb_vpn array to avoid stack overflow

It seems like we might have to cast to a phys_addr_t before passing that to memblock_free().
--
Florian