TencentOS-kernel/drivers/xen/events
Juergen Gross 8abeaa4019 xen/events: fix setting irq affinity
The backport of upstream patch 25da4618af240fbec61 ("xen/events: don't
unmask an event channel when an eoi is pending") introduced a
regression for stable kernels 5.10 and older: setting IRQ affinity for
IRQs related to interdomain events would no longer work, as moving the
IRQ to its new cpu was not included in the irq_ack callback for those
events.

Fix that by adding the needed call.

Note that kernels 5.11 and later don't need the explicit moving of the
IRQ to the target cpu in the irq_ack callback, due to a rework of the
affinity setting in kernel 5.11.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-20 16:07:06 +08:00
..
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
events_2l.c xen/events: don't unmask an event channel when an eoi is pending 2021-04-12 12:53:12 +08:00
events_base.c xen/events: fix setting irq affinity 2021-05-20 16:07:06 +08:00
events_fifo.c xen/events: don't unmask an event channel when an eoi is pending 2021-04-12 12:53:12 +08:00
events_internal.h xen/evtchn: Change irq_info lock to raw_spinlock_t 2021-05-20 16:06:55 +08:00