Re: [PATCH v9 4/7] powerpc: mm: Default p{m,u}d_pte implementations

2023-12-10 Thread Rohan McLure
On 11/30/23 18:35, Christophe Leroy wrote: > > Le 30/11/2023 à 03:53, Rohan McLure a écrit : >> For 32-bit systems which have no usecases for p{m,u}d_pte() prior to >> page table checking, implement default stubs. > Is that the best solution ? > > If I understand correctly, it is only needed for >

Re: [PATCH v9 4/7] powerpc: mm: Default p{m,u}d_pte implementations

2023-11-29 Thread Christophe Leroy
Le 30/11/2023 à 03:53, Rohan McLure a écrit : > For 32-bit systems which have no usecases for p{m,u}d_pte() prior to > page table checking, implement default stubs. Is that the best solution ? If I understand correctly, it is only needed for pmd_user_accessible_page(). Why not provide a stub

[PATCH v9 4/7] powerpc: mm: Default p{m,u}d_pte implementations

2023-11-29 Thread Rohan McLure
For 32-bit systems which have no usecases for p{m,u}d_pte() prior to page table checking, implement default stubs. Signed-off-by: Rohan McLure --- v9: New patch --- arch/powerpc/include/asm/book3s/64/pgtable.h | 3 +++ arch/powerpc/include/asm/nohash/64/pgtable.h | 2 ++ arch/powerpc/include/a