Bug 202927

Summary: Regression causes a hang on boot with a Comtrol PCI card
Product: Drivers Reporter: Jesse Hathaway (jesse)
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: NEW ---    
Severity: normal CC: ssgelm
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.0.1 Subsystem:
Regression: No Bisected commit-id:
Attachments: lspci -vvxxx
lspci -vvxxxx
dmesg output for v5.0.1 vanilla, hangs
dmesg output for v5.0.1 with revert of 1302fcf0d03e & 1c3c5eab1715, works
v5.0.3 initcall_debug
v5.0 initcall_debug with printks
pci-quirks.c

Description Jesse Hathaway 2019-03-14 20:49:14 UTC
Created attachment 281831 [details]
lspci -vvxxx

Two regressions cause Linux to hang on boot when a Comtrol PCI card is present.

If I revert the following two commits, I can boot again and the card operates
without issue:

1302fcf0d03e (refs/bisect/bad) PCI: Configure *all* devices, not just
hot-added ones
1c3c5eab1715 sched/core: Enable might_sleep() and smp_processor_id()
checks early

- [x] v3.18 vanilla, 1302fcf0d03e committed, hangs
- [x] v3.18 with revert of 1302fcf0d03e, works
.
.
.
- [x] v4.12 vanilla, hangs
- [x] v4.12 with revert of 1302fcf0d03e, works

- [x] v4.13 vanilla, 1c3c5eab1715 committed, hangs
- [x] v4.13 with revert of 1302fcf0d03e, hangs
- [x] v4.13 with revert of 1c3c5eab1715, hangs
- [x] v4.13 with revert of 1302fcf0d03e & 1c3c5eab1715, works

- [x] v5.0 vanilla, hangs
- [x] v5.0 with revert of 1302fcf0d03e & 1c3c5eab1715, works
Comment 1 Jesse Hathaway 2019-03-14 20:50:04 UTC
Created attachment 281833 [details]
lspci -vvxxxx
Comment 2 Jesse Hathaway 2019-03-14 20:50:40 UTC
Created attachment 281835 [details]
dmesg output for v5.0.1 vanilla, hangs
Comment 3 Jesse Hathaway 2019-03-14 20:51:38 UTC
Created attachment 281837 [details]
dmesg output for v5.0.1 with revert of 1302fcf0d03e & 1c3c5eab1715, works
Comment 4 Jesse Hathaway 2019-03-22 19:59:29 UTC
Created attachment 281965 [details]
v5.0.3 initcall_debug
Comment 5 Jesse Hathaway 2019-04-04 15:35:20 UTC
Created attachment 282125 [details]
v5.0 initcall_debug with printks
Comment 6 Jesse Hathaway 2019-04-04 15:36:17 UTC
Created attachment 282127 [details]
pci-quirks.c