[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64N.0711121700070.30102@blysk.ds.pg.gda.pl>
Date: Mon, 12 Nov 2007 17:06:31 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Bjorn Helgaas <bjorn.helgaas@...com>
cc: Adam Belay <ambx1@....rr.com>, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, Thomas Renninger <trenn@...e.de>,
Matthew Garrett <mjg59@...f.ucam.org>
Subject: Re: [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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists