aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorRaj Vishwanathan <raj.vishwanathan@gmail.com>2025-02-11 14:00:42 -0800
committerAnup Patel <anup@brainfault.org>2025-02-12 09:24:09 +0530
commit5e90e54a1a53173128b264f4e22cfa5884f78526 (patch)
tree833d3ae2f3eb32693779f33e7d0c0e1bccd6ccf5 /lib/utils/cppc
parent4f12f8b02f669e7cd3286a543f2cb6308fe5a0fe (diff)
downloadopensbi-5e90e54a1a53173128b264f4e22cfa5884f78526.zip
opensbi-5e90e54a1a53173128b264f4e22cfa5884f78526.tar.gz
opensbi-5e90e54a1a53173128b264f4e22cfa5884f78526.tar.bz2
lib: utils:Check that hartid is valid
It is possible that hartid may not be sequential and it should not be validated against SBI_HARTMASK_MAX_BITS. Instead we should check the index of the hartid, hart index, against SBI_HARTMASK_MAX_BITS. Signed-off-by: Raj Vishwanathan <Raj.Vishwanathan@gmail.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions