summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2022-09-13 12:10:15 +0300
committerAnup Patel <anup@brainfault.org>2022-09-13 14:45:58 +0300
commit8ce486a781f61941c136efd507a91677f34da713 (patch)
tree53684711bc7bcfa04482762c2ff54d84e41b6e9d /platform
parent46e744ab6736c0d14a1a1609d9dda3b802c164fe (diff)
downloadopensbi-8ce486a781f61941c136efd507a91677f34da713.tar.xz
lib: utils/fdt: Fix DT parsing in fdt_pmu_setup()
This patch does following fixes in fdt_pmu_setup(): 1) If any of the event mapping DT property is absent or too small then don't skip parsing of other DT properties. 2) Return failure if sbi_pmu_add_hw_event_counter_map() fails. 3) Return failure if sbi_pmu_add_raw_event_counter_map() fails. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions