lkml.org 
[lkml]   [2008]   [Oct]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 16 Oct 2008 23:47:47 -0700 (PDT)
SubjectRe: [PATCH] Fix broken debug output reserve_region_with_split()
FromDavid Miller <>
From: "H. Peter Anvin" <hpa@zytor.com>
Date: Thu, 16 Oct 2008 23:39:18 -0700

> Benjamin Herrenschmidt wrote:
> > The latest patch I posted will do full size of resource_size_t unless
> > you arch explicitely adds a #define to do it differently so that
> > should work for you :-)
> > 
> 
> IMNSHO I think you can default to 8 digits for I/O for PCI, since at least last I looked there was no 64-bit address space possible for I/O.

Resources are representing different things on different platforms.

On sparc64 it's actually the full 64-bit physical I/O address on the
system bus being stored in there.  So even IORESOURCE_IO objects have
64-bits of relevancy.

Like I said, printing out the entire thing has helped me find real
bugs, so printing the whole thing is not without merit.


\
 
 \ /
  Last update: 2008-10-17 08:51    [from the cache]
©2003-2008