[PATCH 5.8 208/255] x86/irq: Unbreak interrupt affinity setting

2020-09-01 Thread Greg Kroah-Hartman
From: Thomas Gleixner commit e027f799cdd70400c5485b1a54f482255985 upstream. Several people reported that 5.8 broke the interrupt affinity setting mechanism. The consolidation of the entry code reused the regular exception entry code for device interrupts and changed the way how the vector

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.

[tip: x86/urgent] x86/irq: Unbreak interrupt affinity setting

2020-08-27 Thread tip-bot2 for Thomas Gleixner
Committer: Thomas Gleixner CommitterDate: Thu, 27 Aug 2020 09:29:23 +02:00 x86/irq: Unbreak interrupt affinity setting Several people reported that 5.8 broke the interrupt affinity setting mechanism. The consolidation of the entry code reused the regular exception entry code for device interrupts

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

x86/irq: Unbreak interrupt affinity setting

2020-08-26 Thread Thomas Gleixner
Several people reported that 5.8 broke the interrupt affinity setting mechanism. The consolidation of the entry code reused the regular exception entry code for device interrupts and changed the way how the vector number is conveyed from ptregs->orig_ax to a function argument. The low level