Re: [PATCH v6 6/7] powerpc/mm: implement set_memory_attr()

2020-03-10 Thread Daniel Axtens
Russell Currey writes: > From: Christophe Leroy > > In addition to the set_memory_xx() functions which allows to change > the memory attributes of not (yet) used memory regions, implement a > set_memory_attr() function to: > - set the final memory protection after init on currently used > kernel

[PATCH v6 6/7] powerpc/mm: implement set_memory_attr()

2020-03-09 Thread Russell Currey
From: Christophe Leroy In addition to the set_memory_xx() functions which allows to change the memory attributes of not (yet) used memory regions, implement a set_memory_attr() function to: - set the final memory protection after init on currently used kernel regions. - enable/disable kernel memo