From: David Brownell <david-b@pacbell.net>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: Tony Lindgren <tony@atomide.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH 0/4] 34xx spurious interrupts unravelling
Date: Fri, 31 Oct 2008 23:08:36 -0700 [thread overview]
Message-ID: <200810312308.36522.david-b@pacbell.net> (raw)
In-Reply-To: <13B9B4C6EF24D648824FF11BE89671620369885CC0@dlee02.ent.ti.com>
On Friday 31 October 2008, Woodruff, Richard wrote:
>
> > owner@vger.kernel.org] On Behalf Of David Brownell
> > Sent: Friday, October 31, 2008 4:59 PM
>
> > As in, issue those dma cache updates, then write to the
> > DMA or peripheral controller registers ... and the key data
> > was still in the write buffers when those writes completed!
> > That's quite unusual; possibly related to memory controller
> > bugs in that silicon revision.
>
> For the next series of ARMv7 Cortex's this is all being projected
> to require much more strictness in access ordering and use of barriers.
Any particular kind of barriers? barrier() is compiler advice,
and gets the most use in Linux ... but <asm/system.h> reminds
me that V7 has isb/dsb/dmb instructions, and V6 can do them too.
(Now I'll have to go look at what they do again...)
That case needed a dsb analogue (on armv5, flush write buffer).
> There have been some cautions about newer write buffer policies
> which try and keep data instead of flushing it. Today even if
> you miss some drain in a small amount of time it will happen.
> That may not be the case always.
Yeah, I remember back when I had to work with SPARC the issue
of memory ordering models was problematic. There's a tradeoff:
the more ordering guarantees the easier it is for software, at
cost of slowing down data transfers by excess serialization.
And at the other extreme, if you configured things for highly
unordered access, the hardware wouldn't have many roadblocks
but the software could get confused rather easily.
What this means for software developers -- especially folk
writing drivers and tweaking address spaces -- is needing to
pay a bunch more attention to some confusing issues that most
ARM folk have managed to avoid over the past many years.
- Dave
>
> Regards,
> Richard W.
>
>
next prev parent reply other threads:[~2008-11-01 6:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-31 19:21 [PATCH 0/4] 34xx spurious interrupts unravelling Tony Lindgren
2008-10-31 19:21 ` [PATCH 1/4] Revert "Add MT_MEMORY_SO, mark L3 and L4 to use it" Tony Lindgren
2008-10-31 19:21 ` [PATCH 2/4] ARM: OMAP3: Print debug info on spurious interrupts Tony Lindgren
2008-10-31 19:21 ` [PATCH 3/4] I2C: Ensure write posting for critical i2c-omap writes Tony Lindgren
2008-10-31 19:21 ` [PATCH 4/4] DSPBRIDGE: Ensure write posting when acking mailbox irq Tony Lindgren
2008-10-31 21:06 ` Tony Lindgren
2008-11-01 3:43 ` Woodruff, Richard
2008-11-02 22:10 ` Tony Lindgren
2008-11-03 18:54 ` Tony Lindgren
2008-10-31 21:03 ` [PATCH 3/4] I2C: Ensure write posting for critical i2c-omap writes Tony Lindgren
2008-10-31 20:55 ` [PATCH 2/4] ARM: OMAP3: Print debug info on spurious interrupts Tony Lindgren
2008-10-31 20:07 ` [PATCH 0/4] 34xx spurious interrupts unravelling David Brownell
2008-10-31 20:35 ` Tony Lindgren
2008-10-31 21:59 ` David Brownell
2008-11-01 4:01 ` Woodruff, Richard
2008-11-01 6:08 ` David Brownell [this message]
2008-11-01 12:57 ` Woodruff, Richard
2008-11-01 21:14 ` Felipe Contreras
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=200810312308.36522.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=linux-omap@vger.kernel.org \
--cc=r-woodruff2@ti.com \
--cc=tony@atomide.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox