Re: [PATCHv3 06/11] asm-generic: mm_hooks: allow hooks to be overridden individually

2018-04-18 Thread Mark Rutland
On Tue, Apr 17, 2018 at 09:56:02PM +0200, Arnd Bergmann wrote: > On Tue, Apr 17, 2018 at 8:37 PM, Mark Rutland wrote: > > Currently, an architecture must either implement all of the mm hooks > > itself, or use all of those provided by the asm-generic implementation. > > When

Re: [PATCHv3 06/11] asm-generic: mm_hooks: allow hooks to be overridden individually

2018-04-18 Thread Mark Rutland
On Tue, Apr 17, 2018 at 09:56:02PM +0200, Arnd Bergmann wrote: > On Tue, Apr 17, 2018 at 8:37 PM, Mark Rutland wrote: > > Currently, an architecture must either implement all of the mm hooks > > itself, or use all of those provided by the asm-generic implementation. > > When an architecture only

Re: [PATCHv3 06/11] asm-generic: mm_hooks: allow hooks to be overridden individually

2018-04-17 Thread Arnd Bergmann
On Tue, Apr 17, 2018 at 8:37 PM, Mark Rutland wrote: > Currently, an architecture must either implement all of the mm hooks > itself, or use all of those provided by the asm-generic implementation. > When an architecture only needs to override a single hook, it must copy >

Re: [PATCHv3 06/11] asm-generic: mm_hooks: allow hooks to be overridden individually

2018-04-17 Thread Arnd Bergmann
On Tue, Apr 17, 2018 at 8:37 PM, Mark Rutland wrote: > Currently, an architecture must either implement all of the mm hooks > itself, or use all of those provided by the asm-generic implementation. > When an architecture only needs to override a single hook, it must copy > the stub

[PATCHv3 06/11] asm-generic: mm_hooks: allow hooks to be overridden individually

2018-04-17 Thread Mark Rutland
Currently, an architecture must either implement all of the mm hooks itself, or use all of those provided by the asm-generic implementation. When an architecture only needs to override a single hook, it must copy the stub implementations from the asm-generic version. To avoid this repetition,

[PATCHv3 06/11] asm-generic: mm_hooks: allow hooks to be overridden individually

2018-04-17 Thread Mark Rutland
Currently, an architecture must either implement all of the mm hooks itself, or use all of those provided by the asm-generic implementation. When an architecture only needs to override a single hook, it must copy the stub implementations from the asm-generic version. To avoid this repetition,