summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorFarhan Ali <alifm@linux.ibm.com>2026-08-05 09:55:16 -0700
committerBjorn Helgaas <bhelgaas@google.com>2026-08-12 17:26:56 -0500
commite18d1abc3bff0a24a5299f3c150ab9546e9439aa (patch)
tree1dcac2164b2457359e9951b13bd0b7b9737ad06b /scripts/stackusage
parentdcc5bec09e23bbc4f9de055a11fce9937244f2c8 (diff)
downloadlinux-e18d1abc3bff0a24a5299f3c150ab9546e9439aa.tar.gz
linux-e18d1abc3bff0a24a5299f3c150ab9546e9439aa.zip
PCI: Avoid saving config space state if inaccessible
The current reset process saves the device's config space state before reset and restores it afterward. However errors may occur unexpectedly and it may then be impossible to save config space because the device may be inaccessible (e.g. DPC). This results in saving invalid values that get written back to the device during state restoration. With a reset we want to recover/restore the device into a functional state. So avoid saving the state of the config space when the device config space is inaccessible. Signed-off-by: Farhan Ali <alifm@linux.ibm.com> [bhelgaas: comment] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Reviewed-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260805165518.794-4-alifm@linux.ibm.com
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions