linux-stable/arch
Hugh Dickins 56e0d1cb16 xtensa: add pte_unmap() to balance pte_offset_map()
To keep balance in future, remember to pte_unmap() after a successful
pte_offset_map().  And act as if get_pte_for_vaddr() really needs a map
there, to read the pteval before "unmapping", to be sure page table is
not removed.

Link: https://lkml.kernel.org/r/ab2581eb-daa6-894e-4aa6-97c81de3b8c@google.com
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Claudio Imbrenda <imbrenda@linux.ibm.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Greg Ungerer <gerg@linux-m68k.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Helge Deller <deller@gmx.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: John David Anglin <dave.anglin@bell.net>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Qi Zheng <zhengqi.arch@bytedance.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-06-19 16:19:10 -07:00
..
alpha cachestat: wire up cachestat for other architectures 2023-06-09 16:25:16 -07:00
arc Locking changes in v6.4: 2023-05-05 12:56:55 -07:00
arm arm: allow pte_offset_map[_lock]() to fail 2023-06-19 16:19:05 -07:00
arm64 arm64/hugetlb: pte_alloc_huge() pte_offset_huge() 2023-06-19 16:19:06 -07:00
csky arch/csky patches for 6.4 2023-05-04 12:25:05 -07:00
hexagon Locking changes in v6.4: 2023-05-05 12:56:55 -07:00
ia64 ia64/hugetlb: pte_alloc_huge() pte_offset_huge() 2023-06-19 16:19:06 -07:00
loongarch Locking changes in v6.4: 2023-05-05 12:56:55 -07:00
m68k m68k: allow pte_offset_map[_lock]() to fail 2023-06-19 16:19:06 -07:00
microblaze microblaze: allow pte_offset_map() to fail 2023-06-19 16:19:06 -07:00
mips mips: add pte_unmap() to balance pte_offset_map() 2023-06-19 16:19:07 -07:00
nios2 - Nick Piggin's "shoot lazy tlbs" series, to improve the peformance of 2023-04-27 19:42:02 -07:00
openrisc Locking changes in v6.4: 2023-05-05 12:56:55 -07:00
parisc parisc/hugetlb: pte_alloc_huge() pte_offset_huge() 2023-06-19 16:19:07 -07:00
powerpc powerpc/hugetlb: pte_alloc_huge() 2023-06-19 16:19:08 -07:00
riscv riscv/hugetlb: pte_alloc_huge() pte_offset_huge() 2023-06-19 16:19:08 -07:00
s390 s390: gmap use pte_unmap_unlock() not spin_unlock() 2023-06-19 16:19:09 -07:00
sh sh/hugetlb: pte_alloc_huge() pte_offset_huge() 2023-06-19 16:19:09 -07:00
sparc sparc: iounit and iommu use pte_offset_kernel() 2023-06-19 16:19:10 -07:00
um um: harddog: fix modular build 2023-05-10 00:21:30 +02:00
x86 x86: sme_populate_pgd() use pte_offset_kernel() 2023-06-19 16:19:10 -07:00
xtensa xtensa: add pte_unmap() to balance pte_offset_map() 2023-06-19 16:19:10 -07:00
.gitignore
Kconfig