Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754150AbYKJPmT (ORCPT ); Mon, 10 Nov 2008 10:42:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752914AbYKJPmJ (ORCPT ); Mon, 10 Nov 2008 10:42:09 -0500 Received: from rv-out-0506.google.com ([209.85.198.228]:21378 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752686AbYKJPmG (ORCPT ); Mon, 10 Nov 2008 10:42:06 -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=ltepETC+gKocldWbOVeQhgSFiBfKtqwmw2RfStejZM8d5BOX7So2ft97uZCuEDrtyX a+SueJjU1EpZA5HiQIrxvpkpQVVNWNOH0B9cVQxGa5R6nzGllOQoW6YCFyBuRyZbf8qV QPF9mNrjJXS/eUe+XrUudT0FOCNwLYfjZ3fbU= Message-ID: <8d6898730811100742g31711b9ck9e046d77273d0113@mail.gmail.com> Date: Mon, 10 Nov 2008 21:12:05 +0530 From: "Nobin Mathew" To: "Grant Grundler" 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" In-Reply-To: <8d6898730811100231j2ca5e8ceub0d5137c1ef1f9d0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4910E8AC.7050407@shaw.ca> <8d6898730811042349p19e65556l8e1c851b27758d5@mail.gmail.com> <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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1616 Lines: 48 I could not find the definition of acpi_unregister_gsi in i386/x86_64 code, it is defined only for ia64. 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). /* 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/