Re: Include parent hub number in current warning message "Parent hub missing LPM exit latency info"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually, there is some new bug I haven't seen before (this is 3.10.9 kernel).
First of all, I see my TI XHCI controller does not use MSI-X anymore, will have
to check my .config why is it so.
Second, it should have IRQ 45 and 46 according to dmesg. But lspci reports
IRQ 16 is used by TI XHCI controller. Funny! I would say this is linux-pci issue
but provided XHCI_HCD is special and manages interrupts somewhat on its own you may
look into that first before we ask linux-pci developers.

Martin MOKREJŠ wrote:
> Hi Xenia,
>   thank you, how about inclusion of the "parent hub" number in the
> following message (as of now):
> 
> Parent hub missing LPM exit latency info.  Power management will be impacted. 
> 
> 
> 
> I find it awkward to later on run manually lspci/lsusb to find what is the parent.
> I think I do NOT get these messages when I have pcie_aspm=off whereas when
> it is on I get the warning. Why PCIe powersaving affects how USB end devices will
> be put to sleep I don't know. But that will be the next step to look into. 
> First the warning message. And maybe it could be improve even further to include
> other relevant capabilities of the "parent" present/missing. ;-)
> 
> 
> Here are bits from my dmesg:

> [    4.159824] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
> [    4.159963] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf7f08000
> [    4.179142] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00

> [    4.195178] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
> [    4.195283] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf7f07000
> [    4.209148] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00

> [    4.219252] xhci_hcd 0000:0b:00.0: irq 45 for MSI/MSI-X
> [    4.219298] xhci_hcd 0000:0b:00.0: irq 46 for MSI/MSI-X


> [    5.100550] usb 3-2: new high-speed USB device number 2 using xhci_hcd
> [    5.123995] usb 3-2: New USB device found, idVendor=2109, idProduct=0811
> [    5.125864] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
> [    5.127705] usb 3-2: Product: USB2.0 Hub
> [    5.159101] hub 3-2:1.0: USB hub found
> [    5.161643] hub 3-2:1.0: 4 ports detected
> [    5.291321] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
> [    5.313219] usb 4-2: Parent hub missing LPM exit latency info.  Power management will be impacted.
> [    5.319428] usb 4-2: New USB device found, idVendor=2109, idProduct=0811
> [    5.321417] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [    5.323353] usb 4-2: Product: 4-Port USB 3.0 Hub
> [    5.325272] usb 4-2: Manufacturer: VIA Labs, Inc.

> 
> 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
>         Subsystem: Dell Device 04b3
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0
>         Interrupt: pin A routed to IRQ 16

 
> 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
>         Subsystem: Dell Device 04b3
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0
>         Interrupt: pin A routed to IRQ 23


> 0b:00.0 USB controller: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller (rev 02) (prog-if 30 [XHCI])
>         Subsystem: Dell Device 04b3
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0, Cache Line Size: 64 bytes
>         Interrupt: pin A routed to IRQ 16


# cat /proc/interrupts 
           CPU0       
  0:         22   IO-APIC-edge      timer
  1:         16   IO-APIC-edge      i8042
  8:         55   IO-APIC-edge      rtc0
  9:          0   IO-APIC-fasteoi   acpi
 12:    5090314   IO-APIC-edge      i8042
 16:         66   IO-APIC-fasteoi   ehci_hcd:usb1
 23:      28835   IO-APIC-fasteoi   ehci_hcd:usb2
 40:          0   PCI-MSI-edge      pciehp
 41:      15985   PCI-MSI-edge      i915
 42:         14   PCI-MSI-edge      mei_me
 43:     227029   PCI-MSI-edge      ahci
 44:     208160   PCI-MSI-edge      enp5s0
 45:     729889   PCI-MSI-edge      xhci_hcd
 46:          0   PCI-MSI-edge      xhci_hcd
 47:        940   PCI-MSI-edge      snd_hda_intel
 48:          1   PCI-MSI-edge      iwlwifi
NMI:      21635   Non-maskable interrupts
LOC:    7545378   Local timer interrupts
SPU:          0   Spurious interrupts
PMI:      21635   Performance monitoring interrupts
IWI:    1583914   IRQ work interrupts
RTR:          0   APIC ICR read retries
RES:          0   Rescheduling interrupts
CAL:          0   Function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
THR:          0   Threshold APIC interrupts
MCE:          0   Machine check exceptions
MCP:        254   Machine check polls
ERR:          0
MIS:          0
# dmesg | head -n 2
[    0.000000] Linux version 3.10.9-default-pciehp (root@vostro) (gcc version 4.6.3 (Gentoo 4.6.3 p1.8, pie-0.5.2) ) #8 SMP Tue Aug 27 01:37:03 MEST 2013
[    0.000000] Command line: root=/dev/sda5 slub_debug=AFPZ pciehp.pciehp_debug=1 pciehp_debug=1


Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux