Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-12-12 Thread Nicolin Chen
On Wed, Dec 11, 2024 at 03:21:37PM +, Shameerali Kolothum Thodi wrote: > > Once a device reaches to the pci_device_set_iommu_device() call, > > it should be attached to an IDENTIY/bypass proxy s1_hwpt, so the > > smmu_find_add_as() will return the iommu as. > > Agree. The above situation you e

RE: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-12-11 Thread Shameerali Kolothum Thodi via
@redhat.com; Linuxarm ; Wangzhou (B) > ; jiangkunkun ; > Jonathan Cameron ; > zhangfei....@linaro.org > Subject: Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with > multiple SMMU nodes > > > And now I think I know(hopefully) the reason why it is not working with > >

Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-12-10 Thread Nicolin Chen
a...@nongnu.org; qemu-devel@nongnu.org > > Cc: peter.mayd...@linaro.org; j...@nvidia.com; nicol...@nvidia.com; > > ddut...@redhat.com; Linuxarm ; Wangzhou (B) > > ; jiangkunkun ; > > Jonathan Cameron ; > > zhangfei....@linaro.org > > Subject: RE: [RFC PATCH 4/5] hw/a

RE: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-21 Thread Shameerali Kolothum Thodi via
t; ddut...@redhat.com; Linuxarm ; Wangzhou (B) > ; jiangkunkun ; > Jonathan Cameron ; > zhangfei....@linaro.org > Subject: RE: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with > multiple SMMU nodes > > > > I think I have an idea why the hot add was not working. &g

RE: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-20 Thread Shameerali Kolothum Thodi via
com; Linuxarm ; Wangzhou (B) > ; jiangkunkun ; > Jonathan Cameron ; > zhangfei....@linaro.org > Subject: Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with > multiple SMMU nodes > > Hi Shameer, > > On 11/20/24 15:16, Shameerali Kolothum Thodi wrote: > &

Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-20 Thread Eric Auger
Cc: peter.mayd...@linaro.org; j...@nvidia.com; nicol...@nvidia.com; >> ddut...@redhat.com; Linuxarm ; Wangzhou (B) >> ; jiangkunkun ; >> Jonathan Cameron ; >> zhangfei....@linaro.org >> Subject: Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with >> multiple SM

RE: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-20 Thread Shameerali Kolothum Thodi via
; Linuxarm ; Wangzhou (B) > ; jiangkunkun ; > Jonathan Cameron ; > zhangfei....@linaro.org > Subject: Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with > multiple SMMU nodes [...] > > I think the above won't affect the basic case where I have only one > > pcie-pxb

Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-18 Thread Eric Auger
gnu.org >> Cc: peter.mayd...@linaro.org; j...@nvidia.com; nicol...@nvidia.com; >> ddut...@redhat.com; Linuxarm ; Wangzhou (B) >> ; jiangkunkun ; >> Jonathan Cameron ; >> zhangfei@linaro.org >> Subject: Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with &g

Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-18 Thread Eric Auger
Hi Shameer, On 11/8/24 13:52, Shameer Kolothum wrote: > From: Nicolin Chen > > Now that we can have multiple user-creatable smmuv3-nested > devices, each associated with different pci buses, update > IORT ID mappings accordingly. > > Signed-off-by: Nicolin Chen > Signed-off-by: Shameer Kolothum

RE: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-18 Thread Shameerali Kolothum Thodi via
; Linuxarm ; Wangzhou (B) > ; jiangkunkun ; > Jonathan Cameron ; > zhangfei....@linaro.org > Subject: Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with > multiple SMMU nodes > > >>> /* Number of IORT Nodes */ > >>> @@ -342,10 +356,9 @@ build_

Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-18 Thread Eric Auger
Cc: peter.mayd...@linaro.org; j...@nvidia.com; nicol...@nvidia.com; >> ddut...@redhat.com; Linuxarm ; Wangzhou (B) >> ; jiangkunkun ; >> Jonathan Cameron ; >> zhangfei....@linaro.org >> Subject: Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with >>

RE: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-18 Thread Shameerali Kolothum Thodi via
; Linuxarm ; Wangzhou (B) > ; jiangkunkun ; > Jonathan Cameron ; > zhangfei....@linaro.org > Subject: Re: [RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with > multiple SMMU nodes > > > /* Number of IORT Nodes */ > > @@ -342,10 +356,9 @@ build_iort(GArray *t

[RFC PATCH 4/5] hw/arm/virt-acpi-build: Build IORT with multiple SMMU nodes

2024-11-08 Thread Shameer Kolothum via
From: Nicolin Chen Now that we can have multiple user-creatable smmuv3-nested devices, each associated with different pci buses, update IORT ID mappings accordingly. Signed-off-by: Nicolin Chen Signed-off-by: Shameer Kolothum --- hw/arm/virt-acpi-build.c | 34 -