Thread (1 message) 1 message, 1 author, 2011-07-07
DORMANTno replies

[PATCH] arm: fix regression in ixp4xx clocksource

From: khc@pm.waw.pl (Krzysztof Halasa)
Date: 2011-07-07 06:59:59

Thomas Gleixner [off-list ref] writes:
Thinking more about it we should add BE accessor functions to the mmio
clocksource as this might be useful for other architectures as well.
Why not simply use a value-preserving accessors like readl/writel?
Aren't they value-preserving on all ARM CPUs?

IMHO the CPU/platform code should supply certain accessors (value- and
order-preserving), and the generic code should simply use the correct
one.

Perhaps we should have (for ARM only) another set of register_readl()
etc.? (PCI and register endianness may differ, a separate set would mean
no runtime overhead in such case).
-- 
Krzysztof Halasa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help