Hi Michal,

> On 18 Mar 2025, at 09:00, Michal Orzel <michal.or...@amd.com> wrote:
> 
> We are missing a way to detect whether a user provided a value for
> nr_spis equal to 0 or did not provide any value (default is also 0) which
> can cause issues when calculated nr_spis is > 0 and the value from domain
> config is 0. Fix it by setting default value for nr_spis to UINT32_MAX
> (max supported nr of SPIs is 960 anyway).
> 
> Fixes: 55d62b8d4636 ("tools/arm: Reject configuration with incorrect nr_spis 
> value")
> Reported-by: Luca Fancellu <luca.fance...@arm.com>
> Signed-off-by: Michal Orzel <michal.or...@amd.com>
> ---

I’ve tested this fix using our test that mounts a virtio mmio disk on the 
domain,
everything works fine.

Tested-by: Luca Fancellu <luca.fance...@arm.com>
Reviewed-by: Luca Fancellu <luca.fance...@arm.com>


Reply via email to