Make sure the boot configuration interrupt hooks have all run before enabling
interrupts and processing hot plug events. Otherwise, the interrupt hook
processing at boot could race interrupt hooks that may still be running.
Details
Details
- Reviewers
jhb
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 39058 Build 35947: arc lint + arc unit
Event Timeline
| sys/dev/pci/pci_pci.c | ||
|---|---|---|
| 1425–1427 | ||
| 1429 | Doesn't this need to save a tag somewhere or some such? I guess this just leaks the memory? We should probably save the tag and deregister on detach. Also, what about hot plug post-boot that adds a nested HP bridge? We will never enable hotplug events in that case? | |
Comment Actions
I'll look into these issues...
| sys/dev/pci/pci_pci.c | ||
|---|---|---|
| 1429 |
Which tag?
Ah, the event handler...
Hmmm. That's a good question | |