diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2025-03-25 16:43:25 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-04-23 12:32:50 +0530 |
commit | ac2e428c4be6bb876b160643984617911d60a5e6 (patch) | |
tree | 14361bd6c88a195d1d8b7a5422211777279291a0 /lib/utils/cppc | |
parent | 2a6f7ddf87f1534e03e9413fa25394435accacdd (diff) | |
download | opensbi-ac2e428c4be6bb876b160643984617911d60a5e6.zip opensbi-ac2e428c4be6bb876b160643984617911d60a5e6.tar.gz opensbi-ac2e428c4be6bb876b160643984617911d60a5e6.tar.bz2 |
platform: rzfive: Call andes_pma_setup_regions() only during cold boot
This function accesses the FDT blob, which means it is only valid to
call during cold boot, before a lower privilege level has an opportunity
to clobber that memory.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250325234342.711447-3-samuel.holland@sifive.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions