From: Arnd Bergmann <arnd@arndb.de>
To: linuxppc-dev@ozlabs.org, benh@kernel.crashing.org
Cc: paulus@samba.org, cbe-oss-dev@ozlabs.org,
Giora Biran <GBIRAN@il.ibm.com>
Subject: Re: [PATCH] powerpc/cell/axon-msi: retry on missing interrupt
Date: Tue, 18 Nov 2008 21:18:40 +0100 [thread overview]
Message-ID: <200811182118.41449.arnd@arndb.de> (raw)
In-Reply-To: <OFAA8011D7.7EC11C03-ONC2257505.00480C55-C2257505.00486E5E@il.ibm.com>
On Tuesday 18 November 2008, Giora Biran wrote:
>
> Arnd,
> >> However, reading that position does not flush the DMA, so that we can
> observe stale data in the buffer.
>
> The position register is in the DCR space from which a read does not flush
> the interrupt. But it seem that reading a register mapped to the PLB5 can
> flush the interrupts if the C3PO is set to producer/consumer mode.
>
Right, however I guess that implementing this in Linux would either
get a lot uglier than the current patch, or require an updated firmware.
The problem here is that the MSIC device node only provides a DCR
register range, and no MMIO register range, so there is no clean
way for the device driver to know about any register it can safely
read.
Arnd <><
next prev parent reply other threads:[~2008-11-18 20:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 16:10 [PATCH] powerpc/cell/axon-msi: retry on missing interrupt Arnd Bergmann
2008-11-18 13:11 ` Giora Biran
2008-11-18 20:18 ` Arnd Bergmann [this message]
2008-11-21 0:50 ` Michael Ellerman
2008-11-21 14:35 ` Arnd Bergmann
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=200811182118.41449.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=GBIRAN@il.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=cbe-oss-dev@ozlabs.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox