video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic
Quoted 8 lines · Dexuan Cui
Currently the VSC has no chance to notify the VSP of the dirty rectangle on VM panic because the notification work is done in a workqueue, and in
panic()the kernel typically ends up in an infinite loop, and a typical kernel config hasCONFIG_PREEMPT_VOLUNTARY=yandCONFIG_PREEMPTis not set, so a context switch can't happen inpanic()and the workqueue won't have a chance to run. As a result, the VM Connection window can't refresh until it's closed and we re-connect to the VM.
Quoted 5 lines
We can register a handler on
panic_notifier_list: the handler can notify the VSC and switch the framebuffer driver to a "synchronous mode", meaning the VSC flushes any future framebuffer change to the VSP immediately.MS-TFS: 157532
What is this line for?
thanks,
greg k-h
Quoted 9 lines · Dexuan Cui
Quoted 8 lines
Currently the VSC has no chance to notify the VSP of the dirty rectangle on VM panic because the notification work is done in a workqueue, and in
panic()the kernel typically ends up in an infinite loop, and a typical kernel config hasCONFIG_PREEMPT_VOLUNTARY=yandCONFIG_PREEMPTis not set, so a context switch can't happen inpanic()and the workqueue won't have a chance to run. As a result, the VM Connection window can't refresh until it's closed and we re-connect to the VM.
Quoted 7 lines
Quoted 5 lines
We can register a handler on
panic_notifier_list: the handler can notify the VSC and switch the framebuffer driver to a "synchronous mode", meaning the VSC flushes any future framebuffer change to the VSP immediately.MS-TFS: 157532
What is this line for?
Hi Greg,
This line is for our internal bug repository.
We have an automated system to correlate bugs with fixes so that our test team knows when a bug fix has been accepted upstream and they need to write a new test case for it.
The MS-TFS line has appeared in the commit description for a while if you search for it in 'git log' of linux-next.
Please let us know if you have further comments.
BTW, it looks the previous patch mail was not sent properly so only part of the people received it. I'll re-send it. Sorry for the possible confusion.
Thanks,
-- Dexuan
Quoted 23 lines · Dexuan Cui
Quoted 9 lines · Dexuan Cui
Quoted 8 lines
Currently the VSC has no chance to notify the VSP of the dirty rectangle on VM panic because the notification work is done in a workqueue, and in
panic()the kernel typically ends up in an infinite loop, and a typical kernel config hasCONFIG_PREEMPT_VOLUNTARY=yandCONFIG_PREEMPTis not set, so a context switch can't happen inpanic()and the workqueue won't have a chance to run. As a result, the VM Connection window can't refresh until it's closed and we re-connect to the VM.Quoted 7 lines
Quoted 5 lines
We can register a handler on
panic_notifier_list: the handler can notify the VSC and switch the framebuffer driver to a "synchronous mode", meaning the VSC flushes any future framebuffer change to the VSP immediately.MS-TFS: 157532
What is this line for?
Hi Greg,
This line is for our internal bug repository.
We have an automated system to correlate bugs with fixes so that our test team knows when a bug fix has been accepted upstream and they need to write a new test case for it.
Quoted 4 lines
The MS-TFS line has appeared in the commit description for a while if you search for it in 'git log' of linux-next.
Please let us know if you have further comments.
Please don't add marker lines like this that provide no relevancy to anyone else. I don't allow gerrit ids for the same reason. If you want to refer to a public bug tracker, that's great, otherwise, don't include it.
greg k-h
search by phrase a-la "MS-TFS: 157532" -- "has relevance for Hyper-V sysadmins" Re: [PATCH] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic
Hi!
Short:
1)
greg k-h> don't add marker lines like this that provide no relevancy to anyone else.
"no relevancy to anyone else" -- strange: it "has relevance for Hyper-V sysadmins"
For search by keywords in web archives of this mail list
1b)
greg k-h> If you want to refer to a public bug tracker, greg k-h> that's great
Yes: public bug tracker are welcom
Full:
D.C>>>>
D.C>>>> MS-TFS: 157532
D.C>>>>
Greg K-h>>>
Greg K-h>>> What is this line for?
Greg K-h>>>
D.C.>> This line is for our internal bug repository.
D.C.>>
D.C.>> The MS-TFS line has appeared in the commit description for a while if you D.C.>> search for it in 'git log' of linux-next.
D.C.>>
greg k-h>
greg k-h> Please
greg k-h> don't add marker lines like this that provide no relevancy to anyone else.
"no relevancy to anyone else" -- strange: it "has relevance for Hyper-V sysadmins"
For search by keywords in web archives of this mail list
See example:
Results of search sesssion by phrase "MS-TFS: 157532" :
=
LKML: Dexuan Cui: RE: [PATCH] video: hyperv: hyperv_fb ...
lkml.org/lkml/2014/6/24/844
1 day ago - MS-TFS: 157532 > What is this line for? Hi Greg, This line is for our internal bug repository. We have an automated system to correlate bugs ...
=
+
=
[PATCH] video: hyperv: hyperv_fb: refresh the VM screen by force ... www.gossamer-threads.com/lists/linux/kernel/1952989
5 hours ago - the VSC flushes any future framebuffer change to the VSP immediately.
MS-TFS: 157532. Signed-off-by: Dexuan Cui
=
greg k-h> I don't allow gerrit ids for the same reason. greg k-h> If you want to refer to a public bug tracker, greg k-h> that's great
Yes: public bug tracker are welcom
greg k-h>, otherwise, don't include it.
Best regards, Victor Miasnikov
Blog: http://vvm.blog.tut.by/
----- Original Message -----
From: "Greg KH"
To: "Dexuan Cui"
Cc: . . .
Sent: Thursday, June 26, 2014 6:36 AM
Subject: Re: [PATCH] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic
Quoted 23 lines · Dexuan Cui
Quoted 9 lines · Dexuan Cui
Quoted 8 lines
Currently the VSC has no chance to notify the VSP of the dirty rectangle on VM panic because the notification work is done in a workqueue, and in
panic()the kernel typically ends up in an infinite loop, and a typical kernel config hasCONFIG_PREEMPT_VOLUNTARY=yandCONFIG_PREEMPTis not set, so a context switch can't happen inpanic()and the workqueue won't have a chance to run. As a result, the VM Connection window can't refresh until it's closed and we re-connect to the VM.Quoted 7 lines
Quoted 5 lines
We can register a handler on
panic_notifier_list: the handler can notify the VSC and switch the framebuffer driver to a "synchronous mode", meaning the VSC flushes any future framebuffer change to the VSP immediately.MS-TFS: 157532
What is this line for?
Hi Greg,
This line is for our internal bug repository.
We have an automated system to correlate bugs with fixes so that our test team knows when a bug fix has been accepted upstream and they need to write a new test case for it.
Quoted 4 lines
The MS-TFS line has appeared in the commit description for a while if you search for it in 'git log' of linux-next.
Please let us know if you have further comments.
Please don't add marker lines like this that provide no relevancy to anyone else. I don't allow gerrit ids for the same reason. If you want to refer to a public bug tracker, that's great, otherwise, don't include it.
greg k-h
--
Quoted 13 lines
Quoted 13 lines
Quoted 3 lines
Quoted 1 line
MS-TFS: 157532
What is this line for?
Hi Greg,
This line is for our internal bug repository.
We have an automated system to correlate bugs with fixes so that our test team knows when a bug fix has been accepted upstream and they need to write a new test case for it.The MS-TFS line has appeared in the commit description for a while if you search for it in 'git log' of linux-next.
Quoted 8 lines
Quoted 1 line
Please let us know if you have further comments.
Please don't add marker lines like this that provide no relevancy to anyone else. I don't allow gerrit ids for the same reason. If you want to refer to a public bug tracker, that's great, otherwise, don't include it.
greg k-h
Ok, I'll remove the line and re-submit a v2 patch(the patch itself will be the same).
Thanks,
-- Dexuan