diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2019-06-27 00:37:15 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-06-27 18:52:13 +0300 |
commit | ed2b664fcc8073c09394393756df3fc86977bbac (patch) | |
tree | 89872e71ab6996f9938599031b475924361b7eeb /include | |
parent | ae9924667a7ee91d49c91ebbc076451ca6b6293a (diff) | |
download | linux-ed2b664fcc8073c09394393756df3fc86977bbac.tar.xz |
ACPI/PPTT: Modify node flag detection to find last IDENTICAL
The ACPI specification implies that the IDENTICAL flag should be
set on all non leaf nodes where the children are identical.
This means that we need to be searching for the last node with
the identical flag set rather than the first one.
Since this flag is also dependent on the table revision, we
need to add a bit of extra code to verify the table revision,
and the next node's state in the traversal. Since we want to
avoid function pointers here, lets just special case
the IDENTICAL flag.
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions