All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: On __raw_readl readl_relaxed and readl nocheinmal
Date: Fri, 27 May 2011 19:10:32 +0200	[thread overview]
Message-ID: <201105271910.32946.arnd@arndb.de> (raw)
In-Reply-To: <20110527163827.GF14035@e102109-lin.cambridge.arm.com>

On Friday 27 May 2011 18:38:29 Catalin Marinas wrote:
> As I said above, that's not a simple case and you could still get a
> spurious interrupt. Based on feedback from the hw people, even if you
> lower the interrupt level at the device (by writing and reading back
> from the device), there is a delay in the signal propagation and
> enabling the interrupts at the CPU level (or interrupt controller level)
> could still trigger the interrupt. You can add extra delay to reduce the
> chances but that's SoC specific. Anyway, reading back from the device
> makes the likelihood much smaller.

Ah, right. I was thinking of message signaled interrupts, but they
are probably not so common on ARM. With MSI, the interrupt message
would also get flushed by the readl().

	Arnd

  reply	other threads:[~2011-05-27 17:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-20 10:04 On __raw_readl readl_relaxed and readl nocheinmal Linus Walleij
2011-05-20 10:42 ` Russell King - ARM Linux
2011-05-20 10:50 ` Arnd Bergmann
2011-05-20 10:55 ` Catalin Marinas
2011-05-27 12:07   ` Jamie Lokier
2011-05-27 14:37     ` Catalin Marinas
2011-05-27 14:14   ` Joakim BECH
2011-05-27 15:02     ` Catalin Marinas
2011-05-27 16:16       ` Arnd Bergmann
2011-05-27 16:38         ` Catalin Marinas
2011-05-27 17:10           ` Arnd Bergmann [this message]
2011-05-27 18:06       ` Russell King - ARM Linux
2011-05-29  9:24         ` Catalin Marinas
2011-05-27 18:04     ` Russell King - ARM Linux
2011-05-31  7:12   ` viresh kumar
2011-05-31  8:53     ` Catalin Marinas

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=201105271910.32946.arnd@arndb.de \
    --to=arnd@arndb.de \
    --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.