[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/2] dt-bindings: arm: xen: document Xen iommu device
- To: "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>
- From: Oleksii Moisieiev <Oleksii_Moisieiev@xxxxxxxx>
- Date: Thu, 4 May 2023 09:33:10 +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=arcselector9901; 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=GDao+USfzRI6dC60XrUYVQ0VZ4TY5qoaErLxSCvXCag=; b=mn3TlgxCdcJO8Zwh+rqLpe3s/bLZb/6dnp7oLMKqHGOjD2OZ4PXPKwcuxDShHX558BxUm52wGOikNCrbtfBUntEOmvCzzTUsbp+EpsG09ZxFvnkoop3mR2Ybcq1jSK4r7X39zFIfhxrv5GtCGgUDLDI7Dv6N6xgo1EC5Yy+xrhEu/2lJGTkxU9TN4l0tFLwYkEOynZPTqU0i16JTbDZdWYe74P5kgxJnxdG4q0ZUN3jjCyiQtJgZLJvShAeu4+mIIh1uCR5LiPYGCgih6pPPVIZihTSd3hwr0BwdDt03y+osK8VT02Pcj1f7wJqaaYGf+AE3k9VgHHCoPO+lpyo8eA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cVYcjlctwyKuhngP4otlVbHV8rz8lvBwoZwDY9n1iwcEdfi6t8h+8wHaOnq6I930Qm66o5khLwoayspFAiSK3H21cyPWs2CmG7RjOAcUpztrZd24Mt0E76wKahgV4BEJKVn4VnLo9AfZPavA83qS8KbCftOqja1kMqZoZR5p2DXX0O03a5MOGwniXz7gDIH6clhUS5axQcAF42+kURIn6ImEZb6HqHnNS/PDzeI5PfkpBjxwy3lQy2lJUbkZ6NuWK96iwP20oeXpsTF2bIIOQqVEBl/o/cqBqZzKxNsIr3KZ4KIXIxTfkRBYPZLpeel2p9OwMSMpyCVilv4dks3wNw==
- Cc: Sergiy Kibrik <Sergiy_Kibrik@xxxxxxxx>, "devicetree@xxxxxxxxxxxxxxx" <devicetree@xxxxxxxxxxxxxxx>, "julien@xxxxxxx" <julien@xxxxxxx>, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, "olekstysh@xxxxxxxxx" <olekstysh@xxxxxxxxx>, "robh@xxxxxxxxxx" <robh@xxxxxxxxxx>, "robin.murphy@xxxxxxx" <robin.murphy@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Thu, 04 May 2023 09:33:43 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHZfmttKueJIQgVZkeItcqDtfTLRQ==
- Thread-topic: [PATCH v3 1/2] dt-bindings: arm: xen: document Xen iommu device
Hi Stefano,
> The tiny "xen,iommu-el2-v1" driver could be backported to the stable
> trees, I would imagine. Otherwise, do you have another suggestion?
There is stub IOMMU driver already merged to the Linux Kernel:
Commit 1ca55d50e50c74747a7b8846dac306fbe5ac4cf5 ("xen/grant-dma-iommu:
Introduce stub IOMMU driver" added by Oleksandr Tyshchenko.
I was able to use it as an empty IOMMU driver on my test setup:
Made the following device-tree changes:
xen_iommu: xen-iommu {
compatible = "xen,grant-dma";
iommu-cells = <0>;
};
i2c@e60b0000 {
iommus = <&xen_iommu 0x0>;
};
Maybe this driver can be used to solve the deferred problem with some
modifications?
What is your opinion?
Best regards,
Oleksii.
|