ata: ahci: Add Intel Alder Lake-P AHCI controller to low power chipsets list
PATCH 1/1 ata: ahci: Add Intel Alder Lake-P AHCI controller to low power chipsets list
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
--- drivers/ata/ahci.c | 1 + 1 file changed, 1 insertion(+)
drivers/ata/ahci.c +1 -0
@@ -423,6 +423,7 @@ static const struct pci_device_id ahci_pci_tbl[] = { { PCI_VDEVICE(INTEL, 0x02d7), board_ahci_low_power }, /* Comet Lake PCH RAID *//* Elkhart Lake IDs 0x4b60 & 0x4b62 https://sata-io.org/product/8803 not tested yet */ { PCI_VDEVICE(INTEL, 0x4b63), board_ahci_low_power }, /* Elkhart Lake AHCI */ + { PCI_VDEVICE(INTEL, 0x7ae2), board_ahci_low_power }, /* Alder Lake-P AHCI *//* JMicron 360/1/3/5/6, match class to avoid IDE function */ { PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
Signature · 1 line
2.40.1
Damien Le Moal
maintainerQuoted 7 lines · Mika Westerberg
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
Cc Koba Ko <[email protected]>Signed-off-by Mika Westerberg <[email protected]>
Looks OK, but given that there is a tendency of the low power stuff to be buggy, was this well tested ? Also, does this need a Fixes/CC stable tag ? If not, I will queue this for 6.7.
Quoted 16 lines
--- drivers/ata/ahci.c | 1 + 1 file changed, 1 insertion(+)drivers/ata/ahci.c +1
-0@@ -423,6 +423,7 @@ static const struct pci_device_id ahci_pci_tbl[] = { { PCI_VDEVICE(INTEL, 0x02d7), board_ahci_low_power }, /* Comet Lake PCH RAID *//* Elkhart Lake IDs 0x4b60 & 0x4b62 https://sata-io.org/product/8803 not tested yet */ { PCI_VDEVICE(INTEL, 0x4b63), board_ahci_low_power }, /* Elkhart Lake AHCI */ + { PCI_VDEVICE(INTEL, 0x7ae2), board_ahci_low_power }, /* Alder Lake-P AHCI *//* JMicron 360/1/3/5/6, match class to avoid IDE function */ { PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
Signature · 2 lines
Damien Le Moal Western Digital Research
Hi,
Quoted 11 lines · Damien Le Moal
Quoted 7 lines · Mika Westerberg
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
Cc Koba Ko <[email protected]>Signed-off-by Mika Westerberg <[email protected]>Looks OK, but given that there is a tendency of the low power stuff to be buggy, was this well tested ?
Yes it was tested (Koba Cc'd can confirm this). We also confirmed from Intel AHCI folks that the ADL (and RPL) AHCI controllers fully support this configuration.
Quoted 2 lines
Also, does this need a Fixes/CC stable tag ? If not, I will queue this for 6.7.
Up to you :) Typically PCI ID additions can go to stable as well. No fixes tag needed, though (there is no commit that this one fixes).
Thanks!
Damien Le Moal
maintainerQuoted 19 lines · Mika Westerberg
Hi,
Quoted 11 lines · Damien Le Moal
Quoted 7 lines · Mika Westerberg
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
Cc Koba Ko <[email protected]>Signed-off-by Mika Westerberg <[email protected]>Looks OK, but given that there is a tendency of the low power stuff to be buggy, was this well tested ?
Yes it was tested (Koba Cc'd can confirm this). We also confirmed from Intel AHCI folks that the ADL (and RPL) AHCI controllers fully support this configuration.
Quoted 5 lines
Quoted 2 lines
Also, does this need a Fixes/CC stable tag ? If not, I will queue this for 6.7.
Up to you :) Typically PCI ID additions can go to stable as well. No fixes tag needed, though (there is no commit that this one fixes).
OK. I will not add a CC stable for now. If requested, we can trivially backport this later.
Quoted 2 lines
Thanks!
Signature · 2 lines
Damien Le Moal Western Digital Research
Quoted 14 lines · Damien Le Moal
Quoted 12 lines · Mika Westerberg
Hi,
Quoted 9 lines · Damien Le Moal
Quoted 7 lines · Mika Westerberg
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
Cc Koba Ko <[email protected]>Signed-off-by Mika Westerberg <[email protected]>
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Looks OK, but given that there is a tendency of the low power stuff to be buggy, was this well tested ?
Yes it was tested (Koba Cc'd can confirm this). We also confirmed from Intel AHCI folks that the ADL (and RPL) AHCI controllers fully support this configuration.
I verified on an ADL platform with odd and disk devices and they work fine.
Quoted 17 lines
Quoted 6 lines
Quoted 3 lines
Also, does this need a Fixes/CC stable tag ? If not, I will queue this for 6.7.
Up to you :) Typically PCI ID additions can go to stable as well. No fixes tag needed, though (there is no commit that this one fixes).
OK. I will not add a CC stable for now. If requested, we can trivially backport this later.
Quoted 2 lines
Thanks!
--
Damien Le Moal
Western Digital Research
Quoted 18 lines · Koba Ko
Quoted 17 lines · Damien Le Moal
Quoted 15 lines · Mika Westerberg
Hi,
Quoted 11 lines · Damien Le Moal
Quoted 7 lines · Mika Westerberg
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
Cc Koba Ko <[email protected]>Signed-off-by Mika Westerberg <[email protected]>Looks OK, but given that there is a tendency of the low power stuff to be buggy, was this well tested ?
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Yes it was tested (Koba Cc'd can confirm this). We also confirmed from Intel AHCI folks that the ADL (and RPL) AHCI controllers fully support this configuration.
I verified on an ADL platform with odd and disk devices and they work fine.
Thanks!
@Damien, just checking whether this fell through cracks because I do not see it applied to libata.git next branches?
Damien Le Moal
maintainerQuoted 23 lines · Mika Westerberg
Quoted 22 lines · Koba Ko
Quoted 20 lines · Damien Le Moal
Quoted 18 lines · Mika Westerberg
Hi,
Quoted 11 lines · Damien Le Moal
Quoted 7 lines · Mika Westerberg
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
Cc Koba Ko <[email protected]>Signed-off-by Mika Westerberg <[email protected]>Looks OK, but given that there is a tendency of the low power stuff to be buggy, was this well tested ?
Yes it was tested (Koba Cc'd can confirm this). We also confirmed from Intel AHCI folks that the ADL (and RPL) AHCI controllers fully support this configuration.
Quoted 7 lines
Quoted 2 lines
I verified on an ADL platform with odd and disk devices and they work fine.
Thanks!
@Damien, just checking whether this fell through cracks because I do not see it applied to libata.git next branches?
Sorry about the delay. I was traveling and the suspend/resume fixes used all my bandwidth. Will queue this today. Do you want this for 6.7 or as a fix for 6.6 ? The latter is OK.
Signature · 2 lines
Damien Le Moal Western Digital Research
Hi,
Quoted 27 lines · Damien Le Moal
Quoted 26 lines · Mika Westerberg
Quoted 24 lines · Koba Ko
Quoted 14 lines · Damien Le Moal
Quoted 12 lines · Mika Westerberg
Hi,
Quoted 9 lines · Damien Le Moal
Quoted 7 lines · Mika Westerberg
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
Cc Koba Ko <[email protected]>Signed-off-by Mika Westerberg <[email protected]>Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Looks OK, but given that there is a tendency of the low power stuff to be buggy, was this well tested ?
Yes it was tested (Koba Cc'd can confirm this). We also confirmed from Intel AHCI folks that the ADL (and RPL) AHCI controllers fully support this configuration.
I verified on an ADL platform with odd and disk devices and they work fine.
Quoted 8 lines
Quoted 4 lines
Thanks!
@Damien, just checking whether this fell through cracks because I do not see it applied to libata.git next branches?
Sorry about the delay. I was traveling and the suspend/resume fixes used all my bandwidth. Will queue this today. Do you want this for 6.7 or as a fix for 6.6 ? The latter is OK.
6.7 is fine, thanks!
Quoted 7 lines · Mika Westerberg
Intel Alder Lake-P AHCI controller needs to be added to the mobile chipsets list in order to have link power management enabled. Without this the CPU cannot enter lower power C-states making idle power consumption high.
Cc Koba Ko <[email protected]>Signed-off-by Mika Westerberg <[email protected]>
Applied to libata for-6.7. Thanks !
Signature · 2 lines
Damien Le Moal Western Digital Research