lkml.org 
[lkml]   [2008]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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    [W:1.592 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site