[PATCH 0/2] Minor improvement in FDT extension parsing

Anup Patel anup.patel at oss.qualcomm.com
Thu May 21 01:26:23 PDT 2026


The FDT extension parsing can be improved by parsing ISA extensions
of all harts in the cold boot path. This also saves some part of
scratch space which was used by the fdt_isa_bitmap.

These patches can also be found in platform_extensions_init_v1 branch
at: https://github.com/avpatel/opensbi.git

Anup Patel (2):
  lib: sbi_hart: No need to clear features in hart_detect_features()
  platform: generic: Optimize extensions_init() to parse ISA extensions
    once

 include/sbi/sbi_platform.h                   |  7 ++-
 include/sbi_utils/fdt/fdt_helper.h           |  3 +-
 lib/sbi/sbi_hart.c                           | 14 ++----
 lib/utils/fdt/fdt_helper.c                   | 47 ++++----------------
 platform/generic/allwinner/sun20i-d1.c       |  7 ++-
 platform/generic/andes/andes_pmu.c           |  5 ++-
 platform/generic/eswin/eic770x.c             |  1 +
 platform/generic/include/andes/andes_pmu.h   |  4 +-
 platform/generic/include/platform_override.h |  3 +-
 platform/generic/platform.c                  |  8 ++--
 platform/generic/sophgo/sg2042.c             |  4 +-
 platform/generic/starfive/jh7110.c           |  1 +
 platform/generic/thead/thead-generic.c       |  4 +-
 13 files changed, 37 insertions(+), 71 deletions(-)

-- 
2.43.0




More information about the opensbi mailing list