
13 Aug
2014
13 Aug
'14
10:32 p.m.
On Wed, 2014-08-13 at 13:20 +0200, Stefan Agner wrote:
IMHO we should use the raw_writel only and "hand optimize" for functions which are used often. For the initialization/configuration functions, there is little value to save some register access.
raw_writel() is itself something that should only be used for hand-optimized sections. For non-performance-critical code you should use normal writel() so that you don't need to worry about manually adding I/O barriers.
-Scott