Re: [RFC 1/1] xen/arm: set iommu property for IOMMU-protected devices

2021-12-09 Thread Stefano Stabellini
On Tue, 7 Dec 2021, Sergiy Kibrik wrote: > hi Stefano, Julien, > > On 11/10/21 11:12 пп, Stefano Stabellini wrote: > > On Mon, 8 Nov 2021, Julien Grall wrote: > [..] > > > A few years ago, I attempted to disable the swiotlb when Xen configured > > > the > > > IOMMU for the device (see [1]). Did

Re: [RFC 1/1] xen/arm: set iommu property for IOMMU-protected devices

2021-12-07 Thread Sergiy Kibrik
hi Stefano, Julien, On 11/10/21 11:12 пп, Stefano Stabellini wrote: On Mon, 8 Nov 2021, Julien Grall wrote: [..] A few years ago, I attempted to disable the swiotlb when Xen configured the IOMMU for the device (see [1]). Did you have a chance to go through the thread? In particular, I think

Re: [RFC 1/1] xen/arm: set iommu property for IOMMU-protected devices

2021-11-10 Thread Stefano Stabellini
On Mon, 8 Nov 2021, Julien Grall wrote: > Hi Roman, > > On 04/10/2021 10:54, Roman Skakun wrote: > > From: Roman Skakun > > > > Xen is not exposing any IOMMU properties to Dom0. > > So Dom0 assumes that all it's devices are not protected by IOMMU. > > > > To make Dom0 aware of IOMMU-protected

Re: [RFC 1/1] xen/arm: set iommu property for IOMMU-protected devices

2021-11-08 Thread Julien Grall
Hi Roman, On 04/10/2021 10:54, Roman Skakun wrote: From: Roman Skakun Xen is not exposing any IOMMU properties to Dom0. So Dom0 assumes that all it's devices are not protected by IOMMU. To make Dom0 aware of IOMMU-protected devices, we need to mark them somehow. With this approach Dom0 Linux

Re: [RFC 1/1] xen/arm: set iommu property for IOMMU-protected devices

2021-10-07 Thread Roman Skakun
Hi Oleksandr, >> From: Roman Skakun >> >> Xen is not exposing any IOMMU properties to Dom0. >> So Dom0 assumes that all it's devices are not protected by IOMMU. >> >> To make Dom0 aware of IOMMU-protected devices, we need to mark >> them somehow. With this approach Dom0 Linux kernel will be able

Re: [RFC 1/1] xen/arm: set iommu property for IOMMU-protected devices

2021-10-06 Thread Oleksandr
On 04.10.21 12:54, Roman Skakun wrote: Hi Roman From: Roman Skakun Xen is not exposing any IOMMU properties to Dom0. So Dom0 assumes that all it's devices are not protected by IOMMU. To make Dom0 aware of IOMMU-protected devices, we need to mark them somehow. With this approach Dom0 Linux

[RFC 1/1] xen/arm: set iommu property for IOMMU-protected devices

2021-10-04 Thread Roman Skakun
From: Roman Skakun Xen is not exposing any IOMMU properties to Dom0. So Dom0 assumes that all it's devices are not protected by IOMMU. To make Dom0 aware of IOMMU-protected devices, we need to mark them somehow. With this approach Dom0 Linux kernel will be able to selectively disable