lkml.org 
[lkml]   [2007]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] [PATCH] PNP: request ioport and iomem resources used by active devices
On Wed, 7 Nov 2007, Bjorn Helgaas wrote:

> There will undoubtedly be errors in what the firmware reports. But if
> firmware tells us about some non PC/AT device, we should believe it at
> least enough to avoid placing some other device on top of it.
>
> If we have PNPBIOS or ACPI, the built-in stuff reserved in
> request_standard_resources() should be superfluous. In theory.
> But I doubt there's any benefit in skipping request_standard_resources().
> Possibly it could be done *after* the PNP reservations, so the
> hierarchy would make more sense, but I don't know if even that
> is worth the trouble.

In practice it is resources above 0x00ff that really matter here as using
the motherboard range for device allocation is unsafe anyway (the whole
range may be actively decoded by the south bridge). So whatever is
reported between 0x0000 and 0x00ff is mostly informational; with some
protection against driver bugs perhaps (that assuming they have got error
handling right for reservations). I second it is not worth the hassle.

Maciej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-12 18:09    [W:1.040 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site