lkml.org 
[lkml]   [2008]   [Oct]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 5 Oct 2008 22:26:00 -0700
FromArjan van de Ven <>
SubjectRe: RFC: banning device driver reserved resources from /dev/mem
On Mon, 6 Oct 2008 07:23:37 +0200
Ingo Molnar <mingo@elte.hu> wrote:
> > > +int iomem_is_reserved(u64 addr)> > +{> > +     struct resource *p = &iomem_resource;

...

> > +              */> > +             if (p->start >= addr + size)> > +                     continue;> > do we want to skip all resources that are not IORESOURCE_MEM? Same
> holds for iomem_map_sanity_check(), introduced in tip/core/resources:

if we have non-IORESOURCE_MEM resources in the iomem_resource tree....
then we have bigger problems.
-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org


\
 
 \ /
  Last update: 2008-10-06 07:29    [from the cache]
©2003-2008