diff options
author | Lorenzo Pieralisi <[email protected]> | 2016-11-21 10:01:40 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2016-11-29 15:57:45 +0000 |
commit | bdca0c077fc5c2a7bb405281263270070c67f917 (patch) | |
tree | 0ec8badbf941b0a19eea82bd6945cd852a8457d9 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | d760a1baf20e067d3a063aa134834ddd3d183e2f (diff) |
ACPI/IORT: Add node match function
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 <[email protected]>
Reviewed-by: Tomasz Nowicki <[email protected]>
Tested-by: Hanjun Guo <[email protected]>
Tested-by: Tomasz Nowicki <[email protected]>
Acked-by: Hanjun Guo <[email protected]>
Cc: Hanjun Guo <[email protected]>
Cc: Tomasz Nowicki <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions