lkml.org 
[lkml]   [2010]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/PCI: never allocate PCI MMIO resources below BIOS_END
On Mon, 26 Apr 2010 14:44:50 -0700
"H. Peter Anvin" <hpa@zytor.com> wrote:

> >
> > Agreed. The trickier part is handling any platform devices that
> > request_resource against that space. But maybe we don't need to do
> > anything special; just making sure we avoid it in the PCI "BIOS" code
> > as Bjorn did may be sufficient.
> >
>
> Why is that hard? If a platform device does a request_resource against
> that space, it's a request for specific address space and it should be
> granted.

I was thinking if we made it a special resource type we'd have to
change any platform drivers to use it; i.e. it wouldn't be
IORESOURCE_MEM or IORESOURCE_IO but IORESOURCE_DRAGONS. That way it
wouldn't be part of the normal resource space.

But that's definitely overkill. I think Bjorn's fix is sufficient.

--
Jesse Barnes, Intel Open Source Technology Center


\
 
 \ /
  Last update: 2010-04-26 23:57    [W:0.099 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site