Skip to contentSkip to conversation

mips-mm-highmem-use-set_pte-for-kmap_local.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 25, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mips/mm/highmem: use set_pte() for kmap_local()
has been removed from the -mm tree. Its filename was
mips-mm-highmem-use-set_pte-for-kmap_local.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Thomas Gleixner <[email protected]>
Subject: mips/mm/highmem: use set_pte() for kmap_local()

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")
Cc Andreas Larsson <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Peter Zijlstra <[email protected]>

---

 arch/mips/include/asm/highmem.h |    1 +
 1 file changed, 1 insertion(+)
arch/mips/include/asm/highmem.h renamed from arch/mips/include/asm/highmem.h~mips-mm-highmem-use-set_pte-for-kmap_local +1 -0
@@ -51,6 +51,7 @@ extern void kmap_flush_tlb(unsigned long
 
 #define flush_cache_kmaps()	BUG_ON(cpu_has_dc_aliases)
 
+#define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev)	set_pte(ptep, ptev)
 #define arch_kmap_local_post_map(vaddr, pteval)	local_flush_tlb_one(vaddr)
 #define arch_kmap_local_post_unmap(vaddr)	local_flush_tlb_one(vaddr)
 

_

Patches currently in -mm which might be from [email protected] are