On Mon, 2024-02-12 at 16:10 +0100, Jan Beulich wrote:
> On 05.02.2024 16:32, Oleksii Kurochko wrote:
> > asm/iommu.h shouldn't
>
> ... need to ...
>
> > be included when CONFIG_HAS_PASSTHROUGH
> > isn't enabled.
> > As is ifdef-ed by CONFIG_HAS_PASSTHROUGH it should
> > be also ifdef-ed field
On 05.02.2024 16:32, Oleksii Kurochko wrote:
> asm/iommu.h shouldn't
... need to ...
> be included when CONFIG_HAS_PASSTHROUGH
> isn't enabled.
> As is ifdef-ed by CONFIG_HAS_PASSTHROUGH it should
> be also ifdef-ed field "struct arch_iommu arch" in struct domain_iommu
> as definition of
asm/iommu.h shouldn't be included when CONFIG_HAS_PASSTHROUGH
isn't enabled.
As is ifdef-ed by CONFIG_HAS_PASSTHROUGH it should
be also ifdef-ed field "struct arch_iommu arch" in struct domain_iommu
as definition of arch_iommu is located in .
These amount of changes are enough to avoid