aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorInochi Amaoto <inochiama@outlook.com>2023-10-12 16:33:28 +0800
committerAnup Patel <anup@brainfault.org>2023-11-16 09:53:45 +0530
commit52fd64b82c0de0fdf386c96f2b9e1c4c3e56d80d (patch)
tree3e863c92cba8f7936c069174752bfa7a45101016 /lib
parent88ae718d361aa47b4f23537d4b00cfc93b4e739e (diff)
downloadopensbi-52fd64b82c0de0fdf386c96f2b9e1c4c3e56d80d.zip
opensbi-52fd64b82c0de0fdf386c96f2b9e1c4c3e56d80d.tar.gz
opensbi-52fd64b82c0de0fdf386c96f2b9e1c4c3e56d80d.tar.bz2
platform: Uses hart count as the default size of tlb info
For platform with high number of harts, it is better to auto detect a suitable number of entries in tlb fifo. Since allocating tlb entry for all online harts can reduce the wait time significantly, using the number of the online harts can make most platforms happy. This auto detection can avoid most duplicate code for setting tlb fifo size. Signed-off-by: Inochi Amaoto <inochiama@outlook.com> Acked-by: Guo Ren <guoren@kernel.org> Reviewed-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions