[PATCH v9 08/16] drivers: acpi: iort: add node match function

Hanjun Guo hanjun.guo at linaro.org
Tue Nov 29 04:14:41 PST 2016


On 2016/11/21 18:01, Lorenzo Pieralisi wrote:
> Device drivers (eg ARM SMMU) need to know if a specific component
> is part of the IORT table, so that kernel data structures are not
> initialized at initcalls time if the respective component is not
> part of the IORT table.
>
> To this end, this patch adds a trivial function that allows detecting
> if a given IORT node type is present or not in the ACPI table, providing
> an ACPI IORT equivalent for of_find_matching_node().
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Reviewed-by: Tomasz Nowicki <tn at semihalf.com>
> Tested-by: Hanjun Guo <hanjun.guo at linaro.org>
> Tested-by: Tomasz Nowicki <tn at semihalf.com>
> Cc: Hanjun Guo <hanjun.guo at linaro.org>

Acked-by: Hanjun Guo <hanjun.guo at linaro.org>

Thanks
Hanjun



More information about the linux-arm-kernel mailing list