From patchwork Thu Jun 24 21:55:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12343263 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A64E9C49EA6 for ; Thu, 24 Jun 2021 21:56:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 84820613C7 for ; Thu, 24 Jun 2021 21:56:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232300AbhFXV63 (ORCPT ); Thu, 24 Jun 2021 17:58:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:60306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbhFXV63 (ORCPT ); Thu, 24 Jun 2021 17:58:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B89D5613B9; Thu, 24 Jun 2021 21:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624571769; bh=slipC8dGfBgDgxDLZ5iCLz5k1CcTU4Vtq1lKSgtz9D0=; h=From:To:Cc:Subject:Date:From; b=BIaqdFGp1N5hMO9FWorW3GrKZ6ih5FSKYhBvRWduHSmpt08KFjt/niaARULaU8kRV N4I8uhg1cGNx4z3R0v9LvBY0SCU5D8DqnohSq76WYbmFoPyRhFjSzeBa+ThjgkT85f 7PSZX/CH1ENJmDkSIogRKXZE57ZXEaJ7qd6Gx0dQVQ7pomosSKiVGxPpwmtja278sb hL94axN36e3qFt8L4OCqUhpNcE/G/Zk1a2B/wH55XcTnaKZK9xCudtuP8PSBX8Fymr sBz2Sk65G1ZPZ2P6tigzxjmHa20fivxODOJ40UuhhuXdscxdVpMM5E0SvkfEhjECCv zay8h5MnmuKVA== Received: by pali.im (Postfix) id 3A3EC8A3; Thu, 24 Jun 2021 23:56:07 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Lorenzo Pieralisi , Thomas Petazzoni , Bjorn Helgaas , Rob Herring , Gregory Clement Cc: =?utf-8?q?Marek_Beh=C3=BAn?= , "Remi Pommarel" , Xogium , "Tomasz Maciej Nowak" , "Marc Zyngier" , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] PCI: aardvark: Resource fixes Date: Thu, 24 Jun 2021 23:55:44 +0200 Message-Id: <20210624215546.4015-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org This patch series fixes configuring PCIe resources (IO and MEM) in aardvark controller driver. It is required to initialize BARs on systems with more cards, e.g. NVMe disks and WiFi AX cards. Pali Rohár (2): PCI: aardvark: Configure PCIe resources from 'ranges' DT property arm64: dts: marvell: armada-37xx: Extend PCIe MEM space .../dts/marvell/armada-3720-turris-mox.dts | 17 ++ arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 11 +- drivers/pci/controller/pci-aardvark.c | 195 +++++++++++++++++- 3 files changed, 220 insertions(+), 3 deletions(-)