2022-02-22 04:25:50

by Maciej W. Rozycki

[permalink] [raw]
Subject: Re: [RFC PATCH 2/3] MIPS: io.h use barrier terminology from asm-generic

On Mon, 21 Feb 2022, Jiaxun Yang wrote:

> So we can share understanding of those barriers with other archs
> and hopefully one day we will be able to switch asm-generic.

You're mixing the ordering of DMA WRT MMIO here with the ordering of MMIO
WRT itself, and this single line of justification does not explain why it
is a change worth making. You're free to define additional DMA barriers
if we're missing some.

Maciej