|
Bugzilla – Full Text Bug Listing |
| Summary: | Badness in pci_get_subsys at drivers/pci/search.c:234 | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Carl-Daniel Hailfinger <kernel01> |
| Component: | Kernel | Assignee: | Greg Kroah-Hartman <gregkh> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | CC: | vojtech |
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Carl-Daniel Hailfinger
2005-09-12 14:12:15 UTC
The problem comes from the fact that pci_get_subsys() doesn't expect to be called from an interrupt. SysRq handling is done in interrupt for obvious reasons. I think the reason for pci_get_subsys() not wanting to be called from interrupt is the spin_lock() used there instead of a full blown spin_lock_irqsave(). Greg, any suggestions what do do here? Yeah, you can not call the pci_get_ functions from interrupt context at all, due to hotplug issues. Anyway to save off a pointer to the device you want ahead of time? Hey, you don't get away that easy :) I don't think this is a real big issue, as you are rebooting anyway. Ok, in looking at the code path some more, this is harmless, but I can't get rid of that warning, sorry. |