From: Russell King <rmk@arm.linux.org.uk>
To: johannes@erdfelt.com (Johannes Erdfelt)
Cc: manfred@colorfullife.com (Manfred Spraul), linux-kernel@vger.kernel.org
Subject: Re: Inefficient PCI DMA usage (was: [experimental patch] UHCI updates)
Date: Sun, 21 Jan 2001 23:11:56 +0000 (GMT) [thread overview]
Message-ID: <200101212311.f0LNBvm01377@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20010121123730.N9156@sventech.com> from "Johannes Erdfelt" at Jan 21, 2001 12:37:31 PM
Hi,
You may have already found out that there's a problem using
pci_alloc_consistent and friends in the USB layer which will
only be obvious on CPUs where they need to do page table remapping
- that is that pci_alloc_consistent/pci_free_consistent aren't
guaranteed to be interrupt-safe.
I'm not sure what the correct way around this is yet, but I do
know its a major problem. ;(
Maybe we need to do a get_free_pages-type thing with this and
keep a set amount of consistent area in reserve for atomic
allocations (as per GFP_ATOMIC)? Yes, I know its not nice, but
I don't see any other option at the moment with USB.
(yes, I'm hacking the 2.2.18 ohci driver for my own ends to get
something up and running on one of my machines).
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-22 6:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-20 18:00 Inefficient PCI DMA usage (was: [experimental patch] UHCI updates) Manfred Spraul
2001-01-20 18:08 ` Johannes Erdfelt
2001-01-20 23:15 ` Russell King
2001-01-21 8:36 ` Manfred Spraul
2001-01-21 10:51 ` Russell King
2001-01-21 11:49 ` Manfred Spraul
2001-01-21 17:37 ` Johannes Erdfelt
2001-01-21 23:11 ` Russell King [this message]
[not found] <3A691043.F18CA6CA@megapathdsl.net>
2001-01-20 5:38 ` Johannes Erdfelt
2001-01-20 8:28 ` Russell King
2001-01-20 17:34 ` Johannes Erdfelt
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=200101212311.f0LNBvm01377@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=johannes@erdfelt.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.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