Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lopper/assists/lopper_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ def cpu_refs( tree, cpu_prop, verbose = 0 ):
# couldn't find the node, skip
continue

sub_cpus = tree.subnodes( cpu_node, "cpu@.*" )
# Only consider direct CPU child nodes; avoid matching cache nodes
# whose paths also include "cpu@".
sub_cpus = cpu_node.subnodes( children_only=True, name="cpu@.*" )
sub_cpus_all = sub_cpus + sub_cpus_all

lopper.log._info( f"cpu prop phandle: {cpu_phandle}" )
Expand Down
Loading