diff options
| author | Hanjun Guo <hanjun.guo@linaro.org> | 2017-10-13 15:09:47 +0800 |
|---|---|---|
| committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2017-10-16 14:29:45 +0100 |
| commit | 0a71d8b95f8adc343d986bf3093fc1baf59df4b1 (patch) | |
| tree | e857218d7a5d9983c8467282a0f1951a0c4b0081 /scripts/stackusage | |
| parent | ACPI/IORT: Make platform devices initialization code SMMU agnostic (diff) | |
| download | linux-0a71d8b95f8adc343d986bf3093fc1baf59df4b1.tar.gz linux-0a71d8b95f8adc343d986bf3093fc1baf59df4b1.zip | |
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 <hanjun.guo@linaro.org>
[lorenzo.pieralisi@arm.com: re-indented/rewrote the commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
