diff options
author | Sourabh Jain <sourabhjain@linux.ibm.com> | 2024-05-10 15:52:35 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-06-17 22:48:45 +1000 |
commit | 932bed41217059638c78a75411b7893b121d2162 (patch) | |
tree | 30b73a6a8bdf9426a280bf8ecd3dc03eac0d567d /scripts/head-object-list.txt | |
parent | 0d3ff067331ef84e7e7f49537d768881042ed5ba (diff) |
powerpc/kexec_file: fix cpus node update to FDT
While updating the cpus node, commit 40c753993e3a ("powerpc/kexec_file:
Use current CPU info while setting up FDT") first deletes all subnodes
under the /cpus node. However, while adding sub-nodes back, it missed
adding cpus subnodes whose device_type != "cpu", such as l2-cache*,
l3-cache*, ibm,powerpc-cpu-features.
Fix this by only deleting cpus sub-nodes of device_type == "cpus" and
then adding all available nodes with device_type == "cpu".
Fixes: 40c753993e3a ("powerpc/kexec_file: Use current CPU info while setting up FDT")
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240510102235.2269496-3-sourabhjain@linux.ibm.com
Diffstat (limited to 'scripts/head-object-list.txt')
0 files changed, 0 insertions, 0 deletions