From: Amit Shah Subject: Re: PCI PT: irq issue Date: Mon, 23 Jun 2008 15:15:05 +0530 Message-ID: <200806231515.06204.amit.shah@qumranet.com> References: <1213793776.9177.60.camel@lnx-benami> <200806201616.48356.amit.shah@qumranet.com> <08DF4D958216244799FC84F3514D70F001851235@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: "Ben-Ami Yassour" , kvm@vger.kernel.org, "Muli Ben-Yehuda" To: "Han, Weidong" Return-path: Received: from mis011-2.exch011.intermedia.net ([64.78.21.129]:46064 "EHLO mis011-2.exch011.intermedia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753194AbYFWJmQ (ORCPT ); Mon, 23 Jun 2008 05:42:16 -0400 In-Reply-To: <08DF4D958216244799FC84F3514D70F001851235@pdsmsx415.ccr.corp.intel.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Monday 23 June 2008 11:34:43 Han, Weidong wrote: > Amit Shah wrote: > Amit, it doesn't work with VT-d even passing correct IRQ. The output is > as follows: > > irq 16: nobody cared (try booting with the "irqpoll" option) > Pid: 0, comm: swapper Not tainted 2.6.26-rc3-00988-g6d9586a-dirty #5 > > Call Trace: > [] __report_bad_irq+0x30/0x72 > [] note_interrupt+0x1f6/0x233 > [] handle_fasteoi_irq+0xa5/0xc8 > [] do_IRQ+0xf1/0x162 > [] ret_from_intr+0x0/0xa > [] acpi_idle_enter_simple+0x180/0x1ea > [] acpi_idle_enter_simple+0x176/0x1ea > [] cpuidle_idle_call+0x73/0xaa > [] cpuidle_idle_call+0x0/0xaa > [] cpu_idle+0x6d/0x8b > > handlers: > [] (usb_hcd_irq+0x0/0x51) > [] (usb_hcd_irq+0x0/0x51) > Disabling IRQ #16 > > But I found kvm_vm_ioctl_pci_pt_dev() indeed got the correct IRQ for the > assigned device before request_irq(). My mistake; I forgot to push the fix. Updated the tree now. Amit.