Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759861AbXKLRGy (ORCPT ); Mon, 12 Nov 2007 12:06:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758072AbXKLRGq (ORCPT ); Mon, 12 Nov 2007 12:06:46 -0500 Received: from cerber.ds.pg.gda.pl ([153.19.208.18]:41214 "EHLO cerber.ds.pg.gda.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754277AbXKLRGp (ORCPT ); Mon, 12 Nov 2007 12:06:45 -0500 Date: Mon, 12 Nov 2007 17:06:31 +0000 (GMT) From: "Maciej W. Rozycki" To: Bjorn Helgaas cc: Adam Belay , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Renninger , Matthew Garrett Subject: Re: [RFC] [PATCH] PNP: request ioport and iomem resources used by active devices In-Reply-To: <200711070915.35743.bjorn.helgaas@hp.com> Message-ID: References: <200710291525.31475.bjorn.helgaas@hp.com> <200711070915.35743.bjorn.helgaas@hp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 26 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/