[patch 3/4] mips/mm/highmem: Use set_pte() for kmap_local()

Thomas Bogendoerfer tsbogend at alpha.franken.de
Wed Jan 13 21:59:24 AEDT 2021


On Tue, Jan 12, 2021 at 06:01:39PM +0100, Thomas Gleixner wrote:
> set_pte_at() on MIPS invokes update_cache() which might recurse into
> kmap_local(). Use set_pte() like the original MIPS highmem implementation
> did.
> 
> Fixes: a4c33e83bca1 ("mips/mm/highmem: Switch to generic kmap atomic")
> Reported-by: Paul Cercueil <paul at crapouillou.net>
> Reported-by: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
> Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
> ---
>  arch/mips/include/asm/highmem.h |    1 +
>  1 file changed, 1 insertion(+)

Acked-by: Thomas Bogendoerfer <tsbogend at alpha.franken.de>

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]


More information about the Linuxppc-dev mailing list