linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* use {readl|writel}_relaxed instead of readl/writel in i2c-designware-core ?
@ 2014-02-14  7:54 Jisheng Zhang
  2014-02-14  9:09 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Jisheng Zhang @ 2014-02-14  7:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

The writel/readl is too expensive especially on Cortex A9 w/ outer L2 cache. This
introduce i2c read/write error on Marvell Berlin SoCs when there are L2 cache
maintenance operations at the same time.

In our internal berlin bsp, we just replaced readl/writel with the relaxed
version. But AFAIK, the "relaxed" version doesn't exist on all architectures. How
to handle this issue? 

Any suggestions are appreciated.

Thanks in advance,
Jisheng

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-14 11:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14  7:54 use {readl|writel}_relaxed instead of readl/writel in i2c-designware-core ? Jisheng Zhang
2014-02-14  9:09 ` Arnd Bergmann
2014-02-14 11:14   ` Jisheng Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).