From patchwork Mon Aug 7 11:07:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thippeswamy Havalige X-Patchwork-Id: 13343424 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BB192C001DF for ; Mon, 7 Aug 2023 11:08:27 +0000 (UTC) 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:References:In-Reply-To: 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: List-Owner; bh=hV3+AcZIBSlSnF2QFBnbfiQaAzo4zK2Yp6OnHHXLa90=; b=fLf3a41/nb7V1u mVukyDM4+ZU9lUHJ9eB4SWdpUgfGdW3xpsw4jD+fQTE0NbnbsEVrypKvgBNv8EesmKbBBmGuvioPk 1PvNw+32vQcGc6yY4xGh1mAHWCNzDqQel5RHHpxPAU/moZMzONPu228yeSJbHUkOXSvUOZqPC9YnV ZZY+aYtjMOtmV748CqWn8lnFvu+8MurxeC5znCbCaUxw2XIS7apnUpF7mUsSzeE161qxhV1qZ5v1H aKpu43ueK8ZUz+G1QDkv7tBZBhgDKo+I4AalHEtlrDPr4Luc+VY4eLC8gFED86U9LEJtm+R4R7aAW wz09wPCJFjTBCCBBwxFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qSy5h-00Gxqe-0q; Mon, 07 Aug 2023 11:08:01 +0000 Received: from mail-bn8nam11on20600.outbound.protection.outlook.com ([2a01:111:f400:7eae::600] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qSy5c-00GxoE-0m for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2023 11:07:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lhp8A1ksVG1olCMj28NUgPcoYbzvF9lMEQYhphNMuRBx1eaax23k9gavvu55wRMiwTrQOhxgIFiyFWU4ubc49W4gNJRTXVKC1oebpOdaL1+B7mzAD9p/F5fdb6tlV4C2mRa1woL37vANT2ZeZHp6u4LkVwe222jaKH5rSt7zd99EK47wDCiZnTTwfX80pOSCXO101utJpBUqgIM1ZeVe4EAdfFdL7xjadbU0Sr0tASozOQWYjmLDuUqI0uonVOuWoonqIlV8c5B0sBZbgPFD5snjNu7Upteb2c8FVmBm2LzGwqHrcr8YLaRPgwogajkF9cect2YaXWLdeYxl9KE/jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=akB1xvTbx0BTgXcPQfmOaM49N3KYget4rr8n9oenZtE=; b=W12lhCMQdNXNgC1AqkYRx9ejpHftOXcURAqFLoQifgWZW4UkOxYFLM7o8dkx1uz4/OynSesDOiXSN/WsRMQ7aWJnKNyijVleCLiFCixjQ2uNqu4USGZ33/eKda4WkMFSz2+e2/FLrCC8N/ES/G1TdfkpOrpZkoLlN+WVVEswAGQlaSgMuXyHyYHDUKLVMSXUoOuCP+e9mU6HcbrTvZokHqBm+4PteKN7llu7Nzba2uuhUIQv+ii4stdR7dYd/uv354G7+XIKDB2XFgy32S5QWX6Grk84l7CjALYz19Q0B7ZKMp9oIplxeLozb9VClKpswQ01jCT8243SP6KTbjjaEw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=akB1xvTbx0BTgXcPQfmOaM49N3KYget4rr8n9oenZtE=; b=HP7rhWOmdRzYG5uTquU+sGy0xnuU8yQwz4kvMZ2BeBxyMcYdl2d3tzworV/1KMdncWvZhOpvv/lsH2khXYLLM2ILnJPDNx07hUFTfDr++MCRjPitv/AuffbRyol686feZge15b4QcGLMq9dUzmU6+nF0GjUfeunnGVNq8g0g+bw= Received: from SJ0PR13CA0180.namprd13.prod.outlook.com (2603:10b6:a03:2c7::35) by DM6PR12MB4354.namprd12.prod.outlook.com (2603:10b6:5:28f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.27; Mon, 7 Aug 2023 11:07:46 +0000 Received: from MWH0EPF000989E8.namprd02.prod.outlook.com (2603:10b6:a03:2c7:cafe::84) by SJ0PR13CA0180.outlook.office365.com (2603:10b6:a03:2c7::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.15 via Frontend Transport; Mon, 7 Aug 2023 11:07:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by MWH0EPF000989E8.mail.protection.outlook.com (10.167.241.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6652.19 via Frontend Transport; Mon, 7 Aug 2023 11:07:45 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 7 Aug 2023 06:07:43 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 7 Aug 2023 06:07:42 -0500 Received: from xhdthippesw40.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.27 via Frontend Transport; Mon, 7 Aug 2023 06:07:39 -0500 From: Thippeswamy Havalige To: , , , , , CC: , , , , "Thippeswamy Havalige" Subject: [PATCH v1 1/2] PCI: xilinx-nwl: Update ECAM default value and remove unnecessary code. Date: Mon, 7 Aug 2023 16:37:32 +0530 Message-ID: <20230807110733.77364-2-thippeswamy.havalige@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230807110733.77364-1-thippeswamy.havalige@amd.com> References: <20230807110733.77364-1-thippeswamy.havalige@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000989E8:EE_|DM6PR12MB4354:EE_ X-MS-Office365-Filtering-Correlation-Id: 7211efe2-6a18-4f65-a1da-08db97368748 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uVfah3SyLDelixuK5j9c3O0k/zBWsU7CY/sR8Iy5nb0+Vb/ocy9gddBO92lUSXjOwrUaA4qs6lvpr+0qJA4FmnTne/JltnOATE7fqPIcnvm8/xc2MCeHmEF14/JKQq55YBRjtq1thWP0MAp+jWv5OT4xeVvb+BYIzDZvRU+aNLX9pth18juJyspARAX8AByuMkceymPGMwT35wru82RISPx1b6rFIFr7gZvHbEskMfB4IWlQ264ODXxB7Zu8DsBzWY7ok5l417BKbpBCA3PSEnuecNfE+6PUYrQqb0+aT0K1rMXAAnwKCmgfrkNyT0wPdZbUl82hS8fFHduedd+UuMwqIkqsLxTZKUhEC3fMtOVerUGRyfH49HIrH84dUnNwpmJVWS3BWaTlD6zX6SyxTS61sp8nXAptEEmR8+hZ8fezieJd/gnqh5td10Txc/0s4SFXWjimX95jJ1GZOOxsJHjyrPptUu5vkHPC57xSyD+HyX7qN572H3wHMx9BFeDwa36hDMretAVmLtQHDHtKX7QmVa8Qab51s0SgdVMsC99/V+vUULQvyOvCNYIMEAoxmQvCcWsbDWYU7nA1LBVLv1ro7Ekr73AylPF1YqhgZR/cEu6XtbzKmvmwUgNzDOpABaArHHTZo2QGBC0jeQlM8HfyJ2bvxxChixDqizFvJ2yo+b1qGA+rCM9PeSzm1FfLIPmRup5bGo4Osv7iDDd23XmDx+R5oQ30Y/ZfqYlgSo8ewzKUHOFSNEzaM47e4yZqbYWlw1J0Vj5swY3+/DIcdg== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(396003)(346002)(136003)(376002)(39860400002)(451199021)(82310400008)(186006)(1800799003)(40470700004)(46966006)(36840700001)(40480700001)(336012)(40460700003)(2616005)(36756003)(966005)(4326008)(316002)(86362001)(478600001)(81166007)(110136005)(54906003)(356005)(70586007)(70206006)(6666004)(82740400003)(41300700001)(1076003)(26005)(426003)(15650500001)(8676002)(8936002)(47076005)(36860700001)(2906002)(83380400001)(5660300002)(44832011)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2023 11:07:45.5206 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7211efe2-6a18-4f65-a1da-08db97368748 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000989E8.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4354 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230807_040756_287388_43718C95 X-CRM114-Status: GOOD ( 15.84 ) 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Our controller is expecting ECAM size to be programmed by software. By programming "NWL_ECAM_VALUE_DEFAULT 12" controller can access up to 16MB ECAM region which is used to detect 16 buses, so by updating "NWL_ECAM_VALUE_DEFAULT " to 16 so that controller can access up to 256MB ECAM region to detect 256 buses. E_ECAM_CONTROL register from bit 16 to 20 uses this value as input to calculate ECAM Size. The primary,secondary and sub-ordinate bus number registers are updated by Linux PCI core, so removing code which is updating primary,secondary and sub-ordinate bus numbers of type 1 header 18th offset of ECAM. Signed-off-by: Thippeswamy Havalige Signed-off-by: Bharat Kumar Gogada --- | Reported-by: kernel test robot | Closes: | https://lore.kernel.org/oe-kbuild-all/202308040330.eMTjX3tF-lkp@intel. | com/ --- drivers/pci/controller/pcie-xilinx-nwl.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/drivers/pci/controller/pcie-xilinx-nwl.c b/drivers/pci/controller/pcie-xilinx-nwl.c index 176686b..b515019 100644 --- a/drivers/pci/controller/pcie-xilinx-nwl.c +++ b/drivers/pci/controller/pcie-xilinx-nwl.c @@ -126,7 +126,7 @@ #define E_ECAM_CR_ENABLE BIT(0) #define E_ECAM_SIZE_LOC GENMASK(20, 16) #define E_ECAM_SIZE_SHIFT 16 -#define NWL_ECAM_VALUE_DEFAULT 12 +#define NWL_ECAM_VALUE_DEFAULT 16 #define CFG_DMA_REG_BAR GENMASK(2, 0) #define CFG_PCIE_CACHE GENMASK(7, 0) @@ -165,8 +165,6 @@ struct nwl_pcie { u32 ecam_size; int irq_intx; int irq_misc; - u32 ecam_value; - u8 last_busno; struct nwl_msi msi; struct irq_domain *legacy_irq_domain; struct clk *clk; @@ -625,7 +623,7 @@ static int nwl_pcie_bridge_init(struct nwl_pcie *pcie) { struct device *dev = pcie->dev; struct platform_device *pdev = to_platform_device(dev); - u32 breg_val, ecam_val, first_busno = 0; + u32 breg_val, ecam_val; int err; breg_val = nwl_bridge_readl(pcie, E_BREG_CAPABILITIES) & BREG_PRESENT; @@ -675,7 +673,7 @@ static int nwl_pcie_bridge_init(struct nwl_pcie *pcie) E_ECAM_CR_ENABLE, E_ECAM_CONTROL); nwl_bridge_writel(pcie, nwl_bridge_readl(pcie, E_ECAM_CONTROL) | - (pcie->ecam_value << E_ECAM_SIZE_SHIFT), + (NWL_ECAM_VALUE_DEFAULT << E_ECAM_SIZE_SHIFT), E_ECAM_CONTROL); nwl_bridge_writel(pcie, lower_32_bits(pcie->phys_ecam_base), @@ -683,15 +681,6 @@ static int nwl_pcie_bridge_init(struct nwl_pcie *pcie) nwl_bridge_writel(pcie, upper_32_bits(pcie->phys_ecam_base), E_ECAM_BASE_HI); - /* Get bus range */ - ecam_val = nwl_bridge_readl(pcie, E_ECAM_CONTROL); - pcie->last_busno = (ecam_val & E_ECAM_SIZE_LOC) >> E_ECAM_SIZE_SHIFT; - /* Write primary, secondary and subordinate bus numbers */ - ecam_val = first_busno; - ecam_val |= (first_busno + 1) << 8; - ecam_val |= (pcie->last_busno << E_ECAM_SIZE_SHIFT); - writel(ecam_val, (pcie->ecam_base + PCI_PRIMARY_BUS)); - if (nwl_pcie_link_up(pcie)) dev_info(dev, "Link is UP\n"); else @@ -792,7 +781,6 @@ static int nwl_pcie_probe(struct platform_device *pdev) pcie = pci_host_bridge_priv(bridge); pcie->dev = dev; - pcie->ecam_value = NWL_ECAM_VALUE_DEFAULT; err = nwl_pcie_parse_dt(pcie, pdev); if (err) { From patchwork Mon Aug 7 11:07:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thippeswamy Havalige X-Patchwork-Id: 13343426 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 688EBC04A94 for ; Mon, 7 Aug 2023 11:08:28 +0000 (UTC) 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:References:In-Reply-To: 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: List-Owner; bh=d2Du+ZAOSes1a6FsjMdCqyZNmigRYWc31hBggYcyfcE=; b=izH0TiL8oxDshE 3fVkaAT4t4prjGCygMQYbKfNdxmbHbIKPQr190ELykcPyWQzeQcsDT+IqSVFD0UULnN/cCJFy7S28 h5VVfFKhsng18BSmGYbGtmq9nP3rDGd54nPon7gw25aHlJ0TX5rtPG/NyXt/OzIuW0ebdPf+FRZIT xhmNeaxGotFBKffjsh/TaRUbshHLmfWsz4YtcrIms21Lq7DckEQ4Hl+3NbYa3N8Y7zj2Rsew/TDg+ dF5wC1DUr58ph7/dIWUEZkopRmnnYlxJzbJsANkiSqy1vmE9MojXLSwORV+UZ3ztILjo+faW7n6Ot akvN3w+cAVLCNGYu2PYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qSy5h-00Gxqx-2Q; Mon, 07 Aug 2023 11:08:01 +0000 Received: from mail-dm6nam10on20602.outbound.protection.outlook.com ([2a01:111:f400:7e88::602] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qSy5c-00Gxor-2a for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2023 11:07:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BRu2d0p4h4Egibjtzjg9ORmqQACrIxhEdqJ9q5frUjtdiY+PRWP544ZCA8D4JqmGUlCRUPzC297kuvrM7i5eoY567FUGjbTcgP4RGpHibKD7dJ5cQ2XiE4AF49IqK8HNvR3cdN19puqx+k29snhSn2QkoKTYEj7sDWk6K4UZVYH0UXjK61cAfwbqUpPs0MvNsfsV7/mhcnklgFyMb+SAzfa96D3Yh5KZC+OF8oD/ywLznghcuJKLC6YGX/DqiASll5B7lHiDV5MhwBjc+96DbznYDjyGNw9/Hs4ibrWh0SF03aMLSBLHi4Ip9c4VsO67+AZ2CTLYys+syCKbtdgLOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/XapXdSHjTSQE1TBJ8yLdHwqIt9W4MuvhqBNTTPne2k=; b=Zb/O2CU2IDHLWut0utxaK2ehnmxFy9HcN5KAGSgXUlbtg3hJBcVixguUkx2efNdQ7lV6hk3OZpGUCulkfsLYu6VVYDqMGvaWSEiff7G6Atx4KoAj3iGAfIe34nnOJGtvFqSDuqT/xn6trXilRZ87C5ZE9yxPZQA6ymKrmCC4RAKd5tSnVMGMTm7u/MsQVZxwd+NH4EBRH5w+W9u6iheiE6CetvFmEeuvBzcy62J/fF0qrJQXSY5jgd1j0P4AvTRu+iNK1zcB1RzyUnSjQD/xWvd9eNKLWKFXxdCnnHTjxZ+hmyTOoUsuTL9Ai/QxWm2TYskq6lMBIZoMz7CIE5N90w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/XapXdSHjTSQE1TBJ8yLdHwqIt9W4MuvhqBNTTPne2k=; b=o5tP5fc+73gugZgfNycKHV/zsARhEDLgewE5mkz2ATj8Ud7U2rX6/YWrxPxlm/MIibVZrGfWupymxc+OvHCCbBcG2mferWKC5vO71SSbTaakNrsFAl6oX6t7e7ctHE6zayXJjGtn0Pxf6ad+XdLgn5++MDauy8xu13oxocic0tg= Received: from SJ0PR13CA0176.namprd13.prod.outlook.com (2603:10b6:a03:2c7::31) by DM6PR12MB4545.namprd12.prod.outlook.com (2603:10b6:5:2a3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.27; Mon, 7 Aug 2023 11:07:47 +0000 Received: from MWH0EPF000989E8.namprd02.prod.outlook.com (2603:10b6:a03:2c7:cafe::ef) by SJ0PR13CA0176.outlook.office365.com (2603:10b6:a03:2c7::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.16 via Frontend Transport; Mon, 7 Aug 2023 11:07:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by MWH0EPF000989E8.mail.protection.outlook.com (10.167.241.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6652.19 via Frontend Transport; Mon, 7 Aug 2023 11:07:49 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 7 Aug 2023 06:07:46 -0500 Received: from xhdthippesw40.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.27 via Frontend Transport; Mon, 7 Aug 2023 06:07:43 -0500 From: Thippeswamy Havalige To: , , , , , CC: , , , , "Thippeswamy Havalige" Subject: [PATCH v1 2/2] dt-bindings: PCI: xilinx-nwl: Modify ECAM size in example. Date: Mon, 7 Aug 2023 16:37:33 +0530 Message-ID: <20230807110733.77364-3-thippeswamy.havalige@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230807110733.77364-1-thippeswamy.havalige@amd.com> References: <20230807110733.77364-1-thippeswamy.havalige@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000989E8:EE_|DM6PR12MB4545:EE_ X-MS-Office365-Filtering-Correlation-Id: f85c3ce2-fb7f-4f4f-9bc8-08db9736896a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uIlWsNIvrXLHhsFhC2p/S4AsrAOsF7gkJzsr0Z8WorSmCVZyPs05pTZL+CgRtu78lEjZQiL0hA9LlClclxge0Sh57Z142PK23AolA7UQLpkWbpxXOGyCjkUbg8xw1KaMvNBm7pf/6/Q8KyFRXhs1VYsX+2FB6cVxlkiMZBbElnRO3DyEmUIZLB861kG5iXSwkZTJouZek2J0HCIm1kQb2faLi1Vux7ILzsNvL/4Fh0Gh4tT3a/tBr6jkfMPxnvdu7R7114nz+3UlExWj2EVcD8geJf8BuHkQsfCcoOyNGXk/nhV4V0uCaVI+mfe2+YiDfXgd4cT3oDkfe7xlcIvCxNoIgCN7ub8I/tSxy43xWiEy+8zKRFZdYaBI3TMlCQ4XzJ7vdvOy80VjSjYLWh8KBnb1wAsjEgW3l7/81b9u0+iV9BMJV/JpQ7Tzl7LW4CQCeiqo39aZK2k82+sfmHYsgIe74JrNG5wCqEh2XDjOjuz7se9iztjHRUWJ96iMhEzqBbCvLzqLIdJN0iL70UUxgxI/getCNFJMEkUyj+2BRzrNw4/XV/RfcA0NgI/RuQesDUkkq/fQtSa+Ai7/W/fuv2aL/sJTbtmdOI2OXdNQbQ5KbU/YIAeeE8auTpq4HpT5/oV1XYM5hhZRBfhLKrcyZ9PBj8hqN2NYF9aef4A2I86XJSducbZMiiKpoU5x9NGfzYzUVYREwT0okqEU57zd02G6DVR0Q3hZgjcbih5M8vzu8hRjqIC/HoJrfCy6juoCX1f+HGn+z/4YGYTpjwuydg== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(4636009)(346002)(136003)(376002)(396003)(39860400002)(451199021)(82310400008)(1800799003)(186006)(46966006)(36840700001)(40470700004)(40480700001)(26005)(1076003)(40460700003)(36756003)(110136005)(54906003)(44832011)(5660300002)(86362001)(4744005)(4326008)(2906002)(70586007)(70206006)(41300700001)(8676002)(316002)(8936002)(6666004)(478600001)(356005)(81166007)(82740400003)(2616005)(47076005)(83380400001)(36860700001)(426003)(336012)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2023 11:07:49.1144 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f85c3ce2-fb7f-4f4f-9bc8-08db9736896a X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000989E8.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4545 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230807_040756_840321_D181012D X-CRM114-Status: GOOD ( 10.25 ) 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update ECAM size in example to discover up to 256 buses. Signed-off-by: Thippeswamy Havalige Signed-off-by: Bharat Kumar Gogada --- Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml b/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml index 8976025..426f90a 100644 --- a/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml @@ -118,7 +118,7 @@ examples: compatible = "xlnx,nwl-pcie-2.11"; reg = <0x0 0xfd0e0000 0x0 0x1000>, <0x0 0xfd480000 0x0 0x1000>, - <0x80 0x00000000 0x0 0x1000000>; + <0x80 0x00000000 0x0 0x10000000>; reg-names = "breg", "pcireg", "cfg"; ranges = <0x02000000 0x0 0xe0000000 0x0 0xe0000000 0x0 0x10000000>, <0x43000000 0x00000006 0x0 0x00000006 0x0 0x00000002 0x0>;