Bug 62831

Summary: acpiphp_enumerate_slots() warning for slot managed by pciehp
Product: Drivers Reporter: Bjorn Helgaas (bjorn)
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: NEW ---    
Severity: normal CC: rjw, rostedt
Priority: P1    
Hardware: All   
OS: Linux   
URL: http://lkml.kernel.org/r/20131010165905.7815defa@gandalf.local.home
Kernel Version: 3.12-rc4 Tree: Mainline
Regression: No
Attachments: dmesg log
lspci
acpidump (raw, undecoded)
DSDT.dsl (disassembled from acpidump)

Description Bjorn Helgaas 2013-10-11 15:01:41 UTC
Steve reported the following acpiphp warning and bisected it to commit a9238741 ("Merge tag 'pci-v3.12-changes'").  Both acpiphp and pciehp are enabled and compiled in statically.

  WARNING: CPU: 2 PID: 1 at /home/rostedt/work/git/linux-trace.git/drivers/pci/hotplug/acpiphp_glue.c:969 acpiphp_enumerate_slots+0xd2/0x19e()
  Modules linked in:
  CPU: 2 PID: 1 Comm: swapper/0 Not tainted 3.11.0-test+ #30
  [Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./To be filled by O.E.M., BIOS SDBLI944.86P 05/08/2007

  Call Trace:
   [<ffffffff812b6a37>] acpiphp_enumerate_slots+0xd2/0x19e
   [<ffffffff812ba288>] acpi_pci_add_bus+0x31/0x36
   [<ffffffff814557b1>] pcibios_add_bus+0xe/0x10
   [<ffffffff8150e8ff>] pci_add_new_bus+0x288/0x2c4
   [<ffffffff8129f3f6>] pci_scan_bridge+0x18b/0x4f4
   [<ffffffff8129f831>] pci_scan_child_bus+0xd2/0x11f
   [<ffffffff8129f42b>] pci_scan_bridge+0x1c0/0x4f4
   [<ffffffff8129f831>] pci_scan_child_bus+0xd2/0x11f
   [<ffffffff8145449c>] pci_acpi_scan_root+0x3d2/0x460
   [<ffffffff812d9ce7>] acpi_pci_root_add+0x2ca/0x393
   ...
   [<ffffffff81d0314b>] acpi_init+0x1f8/0x23e
Comment 1 Bjorn Helgaas 2013-10-11 21:03:47 UTC
Created attachment 110701 [details]
dmesg log
Comment 2 Bjorn Helgaas 2013-10-11 21:04:09 UTC
Created attachment 110711 [details]
lspci
Comment 3 Bjorn Helgaas 2013-10-11 21:36:37 UTC
Created attachment 110721 [details]
acpidump (raw, undecoded)
Comment 4 Bjorn Helgaas 2013-10-11 21:36:56 UTC
Created attachment 110731 [details]
DSDT.dsl (disassembled from acpidump)