Re: [PATCH 3/6] powerpc: Convert flush_icache_range & friends to C

From: Christophe Leroy
Date: Fri Aug 16 2019 - 11:57:31 EST




Le 15/08/2019 Ã 09:29, christophe leroy a ÃcritÂ:


Le 15/08/2019 Ã 06:10, Alastair D'Silva a ÃcritÂ:
From: Alastair D'Silva <alastair@xxxxxxxxxxx>

Similar to commit 22e9c88d486a
("powerpc/64: reuse PPC32 static inline flush_dcache_range()")
this patch converts flush_icache_range() to C, and reimplements the
following functions as wrappers around it:
__flush_dcache_icache
__flush_dcache_icache_phys

Not sure you can do that for __flush_dcache_icache_phys(), see detailed comments below


I just sent you an RFC patch that could be the way to convert __flush_dcache_icache_phys() to C.

Feel free to modify it as wished and include it in your series.

Christophe