aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorYao Zi <ziyao@disroot.org>2025-05-16 13:33:53 +0000
committerAnup Patel <anup@brainfault.org>2025-05-20 13:25:53 +0530
commit60c3f97de840e6ad35494f9228fc83600d1dc5a2 (patch)
tree1f7a47b4742a5acf322c9da476193630b7236e0c /lib/utils/cppc
parent7e31dc80525f752d97c2c5a97eb4b9583054e8bc (diff)
downloadopensbi-60c3f97de840e6ad35494f9228fc83600d1dc5a2.zip
opensbi-60c3f97de840e6ad35494f9228fc83600d1dc5a2.tar.gz
opensbi-60c3f97de840e6ad35494f9228fc83600d1dc5a2.tar.bz2
lib: utils: fdt: Claim Zicntr if time CSR emulation is possible
OpenSBI is capable of emulating time CSR through an external timer for HARTs that don't implement a full Zicntr extension. Let's add Zicntr extension in the FDT if CSR emulation is active. This avoids hardcoding the extension in the devicetree, which may confuse pre-SBI bootloaders. Signed-off-by: Yao Zi <ziyao@disroot.org> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20250516133352.36617-4-ziyao@disroot.org Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions