summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorFarhan Ali <alifm@linux.ibm.com>2026-08-05 09:55:18 -0700
committerBjorn Helgaas <bhelgaas@google.com>2026-08-12 17:27:13 -0500
commit231c7a57d19304beb0931e6cbe3a4929daf49747 (patch)
treef82dbe4788aa17267b1b72ff694c9bad73a31cd6 /scripts/stackusage
parentad05c16b290be93e0ff02151b22c5d137f655908 (diff)
downloadlinux-231c7a57d19304beb0931e6cbe3a4929daf49747.tar.gz
linux-231c7a57d19304beb0931e6cbe3a4929daf49747.zip
PCI/MSI: Enable memory decoding before restoring MSI-X messages
The current MSI-X restoration path assumes the Command register Memory bit is enabled when writing MSI-X messages. But it's possible the last saved and restored state of a device may not have the Memory bit enabled, even if a device driver later enables Memory bit and MSI-X. Attempting to access Memory space without Memory bit enabled can lead to Unsupported Request (UR) from the device. Fix this by enabling Memory bit and restore it afterwards. Fixes: 41017f0cac92 ("[PATCH] PCI: MSI(X) save/restore for suspend/resume") Signed-off-by: Farhan Ali <alifm@linux.ibm.com> [bhelgaas: comment] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Thomas Gleixner <tglx@kernel.org> Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260805165518.794-6-alifm@linux.ibm.com
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions