RE: x86/irq: Unbreak interrupt affinity setting

2020-08-27 Thread David Laight
From: Alexander Graf > Sent: 26 August 2020 23:53 > > On 26.08.20 23:47, David Laight wrote: > > > > From: David Laight > >> Sent: 26 August 2020 22:37 > >> > >> From: Thomas Gleixner > >>> Sent: 26 August 2020 21:22 > >> ... > >>> Moving interrupts on x86 happens in several steps. A new vector

RE: x86/irq: Unbreak interrupt affinity setting

2020-08-27 Thread David Laight
From: Thomas Gleixner > Sent: 26 August 2020 23:08 ... > > I suspect that it is much more 'racy' than that for PCI-X interrupts. > > On the hardware side there is an interrupt disable bit, and address > > and a value. > > To raise an interrupt the hardware must write the value to the > > address.

Re: x86/irq: Unbreak interrupt affinity setting

2020-08-26 Thread Alexander Graf
On 26.08.20 23:47, David Laight wrote: From: David Laight Sent: 26 August 2020 22:37 From: Thomas Gleixner Sent: 26 August 2020 21:22 ... Moving interrupts on x86 happens in several steps. A new vector on a different CPU is allocated and the relevant interrupt source is reprogrammed to

RE: x86/irq: Unbreak interrupt affinity setting

2020-08-26 Thread Thomas Gleixner
On Wed, Aug 26 2020 at 21:37, David Laight wrote: > From: Thomas Gleixner >> Sent: 26 August 2020 21:22 > ... >> Moving interrupts on x86 happens in several steps. A new vector on a >> different CPU is allocated and the relevant interrupt source is >> reprogrammed to that. But that's racy and

RE: x86/irq: Unbreak interrupt affinity setting

2020-08-26 Thread David Laight
From: David Laight > Sent: 26 August 2020 22:37 > > From: Thomas Gleixner > > Sent: 26 August 2020 21:22 > ... > > Moving interrupts on x86 happens in several steps. A new vector on a > > different CPU is allocated and the relevant interrupt source is > > reprogrammed to that. But that's racy and

RE: x86/irq: Unbreak interrupt affinity setting

2020-08-26 Thread David Laight
From: Thomas Gleixner > Sent: 26 August 2020 21:22 ... > Moving interrupts on x86 happens in several steps. A new vector on a > different CPU is allocated and the relevant interrupt source is > reprogrammed to that. But that's racy and there might be an interrupt > already in flight to the old