Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754936AbYKKE5X (ORCPT ); Mon, 10 Nov 2008 23:57:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754574AbYKKE5O (ORCPT ); Mon, 10 Nov 2008 23:57:14 -0500 Received: from yw-out-2324.google.com ([74.125.46.30]:22205 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754525AbYKKE5M (ORCPT ); Mon, 10 Nov 2008 23:57:12 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jNa9WXmNlv4H7lalJ+nf/noc06/Pbp6izdBwIrHnsWeaNXv20mU2mZbkJA+ZM2JxIh qU6d3WJ6YIy6U6uDvWfLCdbilHpTvjHsQ72kS/CNjrptUygWTdnY0Kaym7Tk3oUdsbM5 6t7/w0IFLecy7KRSzmCUEvOsznBQwgIqjm1lU= Message-ID: <8d6898730811102057u55b9495fxf640af7df3271878@mail.gmail.com> Date: Tue, 11 Nov 2008 10:27:10 +0530 From: "Nobin Mathew" To: "Altobelli, David" Subject: Re: sharing interrupt between PCI device Cc: "Jiri Slaby" , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, "Robert Hancock" , "Thomas Gleixner" , "Peter Zijlstra" , "Ingo Molnar" , "Grant Grundler" In-Reply-To: <20081110203454.GB18188@colo.lackof.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4910E8AC.7050407@shaw.ca> <20081108172716.GA28039@colo.lackof.org> <4915E43E.4010206@gmail.com> <20081108191536.GC28039@colo.lackof.org> <8d6898730811092235u4a41c664vd641d2792dee4c50@mail.gmail.com> <20081110075115.GA13239@colo.lackof.org> <20081110075827.GE2093@elte.hu> <8d6898730811100231j2ca5e8ceub0d5137c1ef1f9d0@mail.gmail.com> <8d6898730811100742g31711b9ck9e046d77273d0113@mail.gmail.com> <20081110203454.GB18188@colo.lackof.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2005 Lines: 62 Adding david to CC On Tue, Nov 11, 2008 at 2:04 AM, Grant Grundler wrote: > On Mon, Nov 10, 2008 at 09:12:05PM +0530, Nobin Mathew wrote: >> I could not find the definition of acpi_unregister_gsi in i386/x86_64 >> code, it is defined only for ia64. > > Sorry - I was looking at the ia64 branch by mistake. > >> >> Since it is defined as a weak symbol, I feel it is not getting called >> (correct if I am wrong, I searched in google for this). > > You are right. > > sorry, > grant > >> /* FIXME: implement x86/x86_64 version */ >> void __attribute__ ((weak)) acpi_unregister_gsi(u32 i) >> { >> } >> >> How this weak symbols work, is it something like >> acpi_pci_irq_disable() will not call acpi_unregister_gsi() in some >> platforms. >> >> Thanks >> Nobin Mathew. >> >> On Mon, Nov 10, 2008 at 4:01 PM, Nobin Mathew wrote: >> > Yes USB Virtual Controller has input devices like keyboard and mouse >> > (routed through hpilo card (remote console)), so those things stops >> > working when we remove hpilo driver. >> > >> > Thanks >> > Nobin Mathew >> > >> > On Mon, Nov 10, 2008 at 1:28 PM, Ingo Molnar wrote: >> >> >> >> * Grant Grundler wrote: >> >> >> >>> [+ingo - question for you about disable_irq() below] >> >> >> >>> The same problem exists with disable_irq() : only takes a global >> >>> IRQ# and no additional identifying information to prevent disabling >> >>> a shared IRQ. So I'm not sure if this is a bug with ACPI or design >> >>> flaw in generic IRQ APIs. Ingo? >> >> >> >> that's how disable_irq() always worked: it disables all handlers on >> >> that IRQ#. If the IRQ# is shared, it disables all handlers. >> >> >> >> Ingo >> >> >> > > -- 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/