Files
opensbi/platform/generic/include/andes/andes_pmu.h
T
Anup Patel ecc92e87a9 platform: generic: Optimize extensions_init() to parse ISA extensions once
Instead of parsing ISA extensions separately for each hart in the
generic_extensions_init() function, it is better to parse ISA extensions
for all available harts in the cold boot path. Also, this allows us
to remove fdt_isa_bitmap from scratch space and directly initialize
"extensions" in struct sbi_hart_features for each hart.

Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260521082625.1520870-3-anup.patel@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
2026-06-12 16:08:29 +05:30

16 lines
306 B
C

/*
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) Copyright (c) 2023 Andes Technology Corporation
*/
#ifndef _RISCV_ANDES_PMU_H
#define _RISCV_ANDES_PMU_H
#include <sbi/sbi_types.h>
int andes_pmu_init(void);
int andes_pmu_extensions_init(bool cold_boot);
#endif /* _RISCV_ANDES_PMU_H */