Re: [PATCH v12 0/9] ACPI/IORT: Support for IORT RMR node

2022-05-04 Thread Hanjun Guo via iommu

On 2022/5/4 0:33, Shameer Kolothum wrote:

Hi

v11 --> v12
   -Minor fix in patch #4 to address the issue reported by the kernel test 
robot.
   -Added R-by tags by Christoph(patch #1) and Lorenzo(patch #4).
   -Added T-by from Steve to all relevant patches. Many thanks!.

Please note, this series has a dependency on the ACPICA header patch
here[1].


Tested on a Kunpeng920 server machine with SMMUv3, the 3408iMR RAID
controller card works as expected,

Tested-by: Hanjun Guo 

Thanks
Hanjun
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu


Re: [PATCH v12 5/9] ACPI/IORT: Add a helper to retrieve RMR info directly

2022-05-04 Thread Hanjun Guo via iommu

On 2022/5/4 0:33, Shameer Kolothum wrote:

This will provide a way for SMMU drivers to retrieve StreamIDs
associated with IORT RMR nodes and use that to set bypass settings
for those IDs.

Tested-by: Steven Price 
Signed-off-by: Shameer Kolothum 


Reviewed-by: Hanjun Guo 

Thanks
Hanjun
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu


Re: [PATCH v12 4/9] ACPI/IORT: Add support to retrieve IORT RMR reserved regions

2022-05-04 Thread Hanjun Guo via iommu

On 2022/5/4 0:33, Shameer Kolothum wrote:

Parse through the IORT RMR nodes and populate the reserve region list
corresponding to a given IOMMU and device(optional). Also, go through
the ID mappings of the RMR node and retrieve all the SIDs associated
with it.

Reviewed-by: Lorenzo Pieralisi 
Tested-by: Steven Price 
Signed-off-by: Shameer Kolothum 


Reviewed-by: Hanjun Guo 

Thanks
Hanjun
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu


Re: [PATCH v12 3/9] ACPI/IORT: Provide a generic helper to retrieve reserve regions

2022-05-04 Thread Hanjun Guo via iommu

On 2022/5/4 0:33, Shameer Kolothum wrote:

Currently IORT provides a helper to retrieve HW MSI reserve regions.
Change this to a generic helper to retrieve any IORT related reserve
regions. This will be useful when we add support for RMR nodes in
subsequent patches.

[Lorenzo: For ACPI IORT]
Reviewed-by: Lorenzo Pieralisi 
Reviewed-by: Christoph Hellwig 
Tested-by: Steven Price 
Signed-off-by: Shameer Kolothum 


Reviewed-by: Hanjun Guo 

Thanks
Hanjun
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [PATCH v12 2/9] ACPI/IORT: Make iort_iommu_msi_get_resv_regions() return void

2022-05-04 Thread Hanjun Guo via iommu

On 2022/5/4 0:33, Shameer Kolothum wrote:

At present iort_iommu_msi_get_resv_regions() returns the number of
MSI reserved regions on success and there are no users for this.
The reserved region list will get populated anyway for platforms
that require the HW MSI region reservation. Hence, change the
function to return void instead.

Reviewed-by: Christoph Hellwig 
Tested-by: Steven Price 
Signed-off-by: Shameer Kolothum 


Reviewed-by: Hanjun Guo 

Thanks
Hanjun
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu