Re: [PATCH] powerpc: Add set_memory_{p/np}() and remove set_memory_attr()

2021-12-12 Thread Russell Currey
On Fri, 2021-12-10 at 08:09 +, Christophe Leroy wrote: > set_memory_attr() was implemented by commit 4d1755b6a762 > ("powerpc/mm: > implement set_memory_attr()") because the set_memory_xx() couldn't > be used at that time to modify memory "on the fly" as explained it > the commit. > > But

Re: [PATCH] powerpc: Add set_memory_{p/np}() and remove set_memory_attr()

2021-12-10 Thread Maxime Bizon
On Friday 10 Dec 2021 à 08:09:42 (+), Christophe Leroy wrote: Tested-by: Maxime Bizon -- Maxime

[PATCH] powerpc: Add set_memory_{p/np}() and remove set_memory_attr()

2021-12-10 Thread Christophe Leroy
set_memory_attr() was implemented by commit 4d1755b6a762 ("powerpc/mm: implement set_memory_attr()") because the set_memory_xx() couldn't be used at that time to modify memory "on the fly" as explained it the commit. But set_memory_attr() uses set_pte_at() which leads to warnings when