Re: [PATCH v2 10/11] powerpc/mm: define subarch SLB_ADDR_LIMIT_DEFAULT

2019-04-25 Thread Aneesh Kumar K.V
Christophe Leroy writes: > This patch defines a subarch specific SLB_ADDR_LIMIT_DEFAULT > to remove the #ifdefs around the setup of mm->context.slb_addr_limit > > It also generalises the use of mm_ctx_set_slb_addr_limit() helper. > Reviewed-by: Aneesh Kumar K.V > Signed-off-by: Christophe Lero

[PATCH v2 10/11] powerpc/mm: define subarch SLB_ADDR_LIMIT_DEFAULT

2019-04-25 Thread Christophe Leroy
This patch defines a subarch specific SLB_ADDR_LIMIT_DEFAULT to remove the #ifdefs around the setup of mm->context.slb_addr_limit It also generalises the use of mm_ctx_set_slb_addr_limit() helper. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/64/slice.h | 2 ++ arch/powerp