Re: [PATCH v6 1/5] powerpc/mm: Implement set_memory() routines

2020-02-02 Thread Christophe Leroy
Le 03/02/2020 à 01:46, Russell Currey a écrit : On Wed, 2020-01-08 at 13:52 +0100, Christophe Leroy wrote: Le 24/12/2019 à 06:55, Russell Currey a écrit : diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile index 5e147986400d..d0a0bcbc9289 100644 --- a/arch/powerpc/mm/Makefile

Re: [PATCH v6 1/5] powerpc/mm: Implement set_memory() routines

2020-02-02 Thread Russell Currey
On Wed, 2020-01-08 at 13:52 +0100, Christophe Leroy wrote: > > Le 24/12/2019 à 06:55, Russell Currey a écrit : > > The set_memory_{ro/rw/nx/x}() functions are required for > > STRICT_MODULE_RWX, > > and are generally useful primitives to have. This implementation > > is > > designed to be

Re: [PATCH v6 1/5] powerpc/mm: Implement set_memory() routines

2020-01-20 Thread Christophe Leroy
Le 24/12/2019 à 06:55, Russell Currey a écrit : The set_memory_{ro/rw/nx/x}() functions are required for STRICT_MODULE_RWX, and are generally useful primitives to have. This implementation is designed to be completely generic across powerpc's many MMUs. It's possible that this could be

Re: [PATCH v6 1/5] powerpc/mm: Implement set_memory() routines

2020-01-08 Thread Christophe Leroy
Le 24/12/2019 à 06:55, Russell Currey a écrit : The set_memory_{ro/rw/nx/x}() functions are required for STRICT_MODULE_RWX, and are generally useful primitives to have. This implementation is designed to be completely generic across powerpc's many MMUs. It's possible that this could be

[PATCH v6 1/5] powerpc/mm: Implement set_memory() routines

2019-12-23 Thread Russell Currey
The set_memory_{ro/rw/nx/x}() functions are required for STRICT_MODULE_RWX, and are generally useful primitives to have. This implementation is designed to be completely generic across powerpc's many MMUs. It's possible that this could be optimised to be faster for specific MMUs, but the focus