mbox series

[v4,0/2] Some changes about tlb fifo

Message ID 20230815071516.422658-1-wxjstz@126.com
Headers show
Series Some changes about tlb fifo | expand

Message

Xiang W Aug. 15, 2023, 7:15 a.m. UTC
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(-)