On 09.11.2026 13:49, Oleksii Kurochko wrote:
> riscv_fill_hwcap_from_isa_string() intersects the riscv,isa of every CPU
> node under /cpus, including the ones with status = "disabled". Such a
> hart is never used by Xen, yet it can still remove extensions from the
> host ISA: e.g. a disabled hart without the H extension makes Xen panic
> with "Xen requires extension: h", even though every hart Xen runs on
> implements it.
>
> Skip CPU nodes which aren't available.
>
> Fixes: f74ebf58b518 ("xen/riscv: identify specific ISA supported by cpu")
> Signed-off-by: Oleksii Kurochko <[email protected]>
Acked-by: Jan Beulich <[email protected]>