2019-11-28 08:13:21

by Jian-Hong Pan

[permalink] [raw]
Subject: [PATCH] ahci: Add Intel Comet Lake PCH RAID PCI ID

Intel Comet Lake should use the default LPM policy for mobile chipsets.
So, add the PCI ID to the driver list of supported devices.

Signed-off-by: Jian-Hong Pan <[email protected]>
---
drivers/ata/ahci.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index ec6c64fce74a..d9b3a9f7a4ee 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -405,6 +405,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
{ PCI_VDEVICE(INTEL, 0x22a3), board_ahci_mobile }, /* Cherry Tr. AHCI */
{ PCI_VDEVICE(INTEL, 0x5ae3), board_ahci_mobile }, /* ApolloLake AHCI */
{ PCI_VDEVICE(INTEL, 0x34d3), board_ahci_mobile }, /* Ice Lake LP AHCI */
+ { PCI_VDEVICE(INTEL, 0x02d7), board_ahci_mobile }, /* Comet Lake PCH RAID */

/* 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,
--
2.20.1


2020-04-09 09:17:52

by Kai-Heng Feng

[permalink] [raw]
Subject: Re: [PATCH] ahci: Add Intel Comet Lake PCH RAID PCI ID

Hi Jens,

> On Nov 28, 2019, at 16:10, Jian-Hong Pan <[email protected]> wrote:
>
> Intel Comet Lake should use the default LPM policy for mobile chipsets.
> So, add the PCI ID to the driver list of supported devices.
>
> Signed-off-by: Jian-Hong Pan <[email protected]>

Would it be possible to also merge this patch?
We also have some system that use this controller.

Kai-Heng

> ---
> drivers/ata/ahci.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
> index ec6c64fce74a..d9b3a9f7a4ee 100644
> --- a/drivers/ata/ahci.c
> +++ b/drivers/ata/ahci.c
> @@ -405,6 +405,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
> { PCI_VDEVICE(INTEL, 0x22a3), board_ahci_mobile }, /* Cherry Tr. AHCI */
> { PCI_VDEVICE(INTEL, 0x5ae3), board_ahci_mobile }, /* ApolloLake AHCI */
> { PCI_VDEVICE(INTEL, 0x34d3), board_ahci_mobile }, /* Ice Lake LP AHCI */
> + { PCI_VDEVICE(INTEL, 0x02d7), board_ahci_mobile }, /* Comet Lake PCH RAID */
>
> /* 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,
> --
> 2.20.1
>

2020-04-09 15:34:13

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] ahci: Add Intel Comet Lake PCH RAID PCI ID

On 4/9/20 2:16 AM, Kai-Heng Feng wrote:
> Hi Jens,
>
>> On Nov 28, 2019, at 16:10, Jian-Hong Pan <[email protected]> wrote:
>>
>> Intel Comet Lake should use the default LPM policy for mobile chipsets.
>> So, add the PCI ID to the driver list of supported devices.
>>
>> Signed-off-by: Jian-Hong Pan <[email protected]>
>
> Would it be possible to also merge this patch?
> We also have some system that use this controller.

Added, thanks.

--
Jens Axboe