From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <53FCD816.6070108@infradead.org> Date: Tue, 26 Aug 2014 11:55:18 -0700 From: Randy Dunlap MIME-Version: 1.0 To: Jiang Liu , Benjamin Herrenschmidt , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "Rafael J. Wysocki" , Bjorn Helgaas , Yinghai Lu , Borislav Petkov , Grant Likely , x86@kernel.org, Prarit Bhargava CC: Konrad Rzeszutek Wilk , Andrew Morton , Tony Luck , Joerg Roedel , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, Ingo Molnar Subject: Re: [Bugfix] x86, irq: Fix bug in setting IOAPIC pin attributes References: <20140822124145.GF1660@lahna.fi.intel.com> <1409042706-11958-1-git-send-email-jiang.liu@linux.intel.com> In-Reply-To: <1409042706-11958-1-git-send-email-jiang.liu@linux.intel.com> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-acpi-owner@vger.kernel.org List-ID: On 08/26/14 01:45, Jiang Liu wrote: > diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c > index 29290f554e79..66c2700c9f83 100644 > --- a/arch/x86/kernel/apic/io_apic.c > +++ b/arch/x86/kernel/apic/io_apic.c > @@ -3896,7 +3896,15 @@ int mp_irqdomain_map(struct irq_domain *domain, unsigned int virq, > + /* > + * setup_IO_APIC_irqs() programs all legacy IRQs with default > + * trigger and polarity attirbutes. Don't set the flag for that attributes. > + * case so the first legacy IRQ user could reprogram the pin > + * with real trigger and polarity attributes. > + */ thanks, -- ~Randy