[PATCH v3] powerpc, mm: Fix mprotect on book3s 32-bit
Madhavan Srinivasan
maddy at linux.ibm.com
Sun Nov 23 18:08:42 AEDT 2025
On Sun, 16 Nov 2025 01:40:46 -0500, Dave Vasilevsky wrote:
> On 32-bit book3s with hash-MMUs, tlb_flush() was a no-op. This was
> unnoticed because all uses until recently were for unmaps, and thus
> handled by __tlb_remove_tlb_entry().
>
> After commit 4a18419f71cd ("mm/mprotect: use mmu_gather") in kernel 5.19,
> tlb_gather_mmu() started being used for mprotect as well. This caused
> mprotect to simply not work on these machines:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc, mm: Fix mprotect on book3s 32-bit
https://git.kernel.org/powerpc/c/78fc63ffa7813e33681839bb33826c24195f0eb7
cheers
More information about the Linuxppc-dev
mailing list