[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space()
From: |
Joao Martins |
Subject: |
Re: [PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space() |
Date: |
Fri, 6 Oct 2023 09:40:08 +0100 |
User-agent: |
Mozilla Thunderbird |
On 06/10/2023 09:39, Joao Martins wrote:
>
>
> On 02/10/2023 16:22, Cédric Le Goater wrote:
>> On 6/22/23 23:48, Joao Martins wrote:
>>> From: Yi Liu <yi.l.liu@intel.com>
>>>
>>> Refactor pci_device_iommu_address_space() and move the
>>> code that fetches the device bus and iommu bus into its
>>> own private helper pci_device_get_iommu_bus_devfn().
>>>
>>> This is in preparation to introduce pci_device_iommu_get_attr()
>>> which will need to use it too.
>>
>> Where is this routine used ?
>>
>
> Patch 7 to understand if a configured vIOMMU supports DMA translation,
> regardless of whether the guest is doing.
>
And then patch 12 to see the max IOVA boundaries of the vIOMMU possible address
space.