From: Matthew Wilcox <matthew@wil.cx>
To: Lee Revell <rlrevell@joe-job.com>
Cc: Matthew Wilcox <matthew@wil.cx>,
Arjan van de Ven <arjan@infradead.org>,
Jeff Garzik <jgarzik@pobox.com>,
mike.miller@hp.com, akpm@osdl.org, axboe@suse.de,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: DMA mapping (was Re: [PATCH] cciss 2.6; replaces DMA masks with kernel defines)
Date: Sat, 11 Jun 2005 14:54:11 +0100 [thread overview]
Message-ID: <20050611135411.GJ24611@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1118444891.6423.130.camel@mindpipe>
On Fri, Jun 10, 2005 at 07:08:11PM -0400, Lee Revell wrote:
> b44 needs 30 bit:
>
> #define B44_DMA_MASK 0x3fffffff
>
> These seem to be all over the place. I guess it saves a tiny bit of
> silicon. Don't these all violate the PCI spec?
No, it's permitted. What would violate the PCI spec would be failing
to decode the full 32/64 bit address and creating aliases (like 10-bit
ISA cards did). This is just a reestriction on which parts of memory
a card can DMA to.
> Should I just add everything from 24 to 63?
Actually, it'd be useful to have a central list of what DMA masks devices
really take. It might provide some arguments for changing the zone allocater.
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
next prev parent reply other threads:[~2005-06-11 13:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-10 14:34 [PATCH] cciss 2.6; replaces DMA masks with kernel defines mike.miller
2005-06-10 16:55 ` Jeff Garzik
2005-06-10 20:39 ` DMA mapping (was Re: [PATCH] cciss 2.6; replaces DMA masks with kernel defines) Lee Revell
2005-06-10 20:45 ` Arjan van de Ven
2005-06-10 20:49 ` Lee Revell
2005-06-11 18:32 ` jgarzik
2005-06-13 2:58 ` Jeff Garzik
2005-06-10 20:59 ` Lee Revell
2005-06-10 21:17 ` Lee Revell
2005-06-10 21:30 ` Matthew Wilcox
2005-06-10 23:08 ` Lee Revell
2005-06-11 13:54 ` Matthew Wilcox [this message]
2005-06-15 18:19 ` Lee Revell
2005-06-10 23:17 ` Lee Revell
2005-06-11 15:39 ` Pavel Machek
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=20050611135411.GJ24611@parcelfarce.linux.theplanet.co.uk \
--to=matthew@wil.cx \
--cc=akpm@osdl.org \
--cc=arjan@infradead.org \
--cc=axboe@suse.de \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mike.miller@hp.com \
--cc=rlrevell@joe-job.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
all inboxes | Powered by JetHome®