Re: [PATCH] IOMMU: iommu_use_hap_pt() implies CONFIG_HVM

2024-01-31 Thread Andrew Cooper
On 31/01/2024 11:09 am, Jan Beulich wrote: > On 31.01.2024 11:40, Andrew Cooper wrote: >> On 31/01/2024 9:20 am, Jan Beulich wrote: >>> Allow the compiler a little more room on DCE by moving the compile-time- >>> constant condition into the predicate (from the one place where it was >>> added in

Re: [PATCH] IOMMU: iommu_use_hap_pt() implies CONFIG_HVM

2024-01-31 Thread Jan Beulich
On 31.01.2024 11:40, Andrew Cooper wrote: > On 31/01/2024 9:20 am, Jan Beulich wrote: >> Allow the compiler a little more room on DCE by moving the compile-time- >> constant condition into the predicate (from the one place where it was >> added in an open-coded fashion for XSA-450). >> >>

Re: [PATCH] IOMMU: iommu_use_hap_pt() implies CONFIG_HVM

2024-01-31 Thread Andrew Cooper
On 31/01/2024 9:20 am, Jan Beulich wrote: > Allow the compiler a little more room on DCE by moving the compile-time- > constant condition into the predicate (from the one place where it was > added in an open-coded fashion for XSA-450). > > Signed-off-by: Jan Beulich Acked-by: Andrew Cooper

[PATCH] IOMMU: iommu_use_hap_pt() implies CONFIG_HVM

2024-01-31 Thread Jan Beulich
Allow the compiler a little more room on DCE by moving the compile-time- constant condition into the predicate (from the one place where it was added in an open-coded fashion for XSA-450). Signed-off-by: Jan Beulich --- a/xen/drivers/passthrough/vtd/iommu.c +++