Re: [PATCH v4 2/2] MIPS: io: add a barrier after register read in readX()

From: James Hogan
Date: Fri Apr 13 2018 - 19:52:32 EST


On Thu, Apr 12, 2018 at 10:33:42PM -0400, Sinan Kaya wrote:
> On 4/12/2018 10:30 PM, Sinan Kaya wrote:
> > + /* prevent prefetching of coherent DMA dma prematurely */ \
>
> I tried to write DMA data but my keyboard is not cooperating. I'll hold onto
> posting another version until I hear back from you for wmb().

No problem, I've applied both for 4.17 and tweaked the comment.

Thanks
James

Attachment: signature.asc
Description: Digital signature