Skip to contentSkip to conversation

Patch "xen/events: Set irq_info->evtchn before binding the channel to CPU in __startup_pirq()" has been added to the 4.0-stable tree

PATCH [email protected] 1 participant 1 message May 15, 2015

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

    xen/events: Set irq_info->evtchn before binding the channel to CPU in __startup_pirq()

to the 4.0-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-set-irq_info-evtchn-before-binding-the-channel-to-cpu-in-__startup_pirq.patch
and it can be found in the queue-4.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 16e6bd5970c88a2ac018b84a5f1dd5c2ff1fdf2c Mon Sep 17 00:00:00 2001

From: Boris Ostrovsky <[email protected]>
Date: Wed, 29 Apr 2015 17:10:15 -0400
Subject: xen/events: Set irq_info->evtchn before binding the channel to CPU in __startup_pirq()

From: Boris Ostrovsky <[email protected]>

commit 16e6bd5970c88a2ac018b84a5f1dd5c2ff1fdf2c upstream.

.. because bind_evtchn_to_cpu(evtchn, cpu) will map evtchn to 'info' and pass 'info' down to xen_evtchn_port_bind_to_cpu().

---
 drivers/xen/events/events_base.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/events/events_base.c +1 -1
@@ -529,8 +529,8 @@ static unsigned int __startup_pirq(unsig
 	if (rc)
 		goto err;
 
-	bind_evtchn_to_cpu(evtchn, 0);
 	info->evtchn = evtchn;
+	bind_evtchn_to_cpu(evtchn, 0);
 
 	rc = xen_evtchn_port_setup(info);
 	if (rc)

Patches currently in stable-queue which might be from [email protected] are

queue-4.0/xen-console-update-console-event-channel-on-resume.patch queue-4.0/xen-events-set-irq_info-evtchn-before-binding-the-channel-to-cpu-in-__startup_pirq.patch queue-4.0/xen-xenbus-update-xenbus-event-channel-on-resume.patch queue-4.0/xen-events-clear-cpu_evtchn_mask-before-resuming.patch