Re: [PATCH] powerpc: Force inlining of arch_vmap_p{u/m}d_supported()

2024-02-15 Thread Michael Ellerman
On Tue, 13 Feb 2024 14:58:37 +0100, Christophe Leroy wrote: > arch_vmap_pud_supported() and arch_vmap_pmd_supported() are > expected to constant-fold to false when RADIX is not enabled. > > Force inlining in order to avoid following failure which > leads to unexpected call of non-existing pud_set_

[PATCH] powerpc: Force inlining of arch_vmap_p{u/m}d_supported()

2024-02-13 Thread Christophe Leroy
arch_vmap_pud_supported() and arch_vmap_pmd_supported() are expected to constant-fold to false when RADIX is not enabled. Force inlining in order to avoid following failure which leads to unexpected call of non-existing pud_set_huge() and pmd_set_huge() on powerpc 8xx. In function 'pud_huge_tests