From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Subject: Re: Defining polarity and trigger mode for static interrupts in _PRT Date: Thu, 25 Aug 2016 12:20:29 -0500 Message-ID: <20160825172029.GC11257@localhost> References: <20160824142723.GA25843@red-moon> <20160824193000.GE23914@localhost> <20160824213005.1a9300ef@arm.com> <87pooxqi5p.fsf@e105922-lin.cambridge.arm.com> <20160825111424.GA9244@red-moon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail.kernel.org ([198.145.29.136]:41768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbcHYRb7 (ORCPT ); Thu, 25 Aug 2016 13:31:59 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Duc Dang Cc: Lorenzo Pieralisi , Punit Agrawal , Marc Zyngier , Rafael Wysocki , linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, patches , Bjorn Helgaas On Thu, Aug 25, 2016 at 09:46:25AM -0700, Duc Dang wrote: > On Thu, Aug 25, 2016 at 4:14 AM, Lorenzo Pieralisi wrote: > > On Thu, Aug 25, 2016 at 11:04:02AM +0100, Punit Agrawal wrote: > >> If there are no good reason to restrict using link devices to > >> configurable interrupts, perhaps the spec needs an update. > > > > Yes and that's what I am going to ask if nobody complains. > > In my opinion, if the interrupt is not configurable, I should be able > to choose not to use interrupt link, which requires a spec. update as > well to specify the polarity of the fixed interrupts? This is a little out of my area, but I really don't see the point of an ACPI spec update. PCI has specified level/low and ACPI systems have worked that way for decades. Can't you just make your GIC driver aware of the fact that some of its inputs have inverters on them and are effectively active low? Then all the generic code should work just like it does on other systems.