[PATCH v2 0/9] PCI: endpoint: Differentiate between disabled and reserved BARs
Koichiro Den
den at valinux.co.jp
Mon Mar 2 00:38:03 AEDT 2026
On Wed, Feb 25, 2026 at 06:03:23PM +0100, Niklas Cassel wrote:
> 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 v1:
> -Rebased on latest pci/endpoint branch
> -Picked up tags
> -Fixed review comments from Frank and Manikanta (thank you)
> -Simplified function bar_is_reserved()
>
> Link to v1:
> https://lore.kernel.org/linux-pci/20260217212707.2450423-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 | 19 +++++---
> 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, 174 insertions(+), 125 deletions(-)
>
>
> base-commit: 8eaff52fc101c1f6b3215db93bba02c815155806
For the series:
Tested-by: Koichiro Den <den at valinux.co.jp>
Tested on 2x R-Car S4 Spider boards.
No change in pci_endpoint_test results compared to base-commit.
Thanks for working on this.
> --
> 2.53.0
>
More information about the Linuxppc-dev
mailing list