Re: [PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space()

2023-10-06 Thread Joao Martins
On 06/10/2023 09:52, Eric Auger wrote: > Hi Joao, > > On 6/22/23 23:48, Joao Martins wrote: >> From: Yi Liu >> >> 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

Re: [PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space()

2023-10-06 Thread Eric Auger
Hi Joao, On 6/22/23 23:48, Joao Martins wrote: > From: Yi Liu > > 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_

Re: [PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space()

2023-10-06 Thread Eric Auger
Hi Joao, On 6/22/23 23:48, Joao Martins wrote: > From: Yi Liu > > 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_

Re: [PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space()

2023-10-06 Thread Joao Martins
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 >>> >>> Refactor pci_device_iommu_address_space() and move the >>> code that fetches the device bus and iommu bus into its >>> own private help

Re: [PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space()

2023-10-06 Thread Joao Martins
On 02/10/2023 16:22, Cédric Le Goater wrote: > On 6/22/23 23:48, Joao Martins wrote: >> From: Yi Liu >> >> 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 p

Re: [PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space()

2023-10-02 Thread Cédric Le Goater
On 6/22/23 23:48, Joao Martins wrote: From: Yi Liu 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

[PATCH v4 02/15] hw/pci: Refactor pci_device_iommu_address_space()

2023-06-22 Thread Joao Martins
From: Yi Liu 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. Signed-off-by: Yi Liu