Re: [PATCH v6 3/4] virtio-iommu: Fix the domain_range end

2021-11-29 Thread Jean-Philippe Brucker
On Sat, Nov 27, 2021 at 08:29:09AM +0100, Eric Auger wrote: > in old times the domain range was defined by a domain_bits le32. > This was then converted into a domain_range struct. During the > upgrade the original value of '32' (bits) has been kept while > the end field now is the max value of

[PATCH v6 3/4] virtio-iommu: Fix the domain_range end

2021-11-26 Thread Eric Auger
in old times the domain range was defined by a domain_bits le32. This was then converted into a domain_range struct. During the upgrade the original value of '32' (bits) has been kept while the end field now is the max value of the domain id (UINT32_MAX). Fix that and also use UINT64_MAX for the