[PATCH v4 0/2] Some changes about tlb fifo
Xiang W
wxjstz at 126.com
Tue Aug 15 00:15:14 PDT 2023
v4 changes:
PATCH1: move tlb_fifo_num_entries form sbi_platform to sbi_platform_operations
v3 changes:
PATCH2: Fix the bug that all harts use same tlb_mem
On some platforms with a lot of harts, a tlb fifo that is too small can cause
some harts to wait. Here are some patches to modify the tlb fifo size.
Xiang W (2):
platform: Allow platforms to specify the size of tlb fifo
lib: sbi: alloc tlb fifo by sbi_malloc
include/sbi/sbi_platform.h | 18 +++++++++++++++++
include/sbi/sbi_tlb.h | 2 --
lib/sbi/sbi_tlb.c | 21 +++++++-------------
platform/generic/include/platform_override.h | 1 +
platform/generic/platform.c | 8 ++++++++
5 files changed, 34 insertions(+), 16 deletions(-)
--
2.40.1
More information about the opensbi
mailing list