[RFC PATCH 0/2] miscellaneous about hartmask

Xiang W wxjstz at 126.com
Sat Sep 2 04:59:53 PDT 2023


在 2023-09-02星期六的 13:29 +0530,Anup Patel写道:
> 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.
Ok, waiting for your patch.

Regards,
Xiang W
> 
> 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