diff options
author | Kai-Heng Feng <[email protected]> | 2024-04-16 12:32:25 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-06-18 14:51:23 -0500 |
commit | 75c47c790f43c438761fc049fb9d438144a9db45 (patch) | |
tree | 4b7c9261df759d07a27f60e650ed170693b0e96a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5afc2f763edc5daae4722ee46fea4e627d01fa90 (diff) |
PCI/DPC: Disable DPC service on suspend
If the link is powered off during suspend, electrical noise may cause
errors that trigger DPC. If the DPC interrupt is enabled and shares an IRQ
with PME, that causes a spurious wakeup during suspend.
Disable DPC triggering and the DPC interrupt during suspend to prevent
this. Clear DPC interrupt status before re-enabling DPC interrupts during
resume so we don't get an interrupt for errors that occurred during the
suspend/resume process.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=209149
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216295
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218090
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kai-Heng Feng <[email protected]>
[bhelgaas: clear status on resume, add comments, commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions