All of lore.kernel.org
 help / color / mirror / Atom feed
From: ezequiel.garcia@free-electrons.com (Ezequiel Garcia)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 01/20] ARM: Introduce atomic MMIO modify
Date: Tue, 28 Jan 2014 07:31:24 -0300	[thread overview]
Message-ID: <20140128103122.GB13052@localhost> (raw)
In-Reply-To: <1390836440-12744-2-git-send-email-ezequiel.garcia@free-electrons.com>

On Mon, Jan 27, 2014 at 12:27:01PM -0300, Ezequiel Garcia wrote:
> Some SoC have MMIO regions that are shared across orthogonal
> subsystems. This commit implements a possible solution for the
> thread-safe access of such regions through a spinlock-protected API.
> 
> Concurrent access is protected with a single spinlock for the
> entire MMIO address space. While this protects shared-registers,
> it also serializes access to unrelated/unshared registers.
> 
> We add relaxed and non-relaxed variants, by using writel_relaxed and writel,
> respectively. The rationale for this is that some users may not require
> register write completion but only thread-safe access to a register.
> 
> Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
> Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
> Russell,
> 
> Can you confirm this patch is on its way to v3.14?
> 

ping?

-- 
Ezequiel Garc?a, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com

  reply	other threads:[~2014-01-28 10:31 UTC|newest]

Thread overview: 109+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-27 15:27 [PATCH v5 00/20] Armada 370/XP watchdog support Ezequiel Garcia
2014-01-27 15:27 ` Ezequiel Garcia
2014-01-27 15:27 ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 01/20] ARM: Introduce atomic MMIO modify Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-28 10:31   ` Ezequiel Garcia [this message]
2014-01-27 15:27 ` [PATCH v5 02/20] clocksource: orion: Use atomic access for shared registers Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-02-05 19:10   ` Jason Cooper
2014-02-05 19:10     ` Jason Cooper
2014-02-05 19:10     ` Jason Cooper
2014-02-05 23:19     ` Ezequiel Garcia
2014-02-05 23:19       ` Ezequiel Garcia
2014-02-05 23:19       ` Ezequiel Garcia
2014-02-06 23:47       ` Daniel Lezcano
2014-02-06 23:47         ` Daniel Lezcano
2014-02-06 23:47         ` Daniel Lezcano
2014-01-27 15:27 ` [PATCH v5 03/20] watchdog: orion: Add clock error handling Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 04/20] watchdog: orion: Use atomic access for shared registers Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 05/20] watchdog: orion: Remove unused macros Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 06/20] watchdog: orion: Make sure the watchdog is initially stopped Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 07/20] watchdog: orion: Handle the interrupt so it's properly acked Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 08/20] watchdog: orion: Make RSTOUT register a separate resource Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 09/20] watchdog: orion: Remove unneeded BRIDGE_CAUSE clear Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 10/20] watchdog: orion: Introduce an orion_watchdog device structure Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 11/20] watchdog: orion: Introduce per-compatible of_device_id data Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 12/20] watchdog: orion: Add per-compatible clock initialization Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 13/20] watchdog: orion: Add per-compatible watchdog start implementation Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 14/20] watchdog: orion: Add support for Armada 370 and Armada XP SoC Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 17:36   ` Russell King - ARM Linux
2014-01-27 17:36     ` Russell King - ARM Linux
2014-01-27 17:36     ` Russell King - ARM Linux
2014-01-28 10:27     ` Ezequiel Garcia
2014-01-28 10:27       ` Ezequiel Garcia
2014-01-28 10:27       ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 15/20] ARM: mvebu: Enable Armada 370/XP watchdog in the devicetree Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 16/20] ARM: kirkwood: Add RSTOUT 'reg' entry to devicetree Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-29 20:15   ` Andrew Lunn
2014-01-29 20:15     ` Andrew Lunn
2014-01-29 20:15     ` Andrew Lunn
2014-01-27 15:27 ` [PATCH v5 17/20] ARM: dove: Enable Dove watchdog in the devicetree Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 18/20] watchdog: orion: Enable the build on ARCH_MVEBU Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 19/20] ARM: mvebu: Enable watchdog support in defconfig Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27 ` [PATCH v5 20/20] ARM: dove: Enable watchdog support in the defconfig Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:27   ` Ezequiel Garcia
2014-01-27 15:50 ` [PATCH v5 00/20] Armada 370/XP watchdog support Jason Cooper
2014-01-27 15:50   ` Jason Cooper
2014-01-27 15:50   ` Jason Cooper
2014-01-29 18:19 ` Ezequiel Garcia
2014-01-29 18:19   ` Ezequiel Garcia
2014-01-29 18:19   ` Ezequiel Garcia
2014-01-30 20:53   ` Jason Cooper
2014-01-30 20:53     ` Jason Cooper
2014-01-30 20:53     ` Jason Cooper
2014-01-30 21:50     ` Ezequiel Garcia
2014-01-30 21:50       ` Ezequiel Garcia
2014-01-30 21:50       ` Ezequiel Garcia
2014-01-30 22:00       ` Sebastian Hesselbarth
2014-01-30 22:00         ` Sebastian Hesselbarth
2014-01-30 22:00         ` Sebastian Hesselbarth
2014-01-30 22:16         ` Jason Cooper
2014-01-30 22:16           ` Jason Cooper
2014-01-30 22:16           ` Jason Cooper
2014-01-30 22:37         ` Ezequiel Garcia
2014-01-30 22:37           ` Ezequiel Garcia
2014-01-30 22:37           ` Ezequiel Garcia
2014-01-31 17:25   ` Willy Tarreau
2014-01-31 17:25     ` Willy Tarreau
2014-01-31 17:25     ` Willy Tarreau
2014-02-05 19:06 ` Jason Cooper
2014-02-05 19:06   ` Jason Cooper
2014-02-05 19:06   ` Jason Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140128103122.GB13052@localhost \
    --to=ezequiel.garcia@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.