diff options
| author | Andrew Waterman <andrew@sifive.com> | 2025-11-27 16:51:20 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2025-12-16 20:19:21 +0530 |
| commit | 843e916dcab4163e84bab9a22ef2db89ff269979 (patch) | |
| tree | a97e72eeb6da0756ae755f3b3cb392143d6d5b93 /include | |
| parent | 5eec86eec8ee92f9c7d4211c34fddf794609ed71 (diff) | |
| download | opensbi-843e916dcab4163e84bab9a22ef2db89ff269979.tar.gz opensbi-843e916dcab4163e84bab9a22ef2db89ff269979.tar.bz2 opensbi-843e916dcab4163e84bab9a22ef2db89ff269979.zip | |
lib: sbi: Expose __sbi_sfence_vma_all() function
The __sbi_sfence_vma_all() can be shared by different parts of
OpenSBI so rename __tlb_flush_all() to __sbi_sfence_vma_all()
and make it global function.
Signed-off-by: Andrew Waterman <andrew@sifive.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20251127112121.334023-2-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_tlb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/sbi_tlb.h b/include/sbi/sbi_tlb.h index 2c50fe85..3936e857 100644 --- a/include/sbi/sbi_tlb.h +++ b/include/sbi/sbi_tlb.h @@ -54,6 +54,8 @@ do { \ #define SBI_TLB_INFO_SIZE sizeof(struct sbi_tlb_info) +void __sbi_sfence_vma_all(); + int sbi_tlb_request(ulong hmask, ulong hbase, struct sbi_tlb_info *tinfo); int sbi_tlb_init(struct sbi_scratch *scratch, bool cold_boot); |
