Re: [PATCH v1 2/8] powerpc/mem: Remove address argument to flush_coherent_icache()

2021-04-08 Thread Christophe Leroy
Le 08/04/2021 à 10:50, Aneesh Kumar K.V a écrit : Christophe Leroy writes: flush_coherent_icache() can use any valid address as mentionned by the comment. Use PAGE_OFFSET as base address. This allows removing the user access stuff. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/me

Re: [PATCH v1 2/8] powerpc/mem: Remove address argument to flush_coherent_icache()

2021-04-08 Thread Aneesh Kumar K.V
Christophe Leroy writes: > flush_coherent_icache() can use any valid address as mentionned > by the comment. > > Use PAGE_OFFSET as base address. This allows removing the > user access stuff. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/mm/mem.c | 13 + > 1 file changed,

[PATCH v1 2/8] powerpc/mem: Remove address argument to flush_coherent_icache()

2021-04-07 Thread Christophe Leroy
flush_coherent_icache() can use any valid address as mentionned by the comment. Use PAGE_OFFSET as base address. This allows removing the user access stuff. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/mem.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git