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

[PATCH v4 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, 23 Apr 2025 11:08:06 +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=RzFvdTrWI9k4XbZXhcy7XpTmfE8YYnmbm/Dv2U2tu7A=; b=IF4QG/H1jG2g4jSg0q3c9eq8O+xrL/BaiOsTgFKCWTCOIwH1bRI7j9Webcg+PN19wTaZQtvHEhn0IVkt0Ts1NI4qIviR38+x4sUXuVfnWvYWsCPr84rosyQk3izFyOvkACPKx/TSYMhXrK0RssyHvQyczcDE9DsfNLeURYRbqx0aqNZwLDhdVtyobt+DUBj1re1eoS0/xuZU88uodmhswnio05yUKhCtOAtf0BsNMZ7ZUI3xSQbHNEJjfto3F3ABY6ju6vwYc3wdICnmriebRLcCKda0RK4jpBC+k4tUhqNARlvXkQM2Lh0p+u5+3mH55KnZ1IDja5to7z7v2za+0A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KhR0q1EZZ0sZ9PkjFbTS+37eI79uCuklIy+fuAcVEJQq5J27Cu+9mAEoK2cJ2gJ89O6Nleyr9DoiMiqt75z8gprAtBOZpjpl4Zf57uJWXW87PnIh7woYIY1Dxra4SM73I+q+0VZT+eQbzYDMhImenI6xD85AYkbRQ1p/9pnTX0WR1wZczCEzd6KO29Nj3fsyWKZJZntp/JXuroN8hXVKWCUflW69/Z+X89JZHc3YPjML77x+gT472pk7IIzBQeOZ22dEybWHL+5zZAbbhbDfqORqblzwsWKp4jaw6wotyCBE2bjkWjnjKzpFl2xH9DXE/VlRBM2m6VMYLoj5+J1iOQ==
  • 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>
  • Delivery-date: Wed, 23 Apr 2025 11:08:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHbtD/9healTf8EwEODhly5/C64XQ==
  • Thread-topic: [PATCH v4 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.

[1] https://github.com/Deedone/xen/tree/pci_passthrough_wip

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

 xen/arch/arm/include/asm/pci.h      |  11 +-
 xen/arch/arm/pci/Makefile           |   2 +
 xen/arch/arm/pci/pci-access.c       |  37 ++-
 xen/arch/arm/pci/pci-designware.c   | 403 ++++++++++++++++++++++++++++
 xen/arch/arm/pci/pci-designware.h   | 102 +++++++
 xen/arch/arm/pci/pci-host-common.c  |  94 +++++--
 xen/arch/arm/pci/pci-host-generic.c |   2 +-
 xen/arch/arm/pci/pci-host-rcar4.c   | 103 +++++++
 xen/arch/arm/pci/pci-host-zynqmp.c  |   2 +-
 xen/arch/arm/vpci.c                 |  83 ++++--
 10 files changed, 793 insertions(+), 46 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®.