+22
−19
Loading
Currently, we set hwcap based on first valid hart from DT. This may not be correct always as that hart might not be current booting cpu or may have a different capability. Set hwcap as the capabilities supported by all possible harts with "okay" status. Signed-off-by:Atish Patra <atish.patra@wdc.com> Reviewed-by:
Anup Patel <anup@brainfault.org> Reviewed-by:
Johan Hovold <johan@kernel.org> Signed-off-by:
Palmer Dabbelt <palmer@sifive.com>