Re: [PATCH v7 7/7] powerpc: mm: Support page table check

2023-02-14 Thread Christophe Leroy
Le 15/02/2023 à 03:01, Rohan McLure a écrit : > On creation and clearing of a page table mapping, instrument such calls > by invoking page_table_check_pte_set and page_table_check_pte_clear > respectively. These calls serve as a sanity check against illegal > mappings. > > Enable

[PATCH v7 7/7] powerpc: mm: Support page table check

2023-02-14 Thread Rohan McLure
On creation and clearing of a page table mapping, instrument such calls by invoking page_table_check_pte_set and page_table_check_pte_clear respectively. These calls serve as a sanity check against illegal mappings. Enable ARCH_SUPPORTS_PAGE_TABLE_CHECK for all platforms. Use set_pte internally,