Re: [PATCH v2] LoongArch: add p?d_leaf() definitions

From: David Hildenbrand
Date: Wed Sep 06 2023 - 05:06:45 EST


On 06.09.23 11:05, Hongchen Zhang wrote:
On 2023/9/6 下午4:45, David Hildenbrand wrote:
On 06.09.23 10:43, Hongchen Zhang wrote:
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.

v2: add Fixes: in commit message.

This belongs under the "---". I assume whoever picks that up can fix it up.

OK, let me change it under the "---".

Fixes: 09cfefb7fa70 ("LoongArch: Add memory management")
Signed-off-by: Hongchen Zhang <zhanghongchen@xxxxxxxxxxx>
---

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

We should CC stable. I assume whoever picks that up can fix it up.
OK,let me add Cc: stable@ the commit message.

Probably no need to resend.

--
Cheers,

David / dhildenb