Skip to contentSkip to conversation

Broken DMA vs MMIO ordering on MIPS

DISCUSSION Sinan Kaya 1 participant 1 message Mar 30, 2018 1 message not in the archive MIPS

lore
Share & tools
lore

Sinan Kaya

author
#1 lore raw
In reply to a message not in the archive

Hi MIPS Maintainers,

memory-barriers.txt has been updated not to require a wmb() before writel() since Linus asked all infrastructures to follow Intel paradigm where writes are ordered and they do not require a barrier between a memory update and HW observation.

https://www.mail-archive.com/[email protected]/msg225806.html

https://lkml.org/lkml/2018/3/27/431

We have been auditing all architectures to see if they follow this requirement or not.

Arnd raised the following concern that MIPS would be non-compliant.

Can somebody familiar with MIPS evaluate this?

Sinan

Signature · 3 lines
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.