linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Make Armada 370/XP and Orion clocksource use atomic I/O API
@ 2014-02-19 20:05 Ezequiel Garcia
  2014-02-19 20:05 ` [PATCH 1/2] clocksource: orion: Use atomic access for shared registers Ezequiel Garcia
  2014-02-19 20:05 ` [PATCH 2/2] clocksource: armada-370-xp: " Ezequiel Garcia
  0 siblings, 2 replies; 7+ messages in thread
From: Ezequiel Garcia @ 2014-02-19 20:05 UTC (permalink / raw)
  To: linux-arm-kernel

The orion and armada-370-xp clocksource drivers are used in SoCs that can
use the orion-watchdog driver.

On these SoCs, the watchdog and timer blocks are part of the same set of
registers, and in particular the "control" register is used to enable/disable
both the watchdog and the timer.

Therefore, just as was done for orion-watchdog, we need to access the shared
register using the atomic I/O API.

This is v3.15 material, and meant to be merged through the clocksource tree,
if at all possible.

The first patch was already sent previously, but I'm resending it here to keep
the two patches together.

Thanks!

Ezequiel Garcia (2):
  clocksource: orion: Use atomic access for shared registers
  clocksource: armada-370-xp: Use atomic access for shared registers

 drivers/clocksource/time-armada-370-xp.c | 12 ++++--------
 drivers/clocksource/time-orion.c         | 28 ++++++++++------------------
 2 files changed, 14 insertions(+), 26 deletions(-)

-- 
1.8.1.5

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

end of thread, other threads:[~2014-02-20  8:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-19 20:05 [PATCH 0/2] Make Armada 370/XP and Orion clocksource use atomic I/O API Ezequiel Garcia
2014-02-19 20:05 ` [PATCH 1/2] clocksource: orion: Use atomic access for shared registers Ezequiel Garcia
2014-02-20  7:51   ` Daniel Lezcano
2014-02-19 20:05 ` [PATCH 2/2] clocksource: armada-370-xp: " Ezequiel Garcia
2014-02-20  7:59   ` Daniel Lezcano
2014-02-20  8:02     ` Daniel Lezcano
2014-02-20  8:39   ` Daniel Lezcano

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).