On 21.04.2022 15:21, Roger Pau Monne wrote:
> @@ -366,8 +383,11 @@ void cf_check amd_iommu_ioapic_update_ire(
> fresh = true;
> }
>
> -/* mask the interrupt while we change the intremap table */
> -if ( !saved_mask )
> +/*
> + * Mask the interrupt while we change the
Doing so matches existing VT-d behavior, and does prevent having to
disable the remapping entry or mask the IO-APIC pin prior to being
updated, as the remap entry content is always consistent.
Signed-off-by: Roger Pau Monné
---
xen/drivers/passthrough/amd/iommu_intr.c | 31 +-