diff options
author | Tom Rini <trini@konsulko.com> | 2024-08-27 14:32:54 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-27 15:37:19 -0600 |
commit | 314fdd2e7392bc3480104a1f15001f0f6f25a4dd (patch) | |
tree | 79619f665fb8c42bea4e463392f0fbfac418d55d /tools/patman/commit.py | |
parent | b70865e6b94fe81ddc4eb48f45b574eae80ee035 (diff) | |
parent | 6f5b1686610119c321962ba2224bda6d71fc8968 (diff) |
Merge patch series "dm: core: Avoid multiple calls to fdt_parent_offset()"
Jonas Karlman <jonas@kwiboo.se> says:
Use of fdt_parent_offset() is very expensive as detailed by the function
documentation:
NOTE: This function is expensive, as it must scan the device tree
structure from the start to nodeoffset, *twice*.
This series remove multiple calls to fdt_parent_offset() or
ofnode_get_parent() when instead a single call can be made and the
returned value can be reused.
This series help reduce boot time by around:
- ~137ms on a Radxa ROCK Pi 4 (RK3399)
- ~33ms on a Radxa ZERO 3W (RK3566)
Diffstat (limited to 'tools/patman/commit.py')
0 files changed, 0 insertions, 0 deletions