Patch "xen, fbfront: fix connecting to backend" has been added to the 4.10-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
xen, fbfront: fix connecting to backend
to the 4.10-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-fbfront-fix-connecting-to-backend.patch
and it can be found in the queue-4.10 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
9121b15b5628b38b4695282dc18c553440e0f79bMon Sep 17 00:00:00 2001
From: Juergen Gross <[email protected]>
Date: Fri, 7 Apr 2017 17:28:23 +0200
Subject: xen, fbfront: fix connecting to backend
From: Juergen Gross <[email protected]>
commit 9121b15b5628b38b4695282dc18c553440e0f79b upstream.
Connecting to the backend isn't working reliably in xen-fbfront: in case XenbusStateInitWait of the backend has been missed the backend transition to XenbusStateConnected will trigger the connected state only without doing the actions required when the backend has connected.
--- drivers/video/fbdev/xen-fbfront.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/video/fbdev/xen-fbfront.c +2 -2
@@ -643,7 +643,6 @@ static void xenfb_backend_changed(structbreak ;case XenbusStateInitWait: -InitWait:xenbus_switch_state (dev, XenbusStateConnected);break ;
@@ -654,7 +653,8 @@ InitWait:* get Connected twice here. */ if (dev->state != XenbusStateConnected) - goto InitWait;/* no InitWait seen yet, fudge it */ +/* no InitWait seen yet, fudge it */ +xenbus_switch_state (dev, XenbusStateConnected);if (xenbus_read_unsigned (info->xbdev->otherend,"request-update" ,0 ))
Patches currently in stable-queue which might be from [email protected] are
queue-4.10/xen-fbfront-fix-connecting-to-backend.patch