Re: [PATCH v2 4/5] x86/iommu: pass full IO-APIC RTE for remapping table update

2023-07-26 Thread Roger Pau Monné
On Wed, Jul 19, 2023 at 12:37:47PM +0200, Jan Beulich wrote: > On 18.07.2023 14:43, Roger Pau Monne wrote: > > @@ -439,36 +427,47 @@ unsigned int cf_check io_apic_read_remap_rte( > > } > > > > void cf_check io_apic_write_remap_rte( > > -unsigned int apic, unsigned int reg, unsigned int valu

Re: [PATCH v2 4/5] x86/iommu: pass full IO-APIC RTE for remapping table update

2023-07-19 Thread Jan Beulich
On 18.07.2023 14:43, Roger Pau Monne wrote: > So that the remapping entry can be updated atomically when possible. > > Doing such update atomically will avoid Xen having to mask the IO-APIC > pin prior to performing any interrupt movements (ie: changing the > destination and vector fields), as the

[PATCH v2 4/5] x86/iommu: pass full IO-APIC RTE for remapping table update

2023-07-18 Thread Roger Pau Monne
So that the remapping entry can be updated atomically when possible. Doing such update atomically will avoid Xen having to mask the IO-APIC pin prior to performing any interrupt movements (ie: changing the destination and vector fields), as the interrupt remapping entry is always consistent. This