Home
last modified time | relevance | path

Searched hist:"303 be4b3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/loongarch/include/asm/
H A Dpgtable.h303be4b3 Wed Sep 06 09:53:09 CDT 2023 Hongchen Zhang <zhanghongchen@loongson.cn> LoongArch: mm: Add p?d_leaf() definitions

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 501b81046701
("mips: mm: add p?d_leaf() definitions") add p?d_leaf() definition for
LoongArch.

Fixes: 09cfefb7fa70 ("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>