aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2024-05-02 11:26:53 +0200
committerNiklas Cassel <[email protected]>2024-05-27 11:34:50 +0200
commit5433f0e7427ae4f5b128d89ec16ccaafc9fef5ee (patch)
tree8fb48949d389132f7f4479d85973092a4ec7c1a2 /tools/perf/util/scripting-engines/trace-event-python.c
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
ata: Kconfig: Update SATA_MOBILE_LPM_POLICY default to med_power_with_dipm
Historically this was set to "keep_firmware_settings" to prevent problems with power management on very old drives. However it's been observed that almost all modern Linux distributions either set the policy to "med_power_with_dipm" in the kernel configuration or update it to this via userspace policy changes. Update the policy default in the kernel to "med_power_with_dipm" to match that behavior as well. Changing the default was previously not a good idea, because LPM disables detection of hot plug removals, however, since commit ae1f3db006b7 ("ata: ahci: do not enable LPM on external ports"), a port marked as external will always be initialized to "keep_firmware_settings", regardless of the SATA_MOBILE_LPM_POLICY Kconfig value. Therefore, changing the default is now considered safe (external ports included). Reviewed-by: Damien Le Moal <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> [cassel: rebased and reworded commit message] Signed-off-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions