[PATCH 04/17] lib: sbi_pmu: Use heap for per-HART PMU state
Andrew Jones
ajones at ventanamicro.com
Wed May 31 05:32:24 PDT 2023
On Tue, Apr 25, 2023 at 06:02:17PM +0530, Anup Patel wrote:
> Instead of using a global array for per-HART PMU state, we should
> use heap to on-demand allocate per-HART PMU state when the HART
> is initialized in cold boot or warm boot path.
>
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> ---
> lib/sbi/sbi_pmu.c | 221 ++++++++++++++++++++++++++++------------------
> 1 file changed, 133 insertions(+), 88 deletions(-)
>
Reviewed-by: Andrew Jones <ajones at ventanamicro.com>
More information about the opensbi
mailing list