From owner-p4-projects@FreeBSD.ORG Thu Aug 21 09:47:10 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8FDF716A4C1; Thu, 21 Aug 2003 09:47:09 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DDCE16A4BF; Thu, 21 Aug 2003 09:47:09 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id A417043FA3; Thu, 21 Aug 2003 09:47:07 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp42.pn.xcllnt.net (dhcp42.pn.xcllnt.net [192.168.4.242]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h7LGl7wO025120; Thu, 21 Aug 2003 09:47:07 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp42.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp42.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h7LGl7FD000698; Thu, 21 Aug 2003 09:47:07 -0700 (PDT) (envelope-from marcel@dhcp42.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp42.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h7LGl6qe000697; Thu, 21 Aug 2003 09:47:06 -0700 (PDT) (envelope-from marcel) Date: Thu, 21 Aug 2003 09:47:06 -0700 From: Marcel Moolenaar To: John Baldwin Message-ID: <20030821164706.GA566@dhcp42.pn.xcllnt.net> References: <200308210731.h7L7V0tt040658@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: Perforce Change Reviews Subject: Re: PERFORCE change 36551 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 16:47:10 -0000 On Thu, Aug 21, 2003 at 10:40:47AM -0400, John Baldwin wrote: > > > > > @@ -266,9 +266,18 @@ > > struct sapic *sa = ia64_sapics[i]; > > if (irq < sa->sa_base || irq > sa->sa_limit) > > continue; > > + /* > > + * KLUDGE: Not all interrupts higher or equal to 16 are > > + * active low and level sensitive. We don't know yet how > > + * to check for this, so we hardcode the 2 cases we have > > + * wrong explicitly. This kludge is specific to the HP > > + * rx2600... > > + */ > > Have you tried looking at any interrupt overrides in the MADT? > That is where the BIOS should tell you which interrupts above 15 > have ISA-like parameters. I think you said the same 8 or 9 months ago. I think I answered something like: there's no interrupt override, because those relate to overriding the legacy interrupts (0-15). It's still true. There's no interrupt override, because we're not overriding interrupts. I also said that I thought it would be related to the fact that the UARTs are on the acpi bus, to which you replied that ACPI is not a bus. I didn't disagree, but it's generally much easier to treat acpi as a bus in these cases. I think this too is still true. The interrupt trigger and polarity is non-standard because the UARTs are described by acpi. They are not pci devices. Yet we assume that any non-laegacy irq (ie any larger than 15) must be a pci interrupt. Unfortunately, I couldn't find anywhere in the ACPI spec that states that devices described by ACPI have edge sensitivity and are active high. It may be a mistake on HP's part. Or maybe we should not reprogram the iosapics and assume the firmware has done that... I can't recall what Linux does. I'm sure I checked. But I guess I didn't find anything. I'm not sure I looked very hard... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net