From: Andi Kleen <ak@suse.de>
To: Grant Grundler <grundler@parisc-linux.org>
Cc: Greg KH <greg@kroah.com>, Matthew Wilcox <matthew@wil.cx>,
linux-pci@atrey.karlin.mff.cuni.cz,
Linux Arch list <linux-arch@vger.kernel.org>
Subject: Re: RFC: rewrite Documentation/pci.txt v3
Date: Sun, 22 Oct 2006 23:44:39 +0200 [thread overview]
Message-ID: <200610222344.39355.ak@suse.de> (raw)
In-Reply-To: <20061022190351.GA10599@colo.lackof.org>
On Sunday 22 October 2006 21:03, Grant Grundler wrote:
>One contentious issue you didn't mention was ordering of
>when to call pci_request_region() and pci_enable_device().
I don't have a opinion on that.
> > And add a reference to kerneldoc somewhere too? There
> > is some PCI documentation in there (although it probably
> > could need some overall editing)
>
> I need more specific guidance on this.
The /** function arguments can be turned into Documentation.
When you do make pdfdocs you get a .pdf in Documentation/DocBook/kernel-api.pdf
Unfortunately it is right now broken and generates illegal pdfs
(and overall throws lots of errors). But maybe someone will fix it.
make mandocs seems to work though
There's also htmldocs and a couple of others.
Anyways, it's the most uptodate reference documentation because it's in the code.
>
> > > 3.2 Set the DMA mask size
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~
> > > While all drivers should explictly indicate the DMA capability
> >
> > I think it's ok to rely on the defaults if 0xffffffff is suitable
>
> I want the driver writer to think about this. I hope it
> gets them to verify the device DMA capabilities and if it's
> something other than 32-bit, get motivated to make use
> of those features.
>
> E.g. lots of SATA/IDE devices are 64-bit DMA capable but it
> looks like generic code is leaving them at 32-bit.
> Not good if the box is > 4GB (and many are now).
Not a good example imho, usually to get >4GB on those you need to use a
special interface, a standard SATA/IDE driver cannot do it.
It's a lot more than just thinking about it.
-Andi
next prev parent reply other threads:[~2006-10-22 21:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-21 7:14 RFC: rewrite Documentation/pci.txt v3 Grant Grundler
2006-10-21 12:55 ` Andi Kleen
2006-10-22 19:03 ` Grant Grundler
2006-10-22 21:44 ` Andi Kleen [this message]
2006-10-23 4:19 ` Grant Grundler
2006-10-23 19:20 ` Randy Dunlap
2006-10-24 7:33 ` Grant Grundler
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=200610222344.39355.ak@suse.de \
--to=ak@suse.de \
--cc=greg@kroah.com \
--cc=grundler@parisc-linux.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
--cc=matthew@wil.cx \
/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.