All of
 help / color / mirror / Atom feed
* [merged] powerpc-mm-highmem-use-__set_pte_at-for-kmap_local.patch removed from -mm tree
@ 2021-01-25 21:35 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-01-25 21:35 UTC (permalink / raw)
  To: andreas, davem, mm-commits, mpe, paul, peterz, tglx, tsbogend

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

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

From: Thomas Gleixner <>
Subject: powerpc/mm/highmem: use __set_pte_at() for kmap_local()

The original PowerPC highmem mapping function used __set_pte_at() to
denote that the mapping is per CPU.  This got lost with the conversion to
the generic implementation.

Override the default map function.

Fixes: 47da42b27a56 ("powerpc/mm/highmem: Switch to generic kmap atomic")
Signed-off-by: Thomas Gleixner <>
Cc: Michael Ellerman <>
Cc: Andreas Larsson <>
Cc: "David S. Miller" <>
Cc: Paul Cercueil <>
Cc: Peter Zijlstra <>
Cc: Thomas Bogendoerfer <>
Signed-off-by: Andrew Morton <>

 arch/powerpc/include/asm/highmem.h |    2 ++
 1 file changed, 2 insertions(+)

--- a/arch/powerpc/include/asm/highmem.h~powerpc-mm-highmem-use-__set_pte_at-for-kmap_local
+++ a/arch/powerpc/include/asm/highmem.h
@@ -58,6 +58,8 @@ extern pte_t *pkmap_page_table;
 #define flush_cache_kmaps()	flush_cache_all()
+#define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev)	\
+	__set_pte_at(mm, vaddr, ptep, ptev, 1)
 #define arch_kmap_local_post_map(vaddr, pteval)	\
 	local_flush_tlb_page(NULL, vaddr)
 #define arch_kmap_local_post_unmap(vaddr)	\

Patches currently in -mm which might be from are

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-25 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 21:35 [merged] powerpc-mm-highmem-use-__set_pte_at-for-kmap_local.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.