diff options
author | Hanjun Guo <[email protected]> | 2017-10-13 15:09:47 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2017-10-16 14:29:45 +0100 |
commit | 0a71d8b95f8adc343d986bf3093fc1baf59df4b1 (patch) | |
tree | e857218d7a5d9983c8467282a0f1951a0c4b0081 /tools/perf/scripts/python/netdev-times.py | |
parent | 896dd2c3248422e1e7711cc582615844e2f9de86 (diff) |
ACPI/IORT: Look up IORT node through struct fwnode_handle pointer
Current IORT code provides a function (ie iort_get_fwnode())
which looks up a struct fwnode_handle pointer through a
struct acpi_iort_node pointer for SMMU components but it
lacks a function that implements the reverse look-up, namely
struct fwnode_handle* -> struct acpi_iort_node*.
Devices that are not IORT named components cannot be retrieved through
their associated IORT named component scan interface because they just
are not represented in the ACPI namespace; the reverse look-up is
therefore required for all platform devices that represent IORT nodes
(eg SMMUs) so that the struct acpi_iort_node* can be retrieved from the
struct device->fwnode pointer.
Signed-off-by: Hanjun Guo <[email protected]>
[[email protected]: re-indented/rewrote the commit log]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions