Re: [PATCH v3 08/11] x86/dpci: switch to use a GSI EOI callback

2021-04-08 Thread Roger Pau Monné
On Thu, Apr 08, 2021 at 04:49:48PM +0200, Jan Beulich wrote: > On 31.03.2021 12:33, Roger Pau Monne wrote: > > @@ -515,17 +528,44 @@ int pt_irq_create_bind( > > } > > else > > { > > +/* > > + * NB: the callback structure allocated below will never

Re: [PATCH v3 08/11] x86/dpci: switch to use a GSI EOI callback

2021-04-08 Thread Jan Beulich
On 31.03.2021 12:33, Roger Pau Monne wrote: > @@ -515,17 +528,44 @@ int pt_irq_create_bind( > } > else > { > +/* > + * NB: the callback structure allocated below will never be freed > + * once setup because it's used by the hardware dom

[PATCH v3 08/11] x86/dpci: switch to use a GSI EOI callback

2021-03-31 Thread Roger Pau Monne
Switch the dpci GSI EOI callback hooks to use the newly introduced generic callback functionality, and remove the custom dpci calls found on the vPIC and vIO-APIC implementations. Signed-off-by: Roger Pau Monné --- Changes since v2: - Avoid leaking the allocated callback on error paths of pt_