Re: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions

2024-06-14 Thread Eric Auger
Hi Zhenzhong, On 6/14/24 05:05, Duan, Zhenzhong wrote: > >> -Original Message- >> From: Eric Auger >> Subject: Re: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions >> >> >> >> On 6/13/24 12:00, Duan, Zhenzhong wrote: >>>

Re: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions

2024-06-14 Thread Eric Auger
On 6/14/24 05:05, Duan, Zhenzhong wrote: > >> -Original Message- >> From: Eric Auger >> Subject: Re: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions >> >> >> >> On 6/13/24 12:00, Duan, Zhenzhong wrote: >>> Hi Eric, >

RE: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions

2024-06-13 Thread Duan, Zhenzhong
>-Original Message- >From: Eric Auger >Subject: Re: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions > > > >On 6/13/24 12:00, Duan, Zhenzhong wrote: >> Hi Eric, >> >>> -Original Message- >>> From: Eric Auger >

RE: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions

2024-06-13 Thread Duan, Zhenzhong
Hi Eric, >-Original Message- >From: Eric Auger >Subject: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions > >Compute the host reserved regions in virtio_iommu_set_iommu_device(). >The usable IOVA regions are retrieved from the HOS

Re: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions

2024-06-13 Thread Eric Auger
On 6/13/24 12:00, Duan, Zhenzhong wrote: > Hi Eric, > >> -Original Message- >> From: Eric Auger >> Subject: [PATCH v3 4/7] virtio-iommu: Compute host reserved regions >> >> Compute the host reserved regions in virtio_iommu_set_iommu_device(). >

[PATCH v3 4/7] virtio-iommu: Compute host reserved regions

2024-06-13 Thread Eric Auger
Compute the host reserved regions in virtio_iommu_set_iommu_device(). The usable IOVA regions are retrieved from the HOSTIOMMUDevice. The virtio_iommu_set_host_iova_ranges() helper turns usable regions into complementary reserved regions while testing the inclusion into existing ones. virtio_iommu_