[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v5 0/4] Add support for R-Car Gen4 PCI host controller


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
  • Date: Wed, 21 May 2025 12:21:31 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=0yIOmdLyF6w2oLxwUbcDWdA2217xBALXqLqQvHNKfxA=; b=UnwCxEj6+PIgt9199n+ABLFtk5H5sjYSGzLSBpLaptTMDXJ48R6Pz1FMAvA7dlioNBnix3BbrWQ6H843hETSPKAfTFuwqM1CtLrGh4UqCR/gO9W6IVqH7VGT2Uhf3CX5COVWTd8ICEMTX+DxXOfgirVH0oy1SpKD+/6UggO0Yk9z3bFPAdc6WzEGyL5zWUH7zgR4Bd12yNLIZrEQUhhzDL71Gz8nIqGw1Bn/VTI4bGfLUQM+jkjhhr53U0vmX0729bXx+REwMY1t0Bj+arFp2yNK7FnIJfXry2QSHsKRJrahNoCyD3KA9tNqNznLqvU5UEvKWNNdPO3PqHyMfHve9A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AFgDtlU/gmiys/eIUJZVxrQPFzTXEq0nBg30JLgczK1pZ+r7yUVMvog2sQK4TZ/+gLBJ3Bb5KBZ6RYktLEX8MQbTLK3c8L26PEZMhhkp9il2QMe+czYJoUlEYy7sixSdY3bTKcJa+6QacNHQcGOfh7t4lu3nZLUvAXjKSHpcHGYM5LzEu9Ac2vRLskPJgJ3vm9aznpAcey0dXemXpHvwYZlbl/WdpSOTT4O5rjneOz3p3OnvjS6qpSIm44Cwq8gDPvgrnbSk0mBiJvc+1/Y6fqgnRRsu6hYWqBO+OzRbFDlwhpWPtA6PnM1tZ1z2NuB/9+YtCo7M7LPS2sJKNtafAw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 21 May 2025 12:21:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHbykri8+u9hNG+1kmy/z9Y016O8A==
  • Thread-topic: [PATCH v5 0/4] Add support for R-Car Gen4 PCI host controller

This series adds support for R-Car Gen4 PCI host controller.

To fully support the controller, the following changes were made:
- Generic mechanism to support PCI child buses is added.
- Private data for PCI host bridge and means to access it are added.

The series was tested as a part of the pci-passthrough patches[1] and
build-tested standalone with enabled HAS_PCI and HAS_VPCI.
CI pipeline results: [2]

[1]: https://github.com/Deedone/xen/tree/pci_passthrough_wip
[2]: https://gitlab.com/xen-project/people/mpoturai/xen/-/pipelines/1828720661

v4->v5:
* see individual patches

v3->v4:
* rebase
* see individual patches

v2->v3:
* dropped patches related to ATU programming delay
* improved formatting

v1->v2:
* see individual patches

Oleksandr Andrushchenko (4):
  xen/arm: allow PCI host bridge to have private data
  xen/arm: make pci_host_common_probe return the bridge
  xen/arm: add support for PCI child bus
  xen/arm: add support for R-Car Gen4 PCI host controller

 MAINTAINERS                         |   6 +
 xen/arch/arm/include/asm/pci.h      |  22 +-
 xen/arch/arm/pci/Makefile           |   2 +
 xen/arch/arm/pci/ecam.c             |   1 +
 xen/arch/arm/pci/pci-access.c       |  37 ++-
 xen/arch/arm/pci/pci-designware.c   | 416 ++++++++++++++++++++++++++++
 xen/arch/arm/pci/pci-designware.h   |  90 ++++++
 xen/arch/arm/pci/pci-host-common.c  |  92 ++++--
 xen/arch/arm/pci/pci-host-generic.c |   2 +-
 xen/arch/arm/pci/pci-host-rcar4.c   |  94 +++++++
 xen/arch/arm/pci/pci-host-zynqmp.c  |   3 +-
 xen/arch/arm/vpci.c                 |  91 ++++--
 12 files changed, 808 insertions(+), 48 deletions(-)
 create mode 100644 xen/arch/arm/pci/pci-designware.c
 create mode 100644 xen/arch/arm/pci/pci-designware.h
 create mode 100644 xen/arch/arm/pci/pci-host-rcar4.c

-- 
2.34.1



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.