From: Mike Habeck <habeck@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH 2.6.12 0/0] Altix only: Fix for sn_dma_flush
Date: Fri, 25 Mar 2005 19:34:24 +0000 [thread overview]
Message-ID: <424467C0.5B60B7A0@sgi.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
Tony,
The following patch fixes a bug in the SGI Altix sn_dma_flush code.
sn_dma_flush is broken in 2.6. The code isn't waiting for the DMA
data to be flushed out of the PIC ASIC. This patch is based off the
linux-ia64-test-2.6.12 tree
Signed-off-by: Mike Habeck <habeck@sgi.com>
[-- Attachment #2: sn_dma_flush.patch --]
[-- Type: text/plain, Size: 556 bytes --]
Index: test-2.6.12/arch/ia64/sn/pci/pcibr/pcibr_dma.c
===================================================================
--- test-2.6.12.orig/arch/ia64/sn/pci/pcibr/pcibr_dma.c 2005-03-24 14:34:42.591117130 -0600
+++ test-2.6.12/arch/ia64/sn/pci/pcibr/pcibr_dma.c 2005-03-24 15:56:33.535718144 -0600
@@ -301,7 +301,7 @@
spin_lock_irqsave(&((struct sn_flush_device_list *)p)->
sfdl_flush_lock, flags);
- p->sfdl_flush_value = 0;
+ *p->sfdl_flush_addr = 0;
/* force an interrupt. */
*(volatile uint32_t *)(p->sfdl_force_int_addr) = 1;
reply other threads:[~2005-03-25 19:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=424467C0.5B60B7A0@sgi.com \
--to=habeck@sgi.com \
--cc=linux-ia64@vger.kernel.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.