> I also agree that a wmb() in the i2c driver is not the more elegant fix. > For similar reasons, we hid barriers in the write*() macros, drivers > need to stay architecture-agnostic as much as possible. Exactly my thinking. I wanted to read this patch discussion later this week. But from glimpsing at it so far, I already wondered why there isn't a memory barrier in the final accessor to the register.
Attachment:
signature.asc
Description: PGP signature