lkml.org 
[lkml]   [2008]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] pci: show dma_mask bits in /sys
From
Date
Grant Grundler <grundler@parisc-linux.org> writes:

> On Wed, Oct 22, 2008 at 09:28:33PM -0600, Matthew Wilcox wrote:
>> On Wed, Oct 22, 2008 at 06:45:10PM -0700, Yinghai Lu wrote:
>> > Grant prefer to add it /sys instead of showing in bootlog
>> >
>> > so could catch if the driver set the correct dma_mask.
>>
>> I still don't think this is useful information to be exposing.
>
> It's useful for anyone involved with device drivers - we agree that's
> a very limited subset of users. I certainly get fed up with trying
> to figure out which dma_mask each driver is using since in some

One simple way that doesn't need any kernel changes is to use
crash on the running kernel. I personally just stuck in printks
when I needed that, but it doesn't strike me as something that
is generally useful in standard kernels (agreeing with Willy)

-Andi
--
ak@linux.intel.com


\
 
 \ /
  Last update: 2008-10-24 12:53    [W:0.139 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site