Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1723321pxb; Mon, 8 Mar 2021 05:01:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4dIxsZw/ET7z/KmixLrFJbeWl4OQsV1waGMuR81KnCnuKRLFGVdC57urzIiWrxikMyj/X X-Received: by 2002:a17:907:3ea0:: with SMTP id hs32mr14750501ejc.411.1615208460368; Mon, 08 Mar 2021 05:01:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615208460; cv=none; d=google.com; s=arc-20160816; b=q/lmK7rcm5ryyR/Glm0nXYYaIaSFUqDrt7BNJAt1XInXl4tWItdpqRGRpxKtn5Zn5r HHiDUIF+qV7MvOArI2ckl4dqKkESwfa6JRdscrffv8HOCrKFhnUiAkuBAv8VUh+eCN32 dz6u6ZD2F5ik4pS2iSOwR8X3fLviHbdm6GPOhRquk08mejD/qrlJf6WpdmvqFVaebmKA GbNum4YJjHVilI0bPozqo8Bbzb2zY6pvH4uw5hrHur5NfciH27RHYhZfno4/Opw7RjXP oFnpv9goCgEVWoNa7aQEEGPfIsCesZL5FhnRgSg5g4VUljUTlnznNHkQg5QrSs83V2jq e7IA== 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=8pF8uR2V8h6tExgzDgjhyhnOTS0E2IJvDkFMWJdXK5I=; b=wg/7e5BjAAuVIylgDMzSxrl4MNUT7l2ECEfMW+HbIJk2efb46B4xdwblq0ea0yBAfQ MLqMmErU70nmwm/tiPaYdch6Ctlk9xyYCHS0PA/ji1GRQ3Ib5n6gapJL4NCz3lLkwc6q Jo6YKjI638dFiYAR2o2nQwgX2wRA2etX7fz54H44cg3W9RsM2tv8Yj63RgctVduhKbxp zF5exaBDe3bl9UkKs8M9vr4Uwg1SitJa0VspRIZ1586P6WUCVWwBtlaZb1ClaQu7yW5R pMFZtCBcCQ90gmKHf3bFoyIkkauy2eoc5zsJjJQGrf9TLFuYVCQ85QZKfSNp7A4grF02 MDnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N0cGRlMd; 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 r21si6779055ejo.123.2021.03.08.05.00.37; Mon, 08 Mar 2021 05:01:00 -0800 (PST) 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=N0cGRlMd; 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 S229646AbhCHM7H (ORCPT + 99 others); Mon, 8 Mar 2021 07:59:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbhCHM6x (ORCPT ); Mon, 8 Mar 2021 07:58:53 -0500 Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A683C06174A for ; Mon, 8 Mar 2021 04:58:53 -0800 (PST) Received: by mail-il1-x12d.google.com with SMTP id p10so8693417ils.9 for ; Mon, 08 Mar 2021 04:58:53 -0800 (PST) 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=8pF8uR2V8h6tExgzDgjhyhnOTS0E2IJvDkFMWJdXK5I=; b=N0cGRlMdBVqNyx4WDmWjwO45vvTRmDVJxaprExcasEF2xEdHGrF66N56dbABm+QBTc brq3nRTCBvHvKMNx8XDci0DHryI0ekJZaYC6GAFf1s1GYzzD0SCIlAcuixgcNye9dERk avK/tdva2YJarbrgHCsmqe0GNyKfN9Ro0lXEmqTSsbV7mO7LEZdJNoZPq7ZZ/R7ZNrMV AiQwi9JOV58wxravnVBHx+lyEaBwAJQbDFsohVSjf9+8rNeVf8GFTs8FvKOOChUN38Bt ZE/ZIx7Wk9rT4xkxNoIylYYWS5jhWQCdBryT3B5bauosehiL7M2K33cpPFS2ZJZJ7LXs Xo4w== 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=8pF8uR2V8h6tExgzDgjhyhnOTS0E2IJvDkFMWJdXK5I=; b=XnT/pFHQCRZbTuHTUplJ6WsWpyAYU76FZCC/OTs2rdrLmX47mho3NsorBFnH5fTolR 62llcr4XFNBe/ajZnF/Ss5FgspAPDXWcr6tl8G30aYdN3fyhIlH/mGrRiMnn4K3rrDrH p2gM9vfAoqO/0UCa51uveEUucBH8sgLV4uy/MsulyzO0t1huwD4W0HJbRFICp076+Re4 MFjO6WdnePmka0b92Z+h90lA5/ogto+RRdOoWHcMFkap2AkY3Qh8tqBkEQ8WNqwgTZIg Ss7ru6PUQMj3K8FHdbcLo1U6UWQeeNmhCNjsY1mzlh1ytYRmF4qWa0ECd+Ff4bnwbZ9+ /N6w== X-Gm-Message-State: AOAM531OasaEkTMvhE+O7QpZQEeRxmUSXjOXtlZ+g7293AxLMEu6XtBr +yYSulnkieVN23BPb2XZsO4rXsODIIImM/7Zq2k= X-Received: by 2002:a92:d981:: with SMTP id r1mr19348478iln.98.1615208332833; Mon, 08 Mar 2021 04:58:52 -0800 (PST) MIME-Version: 1.0 References: <20210308090329.17507-1-heiko.thiery@gmail.com> In-Reply-To: <20210308090329.17507-1-heiko.thiery@gmail.com> From: Heiko Thiery Date: Mon, 8 Mar 2021 13:58:41 +0100 Message-ID: Subject: Re: [PATCH] arm64: configs: Enable PCIe support for imx8mq boards To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Michael Walle 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 all, Am Mo., 8. M=C3=A4rz 2021 um 10:03 Uhr schrieb Heiko Thiery : > > Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, > imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. This increases the image > by 64k. The growth of 64k is not right. Using the support script shows: $ scripts/bloat-o-meter vmlinux vmlinux.with_pci add/remove: 22/2 grow/shrink: 2/0 up/down: 8338/-16 (8322) Function old new delta imx6_pcie_probe - 1804 +1804 imx6_pcie_deassert_core_reset - 1356 +1356 imx6_pcie_of_match - 1200 +1200 imx6_pcie_start_link - 692 +692 imx6_pcie_suspend_noirq - 528 +528 imx6_pcie_init_phy - 496 +496 imx6_pcie_host_init - 336 +336 imx6_pcie_assert_core_reset - 332 +332 pcie_phy_write - 272 +272 imx6_pcie_driver - 200 +200 imx6_pcie_pm_ops - 184 +184 pcie_phy_read - 168 +168 imx6_pcie_resume_noirq - 156 +156 pcie_phy_wait_ack - 140 +140 pcie_phy_poll_ack.isra - 124 +124 imx6_pcie_quirk - 124 +124 drvdata - 60 +60 dw_pcie_ops 208 264 +56 imx6_pcie_init - 40 +40 imx6_pcie_shutdown - 32 +32 imx6_pcie_host_ops - 16 +16 e843419@0d4b_0001256e_27c4 - 8 +8 e843419@0590_00007810_4f0 - 8 +8 vermagic 76 82 +6 e843419@0c2e_0001064f_80 8 - -8 e843419@0633_00008212_13c 8 - -8 Total: Before=3D21884381, After=3D21892703, chg +0.04% > Signed-off-by: Heiko Thiery > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index d612f633b771..4b7b4a8f1860 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 > CONFIG_PCI_LAYERSCAPE=3Dy > CONFIG_PCIE_LAYERSCAPE_GEN4=3Dy > CONFIG_PCI_HISI=3Dy > -- > 2.30.0 > --=20 Heiko