Commit a3151e6
PCI: Warn if a running device is unaware of reset
If a reset is issued to a running device with a driver that didn't register
the notification callbacks, the driver may be unaware of this event and
have an inconsistent view of the device's state. Log a warning of this
event because there's nothing else indicating the event occured, which
could be confusing when debugging such situations.
Link: https://lore.kernel.org/r/20241025222755.3756162-2-kbusch@meta.com
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Amey Narkhede <ameynarkhede03@gmail.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>1 parent 2fa0464 commit a3151e6
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5158 | 5158 | | |
5159 | 5159 | | |
5160 | 5160 | | |
| 5161 | + | |
| 5162 | + | |
5161 | 5163 | | |
5162 | 5164 | | |
5163 | 5165 | | |
| |||
5191 | 5193 | | |
5192 | 5194 | | |
5193 | 5195 | | |
| 5196 | + | |
| 5197 | + | |
5194 | 5198 | | |
5195 | 5199 | | |
5196 | 5200 | | |
| |||
0 commit comments