[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/7] xen/arm: add support for R-Car Gen4 PCI host controller
- To: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
- Date: Fri, 7 Mar 2025 08:48:37 +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=nwqUn+tjSSJwzBz/LNrZZj3l5GIStUn+SSRfJzFqDBw=; b=sXJC8l7eoF+LwECNlStNEuKC6X8KxUe5XH1NKCqHikzkH9BrjHLkZF5eVKxWGg/eDCfT5G5BwRQo4sHl0euuVHcpc1mdZQnmYVcKtRXdQfm6RHBXHuCABP/DVAnh21T/ZOS1u6qb4wLO6ms0j7gM/1N0VdsTSktMSaHiT9pdphi5eGlGdjSAYI3m6UcqgtqulErY4J4SuDhkE6a/F0+8ZLQW0hx29MotzBnE1fQmNoRdXSwuXP5B49+DcT3LT4GwTbG0RLLMAf4vYfNTW+ahdJcwVtir407FAgwNlC5151j+T6PAP23LVrjRExRuNrmx8fa9cHhZnDMW9I/rZ3limw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NGYIUJNWYeVEw4p4DW8xH0a4fdX4KLvp2Yk0VOsWl/HXfknuUd0BFbH2eajWUQp61obZAaY1LEA3o7YtRLc0rMgUIQtIhZkMdJC7YL2pfLyjIGR1frubgiaREFPiLnw4TEXf7W/yz7g8koufI8kCBM523upagoyO1zoaDOCix7H7vfT0JjiocwGmWb+2CtquZhdggp/yvbaeAEShuCoK/VZVvBjS8OoizXOAEzEKrZp6Ecc4NBrkr/HXIijOcEU/9ZGA7rcyz4byeH8uStAGputqa3EqEOF98G+u/y3yVrT7u0vgzgjD3RpR0lngvECZZ3LZZOsmvybSNWU42ViCGA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@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: Fri, 07 Mar 2025 08:48:46 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHbhp0OJEwwd7KbIUWidoI1k6AKJ7NmiwSAgADjMIA=
- Thread-topic: [PATCH 4/7] xen/arm: add support for R-Car Gen4 PCI host controller
On 06.03.25 21:15, Stewart Hildebrand wrote:
> On 2/24/25 04:18, Mykyta Poturai wrote:
>> From: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
>>
>> Add support for Renesas R-Car Gen4 PCI host controller.
>> S4 and V4H SoCs are supported.
>> Implement config read/write operations for both root and child buses.
>> For accessing the child bus, iATU is used for address translation.
>>
>> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
>> Signed-off-by: Mykyta Poturai <mykyta_poturai@xxxxxxxx>
>> ---
>> xen/arch/arm/pci/Makefile | 1 +
>> xen/arch/arm/pci/pci-host-rcar4.c | 529 ++++++++++++++++++++++++++++++
>> 2 files changed, 530 insertions(+)
>> create mode 100644 xen/arch/arm/pci/pci-host-rcar4.c
>
> Can any parts of this potentially be reused for other designware-based
> PCIe controllers? If so, could those parts be moved to a separate file?
Great idea! I will try to do a separation similar to how it's done in Linux.
--
Mykyta
|