linux-stable/arch
Hongchen Zhang 77aaf22a92 LoongArch: mm: Add p?d_leaf() definitions
commit 303be4b335 upstream.

When I do LTP test, LTP test case ksm06 caused panic at
	break_ksm_pmd_entry
	  -> pmd_leaf (Huge page table but False)
	  -> pte_present (panic)

The reason is pmd_leaf() is not defined, So like commit 501b810467
("mips: mm: add p?d_leaf() definitions") add p?d_leaf() definition for
LoongArch.

Fixes: 09cfefb7fa ("LoongArch: Add memory management")
Cc: stable@vger.kernel.org
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Hongchen Zhang <zhanghongchen@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-13 09:53:52 +02:00
..
alpha Kbuild fixes for v6.5 (2nd) 2023-08-13 08:56:24 -07:00
arc asm-generic updates for 6.5 2023-07-06 10:06:04 -07:00
arm ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch() 2023-09-13 09:53:50 +02:00
arm64 arm64: defconfig: Drop CONFIG_VIDEO_IMX_MEDIA 2023-09-13 09:53:40 +02:00
csky arch/csky patches for 6.5 2023-07-01 21:12:32 -07:00
hexagon
ia64 locking: remove spin_lock_prefetch 2023-08-12 09:18:47 -07:00
loongarch LoongArch: mm: Add p?d_leaf() definitions 2023-09-13 09:53:52 +02:00
m68k m68k: Fix invalid .section syntax 2023-07-24 14:50:02 +02:00
microblaze
mips nmi_backtrace: allow excluding an arbitrary CPU 2023-09-13 09:53:08 +02:00
nios2
openrisc OpenRISC fix for 6.5 2023-07-12 16:28:53 -07:00
parisc parisc: ccio-dma: Create private runway procfs root entry 2023-09-13 09:53:49 +02:00
powerpc powerpc/iommu: Fix notifiers being shared by PCI and VIO buses 2023-09-13 09:53:33 +02:00
riscv riscv: Mark KASAN tmp* page tables variables as static 2023-09-13 09:53:51 +02:00
s390 s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs 2023-09-13 09:53:00 +02:00
sh arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
sparc nmi_backtrace: allow excluding an arbitrary CPU 2023-09-13 09:53:08 +02:00
um um: virt-pci: fix missing declaration warning 2023-09-13 09:53:48 +02:00
x86 x86/speculation: Mark all Skylake CPUs as vulnerable to GDS 2023-09-13 09:53:45 +02:00
xtensa xtensa: PMU: fix base address for the newer hardware 2023-09-13 09:53:51 +02:00
.gitignore
Kconfig