Skip to contentSkip to conversation

ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card

PATCH Applied Hans de Goede 3 participants 5 messages Mar 2, 2018 – Mar 4, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card

Hi All,

Here are 2 patches adding support for Highpoint Rocketraid 644L cards, they can be merged independently from each-other into their resp. subsys, but since they belong together I'm sending them out as a series.

Regards,

Hans

#1 lore raw

PATCH 1/2 ahci: Add PCI-id for the Highpoint Rocketraid 644L card

Like the Highpoint Rocketraid 642L and cards using a Marvel 88SE9235 controller in general, this RAID card also supports AHCI mode and short of a custom driver, this is the only way to make it work under Linux.

Note that even though the card is called to 644L, it has a product-id of 0x0645.

---
 drivers/ata/ahci.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/ata/ahci.c +3 -1
index 355a95a83a34..1ff17799769d 100644
@@ -550,7 +550,9 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	  .driver_data = board_ahci_yes_fbs },
 	{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_EXT, 0x9230),
 	  .driver_data = board_ahci_yes_fbs },
-	{ PCI_DEVICE(PCI_VENDOR_ID_TTI, 0x0642),
+	{ PCI_DEVICE(PCI_VENDOR_ID_TTI, 0x0642), /* highpoint rocketraid 642L */
+	  .driver_data = board_ahci_yes_fbs },
+	{ PCI_DEVICE(PCI_VENDOR_ID_TTI, 0x0645), /* highpoint rocketraid 644L */
 	  .driver_data = board_ahci_yes_fbs },
 
 	/* Promise */
Signature · 1 line
2.14.3
#2 lore raw

PATCH 2/2 PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L

In reply to Hans de Goede

The Highpoint RocketRAID 644L uses a Marvel 88SE9235 controller, as with other Marvel controllers this needs a function 1 DMA alias quirk.

Note the RocketRAID 642L uses the same Marvel 88SE9235 controller and already is listed with a function 1 DMA alias quirk.

---
 drivers/pci/quirks.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/pci/quirks.c +2 -0
index 8b14bd326d4a..46d47bd6ca1f 100644
@@ -3908,6 +3908,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9230,
 			 quirk_dma_func1_alias);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TTI, 0x0642,
 			 quirk_dma_func1_alias);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TTI, 0x0645,
+			 quirk_dma_func1_alias);
 /* https://bugs.gentoo.org/show_bug.cgi?id=497630 */
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_JMICRON,
 			 PCI_DEVICE_ID_JMICRON_JMB388_ESD,
Signature · 1 line
2.14.3
Acked-by on the v1 series
#3 lore raw
In reply to Hans de Goede
Quoted 5 lines · Hans de Goede

Hi All,

Here are 2 patches adding support for Highpoint Rocketraid 644L cards, they can be merged independently from each-other into their resp. subsys, but since they belong together I'm sending them out as a series.

Seems like it'd be nice to keep these together, so Tejun, feel free to take both patches with my

on the pci/quirks.c patch. If you'd prefer me to take them, just let me know.

Applied
#4 lore raw
Quoted 7 lines · Bjorn Helgaas
Quoted 5 lines · Hans de Goede

Hi All,

Here are 2 patches adding support for Highpoint Rocketraid 644L cards, they can be merged independently from each-other into their resp. subsys, but since they belong together I'm sending them out as a series.

Quoted 7 lines

Seems like it'd be nice to keep these together, so Tejun, feel free to take both patches with my

on the pci/quirks.c patch. If you'd prefer me to take them, just let me know.

Applied both to libata/for-4.16-fixes with ack added.

Thanks.

Signature · 1 line
tejun