Home
last modified time | relevance | path

Searched hist:"54 e6cd42" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/loongarch/include/asm/
H A Dpgtable.h54e6cd42 Mon Nov 21 05:02:57 CST 2022 Huacai Chen <chenhuacai@loongson.cn> LoongArch: Set _PAGE_DIRTY only if _PAGE_MODIFIED is set in {pmd,pte}_mkwrite()

Set _PAGE_DIRTY only if _PAGE_MODIFIED is set in {pmd,pte}_mkwrite().
Otherwise, _PAGE_DIRTY silences the TLB modify exception and make us
have no chance to mark a pmd/pte dirty (_PAGE_MODIFIED) for software.

Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>