From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f175.google.com ([209.85.214.175]:56025 "EHLO mail-ob0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751725Ab3CZVzO (ORCPT ); Tue, 26 Mar 2013 17:55:14 -0400 Received: by mail-ob0-f175.google.com with SMTP id va7so4453047obc.20 for ; Tue, 26 Mar 2013 14:55:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20130305224150.GE8339@xanatos> References: <1361182193-31894-1-git-send-email-hare@suse.de> <5124820D.2080900@suse.de> <5125C45A.5020208@suse.de> <51305B99.6080806@suse.de> <20130305224150.GE8339@xanatos> From: Bjorn Helgaas Date: Tue, 26 Mar 2013 15:54:52 -0600 Message-ID: Subject: Re: [PATCH] pci: do not try to assign irq 255 To: Sarah Sharp Cc: Hannes Reinecke , Yinghai Lu , "linux-kernel@vger.kernel.org" , Frederik Himpe , Oliver Neukum , David Haerdeman , USB list , "linux-pci@vger.kernel.org" , Andy Grover Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-pci-owner@vger.kernel.org List-ID: On Tue, Mar 5, 2013 at 3:41 PM, Sarah Sharp wrote: > On Fri, Mar 01, 2013 at 08:41:13AM +0100, Hannes Reinecke wrote: >> On 02/27/2013 10:13 PM, Bjorn Helgaas wrote: >> >[+cc Andy] >> > >> >3) I don't understand why the xhci init fails in the first place. It >> >looks like the "request interrupt 255 failed" message is from >> >xhci_try_enable_msi(), but that function tries to enable MSI-X, then >> >MSI, then falls back to legacy interrupts, where we get the error. >> >But the device supports MSI, so I don't know why we even fall back to >> >trying legacy interrupts. Hannes, do you have any insight into that? >> >Obviously I'm missing something here. >> > >> Hehe. Due to overly clever design. >> xhci actually sets up interrupts _twice_, once per request_irq() in >> the generic code and a second time during xhci_run. >> But as the first call fails it'll never ever run the second part. >> >> I'll be sending a patch. > > Something like this? > > http://marc.info/?l=linux-usb&m=132972894117916&w=2 > > (Apparently we had this issue around the same time last year, but we > thought the BIOS bug had been resolved.) > > Sarah Sharp Where are we at with this? I don't see Sarah's patch in the tree, and I haven't applied any changes, so my guess is this is still broken. Bjorn