Re: [PATCH v4 06/30] xen: avoid generation of empty asm/iommu.h

2024-02-14 Thread Oleksii
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

Re: [PATCH v4 06/30] xen: avoid generation of empty asm/iommu.h

2024-02-12 Thread Jan Beulich
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

[PATCH v4 06/30] xen: avoid generation of empty asm/iommu.h

2024-02-05 Thread Oleksii Kurochko
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