summaryrefslogtreecommitdiff
path: root/lib/utils/timer
diff options
context:
space:
mode:
authorInochi Amaoto <[email protected]>2023-10-12 16:33:28 +0800
committerAnup Patel <[email protected]>2023-11-16 09:53:45 +0530
commit52fd64b82c0de0fdf386c96f2b9e1c4c3e56d80d (patch)
tree3e863c92cba8f7936c069174752bfa7a45101016 /lib/utils/timer
parent88ae718d361aa47b4f23537d4b00cfc93b4e739e (diff)
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 <[email protected]> Acked-by: Guo Ren <[email protected]> Reviewed-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions