Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265745AbTIJVcG (ORCPT ); Wed, 10 Sep 2003 17:32:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265751AbTIJVcG (ORCPT ); Wed, 10 Sep 2003 17:32:06 -0400 Received: from lidskialf.net ([62.3.233.115]:9948 "EHLO beyond.lidskialf.net") by vger.kernel.org with ESMTP id S265745AbTIJVcD (ORCPT ); Wed, 10 Sep 2003 17:32:03 -0400 From: Andrew de Quincey To: jbarnes@sgi.com (Jesse Barnes) Subject: Re: [PATCH] deal with lack of acpi prt entries gracefully Date: Wed, 10 Sep 2003 22:30:29 +0100 User-Agent: KMail/1.5.3 Cc: andrew.grover@intel.com, linux-kernel@vger.kernel.org References: <20030909201310.GB6949@sgi.com> <200309092238.27112.adq_dvb@lidskialf.net> <20030909220142.GA7668@sgi.com> In-Reply-To: <20030909220142.GA7668@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309102230.29794.adq_dvb@lidskialf.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1653 Lines: 34 On Tuesday 09 Sep 2003 11:01 pm, Jesse Barnes wrote: > On Tue, Sep 09, 2003 at 10:38:26PM +0100, Andrew de Quincey wrote: > > On Tuesday 09 September 2003 22:17, Jesse Barnes wrote: > > > On Tue, Sep 09, 2003 at 09:43:58PM +0100, Andrew de Quincey wrote: > > > > On Tuesday 09 September 2003 21:13, Jesse Barnes wrote: > > > > > Instead of going into an infinite loop because the list isn't setup > > > > > yet, just return NULL if there are no prt entries. > > > > > > > > Ah, this is a patch against the vanilla kernel.. This is > > > > unfortunately incompatible with my recent ACPI patches. > > > > > > Maybe you could include it in your patch then? I noticed that your > > > patch changes some of the IRQ routing code... > > > > I'm not sure it is still needed or not. The patch makes a lot of changes > > as to how the acpi_prt list is generated. What triggers the problem > > exactly, so I can test? > > An SGI Altix system that only supports part of the ACPI spec :). Our > PROM currently doesn't generate any MADT entries other than CPUs (I'm > not even sure how we could add them since we use our own interrupt > controller, not an IOAPIC or IOSAPIC) and lacks an ACPI namespace, so > we're missing all sorts of stuff. So, exactly as your patch did, you just want it to drop back if there were no PCI routing entries found by ACPI... sounds sensible enough. Can you confirm I have this right? - 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/