> > > Are you suggesting something different? If so, it would be great if you could > > clarify what you mean. > > > So I was suggesting to keep __raw_writel() as is and replace mb() with wmb(). wmb() would certainly be cheaper than mb(), but I would like to understand the requirement for the barrier in the first place. The fence instruction is very expensive. Thanks, Caleb