Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1063148rwd; Wed, 7 Jun 2023 10:25:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5KD+Wx1rnavOapnL+H3HxUnZCIgqrt1pH/F3/rANj3l3NmUJlqBHiy7cvdL+zZclfobguQ X-Received: by 2002:a17:902:7595:b0:1b1:ee91:900c with SMTP id j21-20020a170902759500b001b1ee91900cmr2225395pll.49.1686158705183; Wed, 07 Jun 2023 10:25:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686158705; cv=none; d=google.com; s=arc-20160816; b=Es5De/2ZnWXUeAQMR8Ib4pr5Eaj/Mq23PXBnh1HkZgFpFatDbGzrOWq10r8RTYqNni UIgFdkjEeq4xpPWEZrD9g1ItTqDoPQSPOYudtnuDQTrAE92s07bk8KuJpxD/EX7pqrSn oopTq+M9Q3dopybMG9Ol/TIofErLAP0fc7PtDvLefY8G5Y+Vt1KTnOCJebZt4sarcKvE JqV7uvdiQA2fvRZZiJJBoWh6zHTeRAgR+pZxYkXOfMM1R/eO5yI4Q5y9yGuL/2AHvb16 9CssqRJ+BhuqYZwVnk7NqK9uCTCMQ5ejc6aAJlG6AAAdBLnEsJPb5JnMlNlgG8KWbkWK jD/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=KcJLMskIJK3+NTUoaSzQ5SeG4oWX8Gw/9uJRAls17r0=; b=XOCKv5c/ohvSXOdICDKIIM7CugCNhYUaT+OQ5onmDjfxgIy8005P6fqNMI4Qa4hpdk FfkXf0D18EGFAw+V1sdJUEdRvcW2KQcrYogDP3MGoMM2/Te2X/1EVEpMJgTvxYA/aE7W qq1QuuPy8obpcIUjSu9OiWFyDzN/IRYMD0jjTsbEay8miVAKjTcTlZUxVHrGsRq32hZj sAcS9zo5abwTlGjZglT5Qa/nKaOEeeWBS+xh60sycP8O3gMKB36aO/rNvgumHJQxa/Tl F41NrptiKa6O3c9NqVwGrvn0cgxMtSH0U9s0cIDJViawErRSHsVC0s3NahRDNaXW7Yro yD+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ik23-20020a170902ab1700b001b04a202754si8799970plb.448.2023.06.07.10.24.49; Wed, 07 Jun 2023 10:25:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231455AbjFGRT2 (ORCPT + 99 others); Wed, 7 Jun 2023 13:19:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231346AbjFGRT1 (ORCPT ); Wed, 7 Jun 2023 13:19:27 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1AE0E192; Wed, 7 Jun 2023 10:19:26 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 230E0AB6; Wed, 7 Jun 2023 10:20:11 -0700 (PDT) Received: from e121345-lin.cambridge.arm.com (e121345-lin.cambridge.arm.com [10.1.196.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A1B193F71E; Wed, 7 Jun 2023 10:19:24 -0700 (PDT) From: Robin Murphy To: bhelgaas@google.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, hch@infradead.org, stable@vger.kernel.org, Jason Adriaanse Subject: [PATCH RESEND] PCI: Add function 1 DMA alias quirk for Marvell 88SE9235 Date: Wed, 7 Jun 2023 18:18:47 +0100 Message-Id: <731507e05d70239aec96fcbfab6e65d8ce00edd2.1686157165.git.robin.murphy@arm.com> X-Mailer: git-send-email 2.39.2.101.g768bb238c484.dirty MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Link: https://lore.kernel.org/linux-iommu/2a699a99-545c-1324-e052-7d2f41fed1ae@yahoo.co.uk/ Signed-off-by: Robin Murphy --- 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