summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSam Edwards <cfsworks@gmail.com>2024-10-04 22:01:55 -0700
committerFlorian Fainelli <florian.fainelli@broadcom.com>2024-12-17 11:39:21 -0800
commit95d56dfaa0dd9352462c9b2636549f2faee033a0 (patch)
tree79b8444f2b52e135919b70ca978bc35744930845 /scripts/gdb/linux/utils.py
parentcef313931d6424982941e1cb40b89daba68663ff (diff)
arm64: dts: broadcom: bcmbca: bcm4908: Protect cpu-release-addr
The `cpu-release-addr` property is relevant only when the "spin-table" enable method is used. It is the physical address where the bootloader expects Linux to write the secondary CPU entry point's physical address. On this platform, only the CFE bootloader uses this method: U-Boot uses PSCI instead. CFE actually walks the FDT to learn this address, so we're free to put it wherever we want. We only need to make sure that it goes in a reserved-memory block so that writing to it during early boot does not risk conflicting with an unrelated memory allocation: this was not done. Since the previous patch reserved the first page of memory for CFE's secondary-CPU init stub, which is actually much smaller than a page, just put this address at the end of that page and it shall be so protected. Signed-off-by: Sam Edwards <CFSworks@gmail.com> Link: https://lore.kernel.org/r/20241005050155.61103-3-CFSworks@gmail.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions