Re: [PATCH 1/3] powerpc: mm: move pud_pfn stub to common pgtable header

2022-09-11 Thread Christophe Leroy
Le 12/09/2022 à 03:47, Rohan McLure a écrit : > The pud_pfn inline call is only referenced on 64-bit Book3S systems, > but its invocations are gated by pud_devmap() invocations, rendering the > body of this function as dead code. > > As such, this function is readily exportable to all platforms

Re: [PATCH 1/3] powerpc: mm: move pud_pfn stub to common pgtable header

2022-09-11 Thread Rohan McLure
This patch and its successor would be avoidable if architectures could specify that they wish to use page_table_check_p{ud,md}_{clear,set}. > On 12 Sep 2022, at 11:47 am, Rohan McLure wrote: > > The pud_pfn inline call is only referenced on 64-bit Book3S systems, > but its invocations are gated

[PATCH 1/3] powerpc: mm: move pud_pfn stub to common pgtable header

2022-09-11 Thread Rohan McLure
The pud_pfn inline call is only referenced on 64-bit Book3S systems, but its invocations are gated by pud_devmap() invocations, rendering the body of this function as dead code. As such, this function is readily exportable to all platforms in the instance where kernel features depend on it at leas