diff options
author | Niklas Cassel <cassel@kernel.org> | 2025-05-12 10:44:00 +0200 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2025-05-14 16:12:39 +0900 |
commit | 439d47608bb3e5f7b5f5eb55c568576b60731c4d (patch) | |
tree | 065b8b67536a63bf2f791e599130bfdc0afce12a /scripts/lib/kdoc/kdoc_files.py | |
parent | b8ed9475384fd78e7650b7c4a403c1958a765a74 (diff) |
ata: libata: Print if port is external on boot
Commit affccb16c117 ("ata: ahci: print the lpm policy on boot") added a
lpm-pol print during boot, which shows the LPM policy used by each port.
While the LPM policy is usually determined by the Kconfig
CONFIG_SATA_MOBILE_LPM_POLICY, the Kconfig value is overridden e.g. if
firmware has marked the port as hotplug capable / external.
Commit f97106b10d9a ("ata: ahci: Add debug print for external port") did
add a debug print to show if LPM was disabled because firmware has marked
the port as external, however, because devices having broken LPM (even
though they claim to support it) is more common than one would have hoped,
print "ext" during boot if firmware has marked the port is external.
This will make it easier to debug certain LPM issues, e.g. if firmware has
enabled/marked only some of the ports as hotplug capable / external.
Before (port marked as external by firmware):
ata1: SATA max UDMA/133 abar m4096@0xfebd3000 port 0xfebd3100 irq 57 lpm-pol 0
After (port marked as external by firmware):
ata1: SATA max UDMA/133 abar m4096@0xfebd3000 port 0xfebd3100 irq 57 lpm-pol 0 ext
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions