diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2023-08-28 16:01:58 +0900 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2023-10-03 09:39:49 +0900 |
commit | 5b6fba546da246b3d0dd8465c07783e22629cc53 (patch) | |
tree | 0bb25a059e71f1d0e0b4c9c99ff4f78dbcd3f947 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cfead0dd81de95f52f416a676d4697484e093c8b (diff) |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions