[PATCH v14 02/10] iommu/arm-smmu-v3: Use device properties for pasid-num-bits

Hanjun Guo guohanjun at huawei.com
Fri Apr 2 01:35:29 BST 2021


On 2021/4/1 23:47, Jean-Philippe Brucker wrote:
> The pasid-num-bits property shouldn't need a dedicated fwspec field,
> it's a job for device properties. Add properties for IORT, and access
> the number of PASID bits using device_property_read_u32().
> 
> Suggested-by: Robin Murphy<robin.murphy at arm.com>
> Acked-by: Jonathan Cameron<Jonathan.Cameron at huawei.com>
> Acked-by: Will Deacon<will at kernel.org>
> Reviewed-by: Eric Auger<eric.auger at redhat.com>
> Signed-off-by: Jean-Philippe Brucker<jean-philippe at linaro.org>
> ---
>   include/linux/iommu.h                       |  2 --
>   drivers/acpi/arm64/iort.c                   | 13 +++++++------

Acked-by: Hanjun Guo <guohanjun at huawei.com>



More information about the linux-arm-kernel mailing list