Re: [PATCH] IOMMU/x86: work around bogus gcc12 warning in hvm_gsi_eoi()

2022-06-10 Thread Roger Pau Monné
On Fri, Jun 10, 2022 at 09:29:44AM +0200, Jan Beulich wrote: > On 10.06.2022 09:20, Roger Pau Monné wrote: > > On Fri, May 27, 2022 at 12:37:19PM +0200, Jan Beulich wrote: > >> As per [1] the expansion of the pirq_dpci() macro causes a -Waddress > >> controlled warning (enabled implicitly in our bu

Re: [PATCH] IOMMU/x86: work around bogus gcc12 warning in hvm_gsi_eoi()

2022-06-10 Thread Jan Beulich
On 10.06.2022 09:20, Roger Pau Monné wrote: > On Fri, May 27, 2022 at 12:37:19PM +0200, Jan Beulich wrote: >> As per [1] the expansion of the pirq_dpci() macro causes a -Waddress >> controlled warning (enabled implicitly in our builds, if not by default) >> tying the middle part of the involved con

Re: [PATCH] IOMMU/x86: work around bogus gcc12 warning in hvm_gsi_eoi()

2022-06-10 Thread Roger Pau Monné
On Fri, May 27, 2022 at 12:37:19PM +0200, Jan Beulich wrote: > As per [1] the expansion of the pirq_dpci() macro causes a -Waddress > controlled warning (enabled implicitly in our builds, if not by default) > tying the middle part of the involved conditional expression to the > surrounding boolean

[PATCH] IOMMU/x86: work around bogus gcc12 warning in hvm_gsi_eoi()

2022-05-27 Thread Jan Beulich
As per [1] the expansion of the pirq_dpci() macro causes a -Waddress controlled warning (enabled implicitly in our builds, if not by default) tying the middle part of the involved conditional expression to the surrounding boolean context. Work around this by introducing a local inline function in t