diff options
author | Damien Le Moal <[email protected]> | 2023-09-08 20:04:52 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2023-09-28 21:23:14 +0900 |
commit | 75e2bd5f1ede42a2bc88aa34b431e1ace8e0bea0 (patch) | |
tree | 1ed257322f5ff3547f0bb8d7c2ccf2a5cf5c7d6e /tools/perf/util/trace-event-scripting.c | |
parent | 8b4d9469d0b0e553208ee6f62f2807111fde18b9 (diff) |
ata: libata-core: Do not register PM operations for SAS ports
libsas does its own domain based power management of ports. For such
ports, libata should not use a device type defining power management
operations as executing these operations for suspend/resume in addition
to libsas calls to ata_sas_port_suspend() and ata_sas_port_resume() is
not necessary (and likely dangerous to do, even though problems are not
seen currently).
Introduce the new ata_port_sas_type device_type for ports managed by
libsas. This new device type is used in ata_tport_add() and is defined
without power management operations.
Fixes: 2fcbdcb4c802 ("[SCSI] libata: export ata_port suspend/resume infrastructure for sas")
Cc: [email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Chia-Lin Kao (AceLan) <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions