diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2024-04-16 07:32:24 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-06-18 22:49:44 +0300 |
commit | 5afc2f763edc5daae4722ee46fea4e627d01fa90 (patch) | |
tree | e4042e6dd7cc3e3623ed9c1e0decedce0118adaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) | |
download | linux-5afc2f763edc5daae4722ee46fea4e627d01fa90.tar.xz |
PCI/AER: Disable AER service on suspend
If the link is powered off during suspend, electrical noise may cause
errors that are logged via AER. If the AER interrupt is enabled and shares
an IRQ with PME, that causes a spurious wakeup during suspend.
Disable the AER interrupt during suspend to prevent this. Clear error
status before re-enabling IRQ 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/20240416043225.1462548-2-kai.heng.feng@canonical.com
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
[bhelgaas: drop pci_ancestor_pr3_present() etc, commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions