ATA: ahci: Add Intel PCH-S RAID device ID
PATCH v2 1/1 ATA: ahci: Add Intel PCH-S RAID device ID
When the Intel Nova Lake SATA controller is configured in RAID mode (rather than AHCI), the generic entry in ahci_pci_tbl which matches any device with the PCI class code for AHCI, is not sufficient, since the SATA controller in RAID mode uses a different PCI class code.
---
v1 -> v2:
- update RAID entry in ahci_pci_tbl to board_ahci from board_ahci_pcs_quirk
- update commit description
drivers/ata/ahci.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/ata/ahci.c +4 -0
@@ -280,6 +280,10 @@ static const struct ata_port_info ahci_port_info[] = {static const struct pci_device_id ahci_pci_tbl[] = {/* Intel */ { +/* Nova Lake PCH-S RAID */ +PCI_VDEVICE (INTEL ,0x6e66 ), + .driver_data = board_ahci, + }, {/* Comet Lake PCH-H RAID */ PCI_VDEVICE (INTEL ,0x06d6 ), .driver_data = board_ahci_pcs_quirk,
Signature · 1 line
2.53.0
Quoted 37 lines · Roman Gardzinski
When the Intel Nova Lake SATA controller is configured in RAID mode (rather than AHCI), the generic entry in
ahci_pci_tblwhich matches any device with the PCI class code for AHCI, is not sufficient, since the SATA controller in RAID mode uses a different PCI class code.Cc Damien Le Moal <[email protected]>Cc Niklas Cassel <[email protected]>Suggested-by Szczepan Durawa <[email protected]>Reviewed-by Szymon Durawa <[email protected]>Signed-off-by Roman Gardzinski <[email protected]>---
v1 -> v2:
- update RAID entry inahci_pci_tbltoboard_ahcifromboard_ahci_pcs_quirk
- update commit descriptiondrivers/ata/ahci.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/ata/ahci.c +4
-0@@ -280,6 +280,10 @@ static const struct ata_port_info ahci_port_info[] = {static const struct pci_device_id ahci_pci_tbl[] = {/* Intel */ { +/* Nova Lake PCH-S RAID */ +PCI_VDEVICE (INTEL ,0x6e66 ), + .driver_data = board_ahci, + }, {/* Comet Lake PCH-H RAID */ PCI_VDEVICE (INTEL ,0x06d6 ), .driver_data = board_ahci_pcs_quirk,Signature · 1 line
2.53.0
Looks good to me:
Quoted 9 lines · Roman Gardzinski
When the Intel Nova Lake SATA controller is configured in RAID mode (rather than AHCI), the generic entry in
ahci_pci_tblwhich matches any device with the PCI class code for AHCI, is not sufficient, since the SATA controller in RAID mode uses a different PCI class code.Cc Damien Le Moal <[email protected]>Cc Niklas Cassel <[email protected]>[...]
Changed the prefix from 'ATA:' to 'ata:'
Applied to libata/linux.git (for-7.5), thanks!
[1/1] ata: ahci: Add Intel PCH-S RAID device ID
https://git.kernel.org/libata/linux/c/c49a14fa
Kind regards,
Niklas