[RFC PATCH 0/2] miscellaneous about hartmask
Anup Patel
apatel at ventanamicro.com
Sat Sep 2 00:59:18 PDT 2023
On Thu, Aug 31, 2023 at 9:10 AM Xiang W <wxjstz at 126.com> wrote:
>
> Originally, the bits in sbi_hartmask represent hartid. Because hartid can
> be discontinuous, there may be gaps. Represent hartindex instead.
>
> Xiang W (2):
> ilib: sbi: add sbi_platform_hart_index2id
> lib: sbi: improve sbi_hartmask
For the past several months, I have been gradually improving OpenSBI
to eventually support totally sparse hartid.
I have another series which adds full sparse hartid support in OpenSBI
which includes patches from this series.
Thanks,
Anup
>
> include/sbi/sbi_hartmask.h | 40 ++++++++++++++++++++++++++++----------
> include/sbi/sbi_platform.h | 10 ++++++++++
> lib/sbi/sbi_domain.c | 26 +++++++++----------------
> lib/sbi/sbi_init.c | 2 +-
> lib/sbi/sbi_ipi.c | 4 ++--
> lib/sbi/sbi_platform.c | 9 +++++++++
> lib/sbi/sbi_system.c | 4 ++--
> lib/sbi/sbi_tlb.c | 4 ++--
> 8 files changed, 65 insertions(+), 34 deletions(-)
>
> --
> 2.40.1
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi
More information about the opensbi
mailing list