[PATCH 3/3] powerpc: mm: support page table check

2022-09-11 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 ppc64, and 32-bit platforms implemen

Re: [PATCH 3/3] powerpc: mm: support page table check

2022-09-11 Thread Christophe Leroy
Le 12/09/2022 à 03:47, 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 ARCH_SUPPORTS_P

Re: [PATCH 3/3] powerpc: mm: support page table check

2022-09-12 Thread Rohan McLure
> On 12 Sep 2022, at 4:11 pm, Christophe Leroy > wrote: > > > > Le 12/09/2022 à 03:47, 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

Re: [PATCH 3/3] powerpc: mm: support page table check

2022-09-13 Thread Christophe Leroy
Le 13/09/2022 à 03:21, Rohan McLure a écrit : > > >> On 12 Sep 2022, at 4:11 pm, Christophe Leroy >> wrote: >> >> >> >> Le 12/09/2022 à 03:47, 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_t