Re: [PATCH 2/2] MIPS: Simplify EVA cache handling

2021-02-13 Thread Thomas Bogendoerfer
On Wed, Feb 10, 2021 at 05:16:14PM +0100, Thomas Bogendoerfer wrote: > protected_cache_op is only used for flushing user addresses, so > we only need to define protected_cache_op different in EVA mode and > be done with it. > > Signed-off-by: Thomas Bogendoerfer > --- > arch/mips/include/asm/r4k

[PATCH 2/2] MIPS: Simplify EVA cache handling

2021-02-10 Thread Thomas Bogendoerfer
protected_cache_op is only used for flushing user addresses, so we only need to define protected_cache_op different in EVA mode and be done with it. Signed-off-by: Thomas Bogendoerfer --- arch/mips/include/asm/r4kcache.h | 67 ++-- 1 file changed, 11 insertions(+), 56