lkml.org 
[lkml]   [2008]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] pci: print out DMA mask info
From
On Thu, 09 Oct 2008 14:27:33 -0700
Yinghai Lu <yinghai@kernel.org> wrote:

> Grant Grundler wrote:
> > On Wed, Oct 08, 2008 at 04:02:23PM -0700, Yinghai Lu wrote:
> >> so can find out what is DMA mask is used for pci devices in addition to
> >> default setting.
> >
> > I like the idea. I don't like the additional boot time output.
> >
> > But I'm thinking this could be an option to lspci.
> > lspci already knows about the /sys tree. Can PCI export the two masks
> > (dma_mask and dma_consistent_mask) and something like "lspci -td"
> > would dump those in a nice way?
> >
> in boot log, it could link with driver, pci info...
> >
> >> got:
> >> aacraid 0000:86:00.0: using 32bit DMA mask
> >> aacraid 0000:86:00.0: using 32bit consistent DMA mask
> >> aacraid 0000:86:00.0: using 64bit DMA mask
> >> aacraid 0000:86:00.0: using 64bit consistent DMA mask
>
> and aacraid do 32bit at first then 64bit...
>
> so put that in boot message could be useful too.

IIRC, aacraid uses 32bit dma_mask at startup then it executes a
special command to get dma information from the card, and sets proper
dma_mask. So the above message is not wrong for aacraid, I think.


\
 
 \ /
  Last update: 2008-10-10 04:45    [from the cache]
©2003-2011 Jasper Spaans