Commit 6259b2ec authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

lib: utils/fdt: Fix fdt_parse_isa_extensions() implementation

Currently, the fdt_parse_isa_extensions() tries to parse the ISA
string once for each HART. This ISA string parsing can fail for
secondary HARTs if the FDT memory is already overwritten by the
supervisor OS.

To tackle this issue, we improve the fdt_parse_isa_extensions()
implementation to pre-parse ISA string for all HARTs during
cold boot.

Fixes: d72f5f17

 ("lib: utils: Add detection of Smepmp from ISA
string in FDT")
Signed-off-by: default avatarAnup Patel <apatel@ventanamicro.com>
Tested-By: default avatarMayuresh <Chitale&lt;mchitale@ventanamicro.com>
parent c744ed77
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment