Re: [v6 PATCH 6/6] RISC-V: Assign hwcap as per comman capabilities.

From: Johan Hovold
Date: Mon Feb 25 2019 - 03:34:48 EST


On Fri, Feb 22, 2019 at 11:41:40AM -0800, Atish Patra wrote:
> 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@xxxxxxx>

Reviewed-by: Johan Hovold <johan@xxxxxxxxxx>