* [PATCH RESEND] PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
@ 2023-06-07 17:18 Robin Murphy
2023-06-08 4:51 ` Christoph Hellwig
2023-06-08 17:19 ` Bjorn Helgaas
0 siblings, 2 replies; 3+ messages in thread
From: Robin Murphy @ 2023-06-07 17:18 UTC (permalink / raw)
To: bhelgaas; +Cc: linux-pci, linux-kernel, iommu, hch, stable, Jason Adriaanse
Marvell's own product brief implies the 92xx series are a closely
related family, and sure enough it turns out that 9235 seems to need the
same quirk as the other three, although possibly only when certain ports
are used.
CC: stable@vger.kernel.org
Reported-by: Jason Adriaanse <jason_a69@yahoo.co.uk>
Link: https://lore.kernel.org/linux-iommu/2a699a99-545c-1324-e052-7d2f41fed1ae@yahoo.co.uk/
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
---
Note that the actual regression which started the thread is a different
matter, wherein a particular combination of parameters which used to put
intel-iommu into passthrough mode now enables full translation instead.
Take #2, hopefully not royally screwing up my email alises this time.
Sorry about that...
drivers/pci/quirks.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index f4e2a88729fd..3186f2c84eab 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -4174,6 +4174,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9220,
/* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c49 */
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9230,
quirk_dma_func1_alias);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9235,
+ 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,
--
2.39.2.101.g768bb238c484.dirty
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
2023-06-07 17:18 [PATCH RESEND] PCI: Add function 1 DMA alias quirk for Marvell 88SE9235 Robin Murphy
@ 2023-06-08 4:51 ` Christoph Hellwig
2023-06-08 17:19 ` Bjorn Helgaas
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2023-06-08 4:51 UTC (permalink / raw)
To: Robin Murphy
Cc: bhelgaas, linux-pci, linux-kernel, iommu, hch, stable,
Jason Adriaanse
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
2023-06-07 17:18 [PATCH RESEND] PCI: Add function 1 DMA alias quirk for Marvell 88SE9235 Robin Murphy
2023-06-08 4:51 ` Christoph Hellwig
@ 2023-06-08 17:19 ` Bjorn Helgaas
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2023-06-08 17:19 UTC (permalink / raw)
To: Robin Murphy
Cc: bhelgaas, linux-pci, linux-kernel, iommu, hch, stable,
Jason Adriaanse
On Wed, Jun 07, 2023 at 06:18:47PM +0100, Robin Murphy wrote:
> Marvell's own product brief implies the 92xx series are a closely
> related family, and sure enough it turns out that 9235 seems to need the
> same quirk as the other three, although possibly only when certain ports
> are used.
>
> CC: stable@vger.kernel.org
> Reported-by: Jason Adriaanse <jason_a69@yahoo.co.uk>
> Link: https://lore.kernel.org/linux-iommu/2a699a99-545c-1324-e052-7d2f41fed1ae@yahoo.co.uk/
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Applied with Christoph's reviewed-by to pci/virtualization for v6.5,
thanks!
> ---
>
> Note that the actual regression which started the thread is a different
> matter, wherein a particular combination of parameters which used to put
> intel-iommu into passthrough mode now enables full translation instead.
>
> Take #2, hopefully not royally screwing up my email alises this time.
> Sorry about that...
>
> drivers/pci/quirks.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index f4e2a88729fd..3186f2c84eab 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -4174,6 +4174,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9220,
> /* https://bugzilla.kernel.org/show_bug.cgi?id=42679#c49 */
> DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9230,
> quirk_dma_func1_alias);
> +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL_EXT, 0x9235,
> + 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,
> --
> 2.39.2.101.g768bb238c484.dirty
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-08 17:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07 17:18 [PATCH RESEND] PCI: Add function 1 DMA alias quirk for Marvell 88SE9235 Robin Murphy
2023-06-08 4:51 ` Christoph Hellwig
2023-06-08 17:19 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox