From mboxrd@z Thu Jan 1 00:00:00 1970 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 24B86E9B351 for ; Mon, 2 Mar 2026 10:00:19 +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: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:In-Reply-To:References: List-Owner; bh=ctITw8waceKhJy6MjRySFOLQIor7V9gk4g07dz/aCRQ=; b=bABjGT4Xo46KuZ SovXCVHXb8PqLpaxmxIFZmsawfoJJ8FgVy/EUfcJIbMfI+5La/KzAObm/864Ly0aHVyVCa3Uqcndo 14XHpwwGYknFJpK7FI39QDpBSCRkNZI+mEBKQFZYeMoZhlj14Hrft//a1FjkFs6+gLXWhLL0+kSYn WOG5BQpsSu4faflGiEgXNsmFfdnFlhA+wHtREpucyDHFZc8p/r8BAPwEowLJWsULnUYBhyx4+A5OU gLvRLRYmiZVgxDaS37D7n2JEf9/v0yW1UUxA2yIO4HUaBOoUaqre30WCyX1Y596MMIhMxi3/UH+8/ adDxiCWdZWg9OICZBkuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vx04M-0000000CdXC-1mum; Mon, 02 Mar 2026 10:00:06 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vx04J-0000000CdWE-1f7F; Mon, 02 Mar 2026 10:00:04 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 8664143FE1; Mon, 2 Mar 2026 10:00:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1A15C19423; Mon, 2 Mar 2026 09:59:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772445602; bh=IoPwRnzhcjgMfGxBVDJ5aughrS0y6ra32/Xy0hY7TLw=; h=From:To:Cc:Subject:Date:From; b=c+MpGq1dnuTjUI7f0FrIbg04S4ve5/201mDbKqansVCUw6ROye6c/d1QelKslSjbF nba0cVLK3eHGlu7U4FA/t8bBHPJoMpo73cDxG0l8/SCtcSRTaEkNqbuzWgwdMpTYRZ Lg/THWXWHObfMlWayI3hhx+JkkDlWbVyNZyrBMWUSnXauUHohb7Y878keSZs/kSMUM 48PxGoCsSYXBKycQxMj0s4ihGAHFiYZxyv2Ki8nhknqS7avD0DtBgGwMAJOw7zi0tC 8vlwUS9HXOWiK1eYWUSuxV1u1QJgKxdXP1R9e4c0vILJtRJUDRweH2sW7Q7QOaigUI 4V9PxzbbkBD/Q== From: Niklas Cassel To: Manivannan Sadhasivam , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Kishon Vijay Abraham I , Arnd Bergmann , Greg Kroah-Hartman , Vignesh Raghavendra , Siddharth Vadapalli , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Richard Zhu , Lucas Stach , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Minghuan Lian , Mingkai Hu , Roy Zang , Jesper Nilsson , Jingoo Han , Heiko Stuebner , Srikanth Thokala , Marek Vasut , Yoshihiro Shimoda , Geert Uytterhoeven , Magnus Damm , Christian Bruel , Maxime Coquelin , Alexandre Torgue , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Shuah Khan Cc: Manikanta Maddireddy , Koichiro Den , Damien Le Moal , Niklas Cassel , linux-pci@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@axis.com, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-tegra@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH v3 0/9] PCI: endpoint: Differentiate between disabled and reserved BARs Date: Mon, 2 Mar 2026 10:59:12 +0100 Message-ID: <20260302095913.48155-11-cassel@kernel.org> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2516; i=cassel@kernel.org; h=from:subject; bh=IoPwRnzhcjgMfGxBVDJ5aughrS0y6ra32/Xy0hY7TLw=; b=owGbwMvMwCV2MsVw8cxjvkWMp9WSGDKXxheqFho7TVV4vZNPP2u59rS1LzakLTaM+X7/asqxv n3T7iV86yhlYRDjYpAVU2Tx/eGyv7jbfcpxxTs2MHNYmUCGMHBxCsBElIMYGd7tY5/em1zZdO3m KzvfZ+eOlx/NEF/1eubppbbZQi1PLHgY/mmxcaU+WXH5k4/jHZ8DVSILb83YIv9r9unVb5p6300 KuckHAA== X-Developer-Key: i=cassel@kernel.org; a=openpgp; fpr=5ADE635C0E631CBBD5BE065A352FE6582ED9B5DA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260302_020003_474760_A4BD7174 X-CRM114-Status: GOOD ( 11.08 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hello all, This series was originally written in response to the patch series from Manikanta Maddireddy that was posted here: https://lore.kernel.org/linux-pci/291dab65-3fa6-4fc8-90a2-4ad608ca015c@nvidia.com/T/#t Manikanta has reviewed V1 and will send a small series on top of this one. Changes since v2: -Picked up tags from Frank and Koichiro (thank you) -Fixed a comment in pcie-dw-rockchip.c to no longer reflect the old definition of BAR_RESERVED. Link to v2: https://lore.kernel.org/linux-pci/20260225170324.4033466-11-cassel@kernel.org/ Koichiro Den (2): PCI: endpoint: Describe reserved subregions within BARs PCI: dw-rockchip: Describe RK3588 BAR4 DMA ctrl window Niklas Cassel (7): PCI: endpoint: Introduce pci_epc_bar_type BAR_64BIT_UPPER PCI: endpoint: Introduce pci_epc_bar_type BAR_DISABLED PCI: dwc: Replace certain BAR_RESERVED with BAR_DISABLED in glue drivers PCI: dwc: Disable BARs in common code instead of in each glue driver PCI: endpoint: pci-epf-test: Advertise reserved BARs misc: pci_endpoint_test: Give reserved BARs a distinct error code selftests: pci_endpoint: Skip reserved BARs drivers/misc/pci_endpoint_test.c | 21 ++++++++- drivers/pci/controller/dwc/pci-dra7xx.c | 4 -- drivers/pci/controller/dwc/pci-imx6.c | 22 +++------ drivers/pci/controller/dwc/pci-keystone.c | 12 +++++ .../pci/controller/dwc/pci-layerscape-ep.c | 8 +--- drivers/pci/controller/dwc/pcie-artpec6.c | 4 -- .../pci/controller/dwc/pcie-designware-ep.c | 24 ++++++++++ .../pci/controller/dwc/pcie-designware-plat.c | 10 ----- drivers/pci/controller/dwc/pcie-dw-rockchip.c | 23 ++++++---- drivers/pci/controller/dwc/pcie-keembay.c | 6 +-- drivers/pci/controller/dwc/pcie-qcom-ep.c | 14 +----- drivers/pci/controller/dwc/pcie-rcar-gen4.c | 16 ++----- drivers/pci/controller/dwc/pcie-stm32-ep.c | 10 ----- drivers/pci/controller/dwc/pcie-tegra194.c | 20 +++------ drivers/pci/controller/dwc/pcie-uniphier-ep.c | 24 +++------- drivers/pci/controller/pcie-rcar-ep.c | 6 +-- drivers/pci/endpoint/functions/pci-epf-test.c | 24 ++++++++++ drivers/pci/endpoint/pci-epc-core.c | 6 ++- include/linux/pci-epc.h | 45 +++++++++++++++++-- .../pci_endpoint/pci_endpoint_test.c | 4 ++ 20 files changed, 175 insertions(+), 128 deletions(-) base-commit: 36bfc3642b19a98f1302aed4437c331df9b481f0 -- 2.53.0 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip