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: 1496840 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=BIaqdFGp; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4G9v8q5Hdzz9sRf for ; Fri, 25 Jun 2021 07:56:11 +1000 (AEST) 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(-)