diff mbox series

ahci: Add Intel Comet Lake PCH RAID PCI ID

Message ID 20191128081041.6948-1-jian-hong@endlessm.com
State Not Applicable
Delegated to: David Miller
Headers show
Series ahci: Add Intel Comet Lake PCH RAID PCI ID | expand

Commit Message

Jian-Hong Pan Nov. 28, 2019, 8:10 a.m. UTC
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 <jian-hong@endlessm.com>
---
 drivers/ata/ahci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kai-Heng Feng April 9, 2020, 9:16 a.m. UTC | #1
Hi Jens,

> On Nov 28, 2019, at 16:10, Jian-Hong Pan <jian-hong@endlessm.com> 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 <jian-hong@endlessm.com>

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
>
Jens Axboe April 9, 2020, 3:32 p.m. UTC | #2
On 4/9/20 2:16 AM, Kai-Heng Feng wrote:
> Hi Jens,
> 
>> On Nov 28, 2019, at 16:10, Jian-Hong Pan <jian-hong@endlessm.com> 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 <jian-hong@endlessm.com>
> 
> Would it be possible to also merge this patch?
> We also have some system that use this controller.

Added, thanks.
diff mbox series

Patch

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,