From owner-freebsd-ppc@FreeBSD.ORG Tue Aug 7 20:57:44 2007 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45AE216A420; Tue, 7 Aug 2007 20:57:44 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.173]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD6B13C457; Tue, 7 Aug 2007 20:57:44 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/smtpout03/MantshX 4.0) with ESMTP id l77KvtmI015039; Tue, 7 Aug 2007 13:57:55 -0700 (PDT) Received: from [172.24.104.90] (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id l77KvhEH014248 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 7 Aug 2007 13:57:43 -0700 (PDT) In-Reply-To: <46B8C952.2030303@freebsd.org> References: <46B8C952.2030303@freebsd.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Tue, 7 Aug 2007 13:57:42 -0700 To: grehan@freebsd.org X-Mailer: Apple Mail (2.752.3) Cc: freebsd-ppc@freebsd.org Subject: Re: Revamp of interrupt code (INTR_FILTER support) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 20:57:44 -0000 On Aug 7, 2007, at 12:34 PM, Peter Grehan wrote: > Hi Marcel, > > This work looks excellent. I'll try and review/test asap. > > Mac G5s have 2 cascaded OpenPICs. The existing code needed a > revamp to support that: would it be able to fit into your new model ? I don't know, but let's make sure we support that easily (if not right away). I already made sure there's a clear separation between IRQ and vector, so it should be possible to map the {PIC,IRQ} pair to an unique vector. The Heathrow PIC driver needs to maintain its own IRQ->vector mapping then, but that's trivial (we still have IRQ==vector to avoid such a mapping). FYI, -- Marcel Moolenaar xcllnt@mac.com