[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Patch "xen/events: fix setting irq affinity" has been added to the 5.4-stable tree
This is a note to let you know that I've just added the patch titled xen/events: fix setting irq affinity to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: xen-events-fix-setting-irq-affinity.patch and it can be found in the queue-5.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From jgross@xxxxxxxx Thu Apr 15 15:56:08 2021 From: Juergen Gross <jgross@xxxxxxxx> Date: Mon, 12 Apr 2021 08:28:45 +0200 Subject: xen/events: fix setting irq affinity To: stable@xxxxxxxxxxxxxxx Cc: Juergen Gross <jgross@xxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx Message-ID: <20210412062845.13946-1-jgross@xxxxxxxx> From: Juergen Gross <jgross@xxxxxxxx> 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@xxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/xen/events/events_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/xen/events/events_base.c +++ b/drivers/xen/events/events_base.c @@ -1783,7 +1783,7 @@ static void lateeoi_ack_dynirq(struct ir if (VALID_EVTCHN(evtchn)) { do_mask(info, EVT_MASK_REASON_EOI_PENDING); - event_handler_exit(info); + ack_dynirq(data); } } @@ -1794,7 +1794,7 @@ static void lateeoi_mask_ack_dynirq(stru if (VALID_EVTCHN(evtchn)) { do_mask(info, EVT_MASK_REASON_EXPLICIT); - event_handler_exit(info); + ack_dynirq(data); } } Patches currently in stable-queue which might be from jgross@xxxxxxxx are queue-5.4/xen-events-fix-setting-irq-affinity.patch
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |