Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp264917pxf; Wed, 17 Mar 2021 04:58:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycO5HzbcsN+uNgK8xEYwRLkflhEjWcvqOC/GE0+AINTTjH9LBFD70mDYIJFAd48RQ9cX/W X-Received: by 2002:aa7:c907:: with SMTP id b7mr42355320edt.37.1615982329914; Wed, 17 Mar 2021 04:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615982329; cv=none; d=google.com; s=arc-20160816; b=SilCccrdkSSBDTnfplwxtR15SaBA1IfQldXnJ54nBax6dpmPtRoOTLYlg98tZ3AWz+ fPcukxjcDxQJAJp+HsNv4WV0A8YD33bCHIV7YoaO8XB5sW3PZAQ2h4xXkdMbL0F+5Bvn IODHCm57r8Gy2cQMgRpq/9sRbPHWkfpmHcYZ9ghtM65g2N/pXRLZTj1W132C5MtDN99a YrZOp1CvkEIo1B60Z7tv/iFIAKkAqpURZ9to4I7wFRFDCOThivUnLi6iEsNmXR6x38dK xRtecHEdtqQCQUXN9F1f40MTxELjDc6QD9S+Gg5cUYhNMINa/dCvi4e52wNbyLJbQUcb TWGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=RR+rcy6pnAWWL/XpVw755u50h+DKgQXAmw6pXe2bZw0=; b=y32QFclzIICqyQRfoIpEt5z35ctCYGbBxe3PDbHkDJl5s+HJPfKnRg8pAMrhOk1aH6 1PtZuoG/k3c7ND4E7voVSVCdLOos0HYm3IJLbLXrpIJ5uLxYxKePFNGNPUdmkXCGI/d4 i6oLXwsQwC84ts4UuLMbB+a7Iklym5yfnnygGdx0by0/bFk+nCJE5dYiHkw/+pGpsoHp NAJN8F30YlbIZfN+BT/NLxs1ap2kKC5exQIbYXnO7bdpdlVvpXrezt5UYqLNtPV3JSSd 4a7gCISCsI4QJPD3gPn3yUoc8SRXFaulZrVQ8nexgAkSU38vMQcTtiNVEunZlB4tYcJT Cfhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Cj0olu2v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si16175374ejb.425.2021.03.17.04.58.27; Wed, 17 Mar 2021 04:58:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Cj0olu2v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231546AbhCQL5Q (ORCPT + 99 others); Wed, 17 Mar 2021 07:57:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231151AbhCQL5H (ORCPT ); Wed, 17 Mar 2021 07:57:07 -0400 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8166C06174A for ; Wed, 17 Mar 2021 04:57:07 -0700 (PDT) Received: by mail-il1-x134.google.com with SMTP id d2so1180773ilm.10 for ; Wed, 17 Mar 2021 04:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RR+rcy6pnAWWL/XpVw755u50h+DKgQXAmw6pXe2bZw0=; b=Cj0olu2vEsqHE62+jHcgS3nBnS2+BtrcaF3M5XhgRw2/k4xehdNkzvoLVDfvV5luvY XuuF2Sr2g2D6/RuclVad1a8P/orRAeYIKDMMwqreSWUXCCD+dKYdjz9/MUUf/g1VZev4 Qszgq5VihiYWDWj+CR49913zzBuxGLQ48uj0RXNK9kYcBWDuONoMoYDPqk2LVu6GYWt6 IGF18pW+W/Bd/+XkriLoR1Hw5U+pZO+KOTlx2fn/R7s34pivmVC97tENj9fTLlr6dkWZ HuFDk8QYIQFSsMTJseLAHIowFnvkpoOkDkXQKPqXccRQTJ0ikBe8DFvleOYLLxB4nX5r LeVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RR+rcy6pnAWWL/XpVw755u50h+DKgQXAmw6pXe2bZw0=; b=e06QZ6e34hbV6l52c8ZCxnooGpqCanaJJ6i5Um/LPrkVagNl7m5ZUwnpzO7kCmvbKd SFsR7nk7nh86Y74pVo2je/Cbx8uDA73X4Ov3AjJ/9mSpX+kVHgkqWnxQiHv/w5PvzjPt qw5pwq/NANoGb4snSd939U6r7KF3wOgrpk+5DPv5hLQbF8XqGLsMeGLrKpJ7fPJpdlGz 31pQju2YifAfRy4N5GzIBuqWJ9EVejSTWxwo9tlLoLmeszBH50lg4RhULNYLoDoPkDV6 +AE0IE378pb9l8Z3m1+5oR2lQSbH0eKeebhPDcp86IFOSyy/a9pAPdjrG8n97HLtYUrJ RTUA== X-Gm-Message-State: AOAM533ndQujOeWWzcxdNbpK71C1JOsfdYBtsVWteVtQwoh3i3mir78m 2Vu/aszMxjOzj6HaTu8FbSX2WygXmIvw58UBVlY= X-Received: by 2002:a92:874d:: with SMTP id d13mr6985839ilm.214.1615982227034; Wed, 17 Mar 2021 04:57:07 -0700 (PDT) MIME-Version: 1.0 References: <20210311192746.7362-1-heiko.thiery@gmail.com> <20210317080249.GT11246@dragon> In-Reply-To: From: Heiko Thiery Date: Wed, 17 Mar 2021 12:56:56 +0100 Message-ID: Subject: Re: [PATCH v2] arm64: configs: Enable PCIe support for imx8mq boards To: Shawn Guo Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Michael Walle , Lucas Stach , Baruch Siach , Fabio Estevam , Andrey Smirnov , Chris Healy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shawn, Am Mi., 17. M=C3=A4rz 2021 um 12:52 Uhr schrieb Heiko Thiery : > > Hi Shawn, > > Am Mi., 17. M=C3=A4rz 2021 um 09:02 Uhr schrieb Shawn Guo : > > > > On Thu, Mar 11, 2021 at 08:27:47PM +0100, Heiko Thiery wrote: > > > Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, > > > imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. > > > > > > Signed-off-by: Heiko Thiery > > > --- > > > v2: > > > - slightly modified the commit message (Fabio Estevam) > > > > > > arch/arm64/configs/defconfig | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defcon= fig > > > index 1f673b00c5f5..522bae6a8f21 100644 > > > --- a/arch/arm64/configs/defconfig > > > +++ b/arch/arm64/configs/defconfig > > > @@ -225,6 +225,7 @@ CONFIG_PCI_HOST_THUNDER_PEM=3Dy > > > CONFIG_PCI_HOST_THUNDER_ECAM=3Dy > > > CONFIG_PCIE_ROCKCHIP_HOST=3Dm > > > CONFIG_PCIE_BRCMSTB=3Dm > > > +CONFIG_PCI_IMX6=3Dy > > > > Do we really want it to be built-in? If so, it would be nice to have s= ome > > comments about that in commit log. Or do you mean why it cannot be enabled as a module? The PCI_IMX6 driver is only a bool option in the Kconfig and cannot be built as a module. So it is required to have it built-in. > > Why would you not want it? I see other SOC PCI controllers are also > enabled. I would like to have it because we have an Intel e1000 on our > pitx-imx8m board and the seconds PCI slot is for a m.2 card. So we > would have the PCI support with the default defconfig. On the NXP > imx8mq EVK a m.2 is connected to the PCI interface. > > Is this the kind of comments you want? > > > Shawn > > > > > CONFIG_PCI_LAYERSCAPE=3Dy > > > CONFIG_PCIE_LAYERSCAPE_GEN4=3Dy > > > CONFIG_PCI_HISI=3Dy > > > -- > > > 2.30.0 > > > > > BR > -- > Heiko > -- > Heiko