diff options
author | 2023-08-28 16:01:58 +0900 | |
---|---|---|
committer | 2023-10-03 09:39:49 +0900 | |
commit | 5b6fba546da246b3d0dd8465c07783e22629cc53 (patch) | |
tree | 0bb25a059e71f1d0e0b4c9c99ff4f78dbcd3f947 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ata: libata-core: Synchronize ata_port_detach() with hotplug (diff) | |
download | wireguard-linux-5b6fba546da246b3d0dd8465c07783e22629cc53.tar.xz wireguard-linux-5b6fba546da246b3d0dd8465c07783e22629cc53.zip |
ata: libata-core: Detach a port devices on shutdown
Modify ata_pci_shutdown_one() to schedule EH to unload a port devices
before freezing and thawing the port. This ensures that drives are
cleanly disabled and transitioned to standby power mode when
a PCI adapter is removed or the system is powered off.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions