All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Sparse HART id improvements
@ 2023-09-24 15:57 Xiang W
  2023-09-24 15:57 ` [PATCH 1/3] lib: sbi: Refactor sbi_scratch_last_hartindex as a function Xiang W
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Xiang W @ 2023-09-24 15:57 UTC (permalink / raw)
  To: opensbi

Modify last_hartindex_having_scratch/hartindex_to_hartid_table
/hartindex_to_scratch_table as static variables to prevent accidental
modification and reduce memory consumption

Xiang W (3):
  lib: sbi: Refactor sbi_scratch_last_hartindex as a function
  lib: sbi: Refactor sbi_hartindex_to_hartid as a function
  lib: sbi: Refactor sbi_hartindex_to_scratch as a function

 include/sbi/sbi_scratch.h | 35 ++++++++++++-----------------------
 lib/sbi/sbi_scratch.c     | 30 ++++++++++++++++++++++++++----
 2 files changed, 38 insertions(+), 27 deletions(-)

-- 
2.40.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-09  9:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-24 15:57 [PATCH 0/3] Sparse HART id improvements Xiang W
2023-09-24 15:57 ` [PATCH 1/3] lib: sbi: Refactor sbi_scratch_last_hartindex as a function Xiang W
2023-09-24 15:57 ` [PATCH 2/3] lib: sbi: Refactor sbi_hartindex_to_hartid " Xiang W
2023-09-24 15:57 ` [PATCH 3/3] lib: sbi: Refactor sbi_hartindex_to_scratch " Xiang W
2023-10-06  4:35 ` [PATCH 0/3] Sparse HART id improvements Anup Patel
2023-10-07  3:48   ` Xiang W
2023-10-09  8:36     ` Anup Patel
2023-10-09  9:25       ` Xiang W

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.