From: Jason Nader <dev@xxxxxxxxxxx> Commit b8b8b4e0c052b2c06e1c4820a8001f4e0f77900f ("ata: ahci: Add Intel Alder Lake-P AHCI controller to low power chipsets list") enabled LPM for Alder Lake-P AHCI adaptors, however this introduced a regression on at least one system which causes the SATA ports to become unusable [1]. The original commit stated it is for Alder Lake-P, which I understand is a mobile CPU, however the device ID added (0x7ae2) matches the one reported by my system which has an Alder Lake-S desktop CPU [2]. Searching for this device on other websites points to 0x7ae2 being for the desktop "-S" suffix [3] and not for the "-P" suffix, which is apparently 0x51d3 [4][5]. Reverting this commit restores SATA port functionality on my system [6][7]. [1] This Ubuntu bug report also appears to suffer from the same issue, so there are more affected systems out there: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2063229 [2] System details: CPU: Intel i5-12400 Motherboard: Biostar B660GTN BIOS Settings: Intel VMD off, SATA hot plug off, CSM off >lspci -nn -s 00:17 00:17.0 SATA controller [0106]: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] [8086:7ae2] (rev 11) [3] https://devicehunt.com/view/type/pci/vendor/8086/device/7AE2 [4] https://linux-hardware.org/?id=pci:8086-51d3-1462-1333 [5] https://linux-hardware.org/?view=search&vendorid=8086&deviceid=51d3#list [6] Kernel logs before revert: ahci 0000:00:17.0: AHCI 0001.0301 32 slots 4 ports 6 Gbps 0xf0 impl SATA mode ata5: SATA max UDMA/133 abar m2048@0x80702000 port 0x80702300 irq 124 lpm-pol 3 ata6: SATA max UDMA/133 abar m2048@0x80702000 port 0x80702380 irq 124 lpm-pol 3 ata7: SATA max UDMA/133 abar m2048@0x80702000 port 0x80702400 irq 124 lpm-pol 3 ata8: SATA max UDMA/133 abar m2048@0x80702000 port 0x80702480 irq 124 lpm-pol 3 ata5: SATA link down (SStatus 4 SControl 300) ata6: SATA link down (SStatus 4 SControl 300) ata8: SATA link down (SStatus 4 SControl 300) ata7: SATA link down (SStatus 4 SControl 300) [7] Kernel logs after revert: ahci 0000:00:17.0: AHCI 0001.0301 32 slots 4 ports 6 Gbps 0xf0 impl SATA mode ata5: SATA max UDMA/133 abar m2048@0x80802000 port 0x80802300 irq 125 lpm-pol 0 ata6: SATA max UDMA/133 abar m2048@0x80802000 port 0x80802380 irq 125 lpm-pol 0 ata7: SATA max UDMA/133 abar m2048@0x80802000 port 0x80802400 irq 125 lpm-pol 0 ata8: SATA max UDMA/133 abar m2048@0x80802000 port 0x80802480 irq 125 lpm-pol 0 ata8: SATA link down (SStatus 0 SControl 300) ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300) ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300) Jason Nader (1): ata: ahci: Revert "ata: ahci: Add Intel Alder Lake-P AHCI controller to low power chipsets list" drivers/ata/ahci.c | 1 - 1 file changed, 1 deletion(-) -- 2.45.0