Re: [PATCH v4 1/3] qdev: Add a granule_mode property

2024-02-23 Thread Philippe Mathieu-Daudé
On 23/2/24 09:30, Eric Auger wrote: Hi Philippe, On 2/23/24 08:52, Philippe Mathieu-Daudé wrote: Hi Eric, On 23/2/24 08:27, Eric Auger wrote: Introduce a new enum type property allowing to set an IOMMU granule. Values are 4K, 8K, 16K, 64K and host. This latter indicates the vIOMMU granule wil

Re: [PATCH v4 1/3] qdev: Add a granule_mode property

2024-02-23 Thread Eric Auger
Hi Philippe, On 2/23/24 08:52, Philippe Mathieu-Daudé wrote: > Hi Eric, > > On 23/2/24 08:27, Eric Auger wrote: >> Introduce a new enum type property allowing to set an >> IOMMU granule. Values are 4K, 8K, 16K, 64K and host. >> This latter indicates the vIOMMU granule will match >> the host page s

Re: [PATCH v4 1/3] qdev: Add a granule_mode property

2024-02-22 Thread Philippe Mathieu-Daudé
Hi Eric, On 23/2/24 08:27, Eric Auger wrote: Introduce a new enum type property allowing to set an IOMMU granule. Values are 4K, 8K, 16K, 64K and host. This latter indicates the vIOMMU granule will match the host page size. A subsequent patch will add such a property to the virtio-iommu device.

[PATCH v4 1/3] qdev: Add a granule_mode property

2024-02-22 Thread Eric Auger
Introduce a new enum type property allowing to set an IOMMU granule. Values are 4K, 8K, 16K, 64K and host. This latter indicates the vIOMMU granule will match the host page size. A subsequent patch will add such a property to the virtio-iommu device. Signed-off-by: Eric Auger --- v3 -> v4: - A