From patchwork Tue Apr 4 12:13:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1764843 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=GNv/YyOf; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=WzYyhkF+; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PrRWB5gvTz1yZQ for ; Tue, 4 Apr 2023 22:13:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=tLUJBAFR/9eGmPxh8vxOiRXbvPiB9Nnkn7Kr8pchM9I=; b=GNv/YyOfAwlBBh RQhP3ynEZ0rzkPzZNQ4I4ekywHLFt5c4QaESWw5eJrqja4y43im2L9PT3O7t1gIw7sMtz7z2ctZzn d1TxdOrQZIY3F+PO+GB3pvRgKLiujLvB3D1oGSbEV1uwrBxbCvBWCHBIpq4Mq7daE1Ebs/gfnzXdt PraED/JV35f1GMKciPJC+epRjOS0fbXL/Q7QKHBzdJXOZ9BA6qQJ/vbgtKNreboGHkVVEU8CByWl1 aJXQ2e9gtbqgbIJSPTOYRHe4vZbV6Z0rSzOily+yhEM/jtASeGQBZh5PUXTMdNIxcvLBZ/owuP8nx otuC6pSw3QQpA8R86txw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjfXP-001Dsw-07; Tue, 04 Apr 2023 12:13:23 +0000 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjfXM-001Drq-2j for linux-arm-kernel@lists.infradead.org; Tue, 04 Apr 2023 12:13:22 +0000 Received: by mail-oi1-x231.google.com with SMTP id b19so24038379oib.7 for ; Tue, 04 Apr 2023 05:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680610394; x=1683202394; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=iaoakFHQ4sKbZna+BPPJOxPtItaiV9DyLX01U7etkNo=; b=WzYyhkF+9DGAybwGIkmVRXJtZna76z4mugSE6Zs42n78whF133YNJ4dupfjHeOBAXM zzp8lsU3P8sFrwmBCceeZrelquajG8zOjVzNtaByWxIPzd3DACVjN8VPaVcdO6jnY7RJ jqic3cQVH2PZtSbxBtlZHPPv27ZmOJa4M+LWDKOzGbTJitXYUF8deUwEvzitLrkeRneC jA3/7WY/8TOqkujx1i2oFJelzsmuV1DaMsjG+pCSOf9Q5c7E4U6t781TuQYAEOFongUr KZ1/OJMILgJh6RpEWJ2ogz26liZvuWojD6Fd2rITpujHi+6XPWu8gTN5kHFBuq05LeUd mzpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680610394; x=1683202394; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iaoakFHQ4sKbZna+BPPJOxPtItaiV9DyLX01U7etkNo=; b=6B/69TCCVsqZCgYP8BYqVppSOsCPtr/XSKC2nubq2inJg3M0dVCgA/DWzF5LdLvk2l kl/TdERdjooC5KRNYZsMlU00+3SgBkhf44ailcHIZKLKJDKWJ51AXbr1U1zbky0RFfKv OULg/ZimO0R3jj6G2w7OQ3dife7YtShGMod4DqiXJk6qWbCaqxIFhnrJvvLc1cxCvMVn TvGJph0VqA2xv6smfnyi0ZXyA0N8g3W72QbykKIxDXCpHdN3h4hFDdjO0Y+hHSQqAndz PLLhV7PKIUBPKzSZu8gbdn37aaJq0wxk8EkrcIVP4PCXZRrqnxMPso6irSILxL4Lg5u/ S+aA== X-Gm-Message-State: AAQBX9f/W6fOxOzvbd0SkTPEyMM1OsfBDMhZxkWWb3Sz5HzmdUnDQGrg 6z1FYKW/YWyDYOa7N00OQxs= X-Google-Smtp-Source: AKy350agFVn+b3wp8j68XFEf0L+tIH5Blbc2kPZ3GPur8RcA6+KO0Cj/JJb+OvprzANgzCPNEGpSYg== X-Received: by 2002:a05:6808:1392:b0:386:d562:83be with SMTP id c18-20020a056808139200b00386d56283bemr1439343oiw.5.1680610394547; Tue, 04 Apr 2023 05:13:14 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:e688:6036:14ef:6bb7]) by smtp.gmail.com with ESMTPSA id n6-20020a05680803a600b00387372f548asm5018613oie.16.2023.04.04.05.13.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 05:13:14 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: hongxing.zhu@nxp.com, linux-arm-kernel@lists.infradead.org, broonie@kernel.org, Fabio Estevam , Mattias Barthel Subject: [PATCH] ARM: imx_v6_v7_defconfig: Fix unintentional disablement of PCI Date: Tue, 4 Apr 2023 09:13:03 -0300 Message-Id: <20230404121303.624422-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_051320_925631_F085BD72 X-CRM114-Status: GOOD ( 14.05 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Fabio Estevam Since commit 75c2f26da03f ("PCI: imx6: Add i.MX PCIe EP mode support") the i.MX6 PCI driver is no longer selected by default. The existing PCI_IMX6 was made a hidden option, selected by new options PC [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:231 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [festevam[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org From: Fabio Estevam Since commit 75c2f26da03f ("PCI: imx6: Add i.MX PCIe EP mode support") the i.MX6 PCI driver is no longer selected by default. The existing PCI_IMX6 was made a hidden option, selected by new options PCI_IMX6_HOST (for the existing support) and PCI_IMX6_EP (for the endpoint mode), but there has been no corresponding update to imx_v6_v7_defconfig so the PCI_IMX6 ends up getting disabled. Switch imx_v6_v7_defconfig to PCI_IMX6_HOST to preserve the existing functionality. This is based on the same fix done in commit 0cd5780eb625 ("arm64: defconfig: Fix unintentional disablement of PCI on i.MX"). Fixes: 75c2f26da03f ("PCI: imx6: Add i.MX PCIe EP mode support") Reported-by: Mattias Barthel Signed-off-by: Fabio Estevam --- arch/arm/configs/imx_v6_v7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 225174b7c310..8a8d7e73aa33 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -76,7 +76,7 @@ CONFIG_RFKILL=y CONFIG_RFKILL_INPUT=y CONFIG_PCI=y CONFIG_PCI_MSI=y -CONFIG_PCI_IMX6=y +CONFIG_PCI_IMX6_HOST=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_STANDALONE is not set