[RFC PATCH v4 18/21] x86/apic: Add a parameter for the APIC delivery mode

2019-05-23 Thread Ricardo Neri
Until now, the delivery mode of APIC interrupts is set to the default mode set in the APIC driver. However, there are no restrictions in hardware to configure each interrupt with a different delivery mode. Specifying the delivery mode per interrupt is useful when one is interested in changing the d

Re: [RFC PATCH v4 18/21] x86/apic: Add a parameter for the APIC delivery mode

2019-06-16 Thread Thomas Gleixner
On Thu, 23 May 2019, Ricardo Neri wrote: > > struct irq_cfg { > - unsigned intdest_apicid; > - unsigned intvector; > + unsigned intdest_apicid; > + unsigned intvector; > + enum ioapic_irq_destinat

Re: [RFC PATCH v4 18/21] x86/apic: Add a parameter for the APIC delivery mode

2019-06-18 Thread Ricardo Neri
On Sun, Jun 16, 2019 at 11:55:03AM +0200, Thomas Gleixner wrote: > On Thu, 23 May 2019, Ricardo Neri wrote: > > > > struct irq_cfg { > > - unsigned intdest_apicid; > > - unsigned intvector; > > + unsigned intdest_apicid; > > + unsigned

Re: [RFC PATCH v4 18/21] x86/apic: Add a parameter for the APIC delivery mode

2019-06-18 Thread Thomas Gleixner
On Tue, 18 Jun 2019, Ricardo Neri wrote: > On Sun, Jun 16, 2019 at 11:55:03AM +0200, Thomas Gleixner wrote: > > On Thu, 23 May 2019, Ricardo Neri wrote: > > > > > > struct irq_cfg { > > > - unsigned intdest_apicid; > > > - unsigned intvector; > > > + unsigned int