On Wed, Feb 22, 2023 at 01:24:25PM +0000, Jiaxun Yang wrote: > As nowadays DMA coherence is managed per device, it is possible > to have a system that is defaulted to coherent dma but still > have noncoherent device that needs to use those flush functions. > > Just install them unconditionally. > > Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> > --- > arch/mips/mm/c-r4k.c | 12 +++--------- > 1 file changed, 3 insertions(+), 9 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]