linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card
@ 2018-03-02 10:36 Hans de Goede
  2018-03-02 10:36 ` [PATCH 1/2] ahci: " Hans de Goede
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Hans de Goede @ 2018-03-02 10:36 UTC (permalink / raw)
  To: Bjorn Helgaas, Tejun Heo
  Cc: Hans de Goede, linux-pci, linux-ide, linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] ahci: Add PCI-id for the Highpoint Rocketraid 644L card
  2018-03-02 10:36 [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card Hans de Goede
@ 2018-03-02 10:36 ` Hans de Goede
  2018-03-02 10:36 ` [PATCH 2/2] PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L Hans de Goede
  2018-03-02 19:29 ` [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card Bjorn Helgaas
  2 siblings, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2018-03-02 10:36 UTC (permalink / raw)
  To: Bjorn Helgaas, Tejun Heo
  Cc: Hans de Goede, linux-pci, linux-ide, linux-kernel, stable

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.

Cc: stable@vger.kernel.org
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1534106
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/ata/ahci.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 355a95a83a34..1ff17799769d 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -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 */
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
  2018-03-02 10:36 [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card Hans de Goede
  2018-03-02 10:36 ` [PATCH 1/2] ahci: " Hans de Goede
@ 2018-03-02 10:36 ` Hans de Goede
  2018-03-02 19:29 ` [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card Bjorn Helgaas
  2 siblings, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2018-03-02 10:36 UTC (permalink / raw)
  To: Bjorn Helgaas, Tejun Heo
  Cc: Hans de Goede, linux-pci, linux-ide, linux-kernel, stable

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.

Cc: stable@vger.kernel.org
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1534106
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/pci/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 8b14bd326d4a..46d47bd6ca1f 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -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,
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card
  2018-03-02 10:36 [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card Hans de Goede
  2018-03-02 10:36 ` [PATCH 1/2] ahci: " Hans de Goede
  2018-03-02 10:36 ` [PATCH 2/2] PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L Hans de Goede
@ 2018-03-02 19:29 ` Bjorn Helgaas
  2018-03-04 20:36   ` Tejun Heo
  2 siblings, 1 reply; 5+ messages in thread
From: Bjorn Helgaas @ 2018-03-02 19:29 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Bjorn Helgaas, Tejun Heo, linux-pci, linux-ide, linux-kernel

On Fri, Mar 02, 2018 at 11:36:31AM +0100, Hans de Goede wrote:
> 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

Acked-by: Bjorn Helgaas <bhelgaas@google.com>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card
  2018-03-02 19:29 ` [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card Bjorn Helgaas
@ 2018-03-04 20:36   ` Tejun Heo
  0 siblings, 0 replies; 5+ messages in thread
From: Tejun Heo @ 2018-03-04 20:36 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Hans de Goede, Bjorn Helgaas, linux-pci, linux-ide, linux-kernel

On Fri, Mar 02, 2018 at 01:29:07PM -0600, Bjorn Helgaas wrote:
> On Fri, Mar 02, 2018 at 11:36:31AM +0100, Hans de Goede wrote:
> > 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
> 
> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> 
> 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.

-- 
tejun

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-04 20:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-02 10:36 [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card Hans de Goede
2018-03-02 10:36 ` [PATCH 1/2] ahci: " Hans de Goede
2018-03-02 10:36 ` [PATCH 2/2] PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L Hans de Goede
2018-03-02 19:29 ` [PATCH 0/2] ahci/pci-quirks: Add PCI-id for the Highpoint Rocketraid 644L card Bjorn Helgaas
2018-03-04 20:36   ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).