ntent='cgit v1.2.3-54-g00ecf'/>
<meta name='robots' content='noindex, nofollow'/>
<link rel='stylesheet' type='text/css' href='/cgit.css'/>
<script type='text/javascript' src='/cgit.js'></script>
<link rel='shortcut icon' href='http://distanz.ch/favicon.ico'/>
<link rel='alternate' title='Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/tools/testing/selftests/powerpc/math/.gitignore?h=master' type='application/atom+xml'/>
<link rel='vcs-git' href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
<link rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='1254856c07e0e5707d3291f625db8ed69a866be2'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=1254856c07e0e5707d3291f625db8ed69a866be2'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/powerpc/math/.gitignore'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/testing/selftests/powerpc/math/.gitignore?id=1254856c07e0e5707d3291f625db8ed69a866be2'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/powerpc/math/.gitignore?id=1254856c07e0e5707d3291f625db8ed69a866be2'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/testing/selftests/powerpc/math/.gitignore?id=1254856c07e0e5707d3291f625db8ed69a866be2'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/powerpc/math/.gitignore'>
<input type='hidden' name='id' value='1254856c07e0e5707d3291f625db8ed69a866be2'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=1254856c07e0e5707d3291f625db8ed69a866be2'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?id=1254856c07e0e5707d3291f625db8ed69a866be2'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing?id=1254856c07e0e5707d3291f625db8ed69a866be2'>testing</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests?id=1254856c07e0e5707d3291f625db8ed69a866be2'>selftests</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/powerpc?id=1254856c07e0e5707d3291f625db8ed69a866be2'>powerpc</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/powerpc/math?id=1254856c07e0e5707d3291f625db8ed69a866be2'>math</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/powerpc/math/.gitignore?id=1254856c07e0e5707d3291f625db8ed69a866be2'>.gitignore</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/powerpc/math/.gitignore?id=1254856c07e0e5707d3291f625db8ed69a866be2&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Tony Lindgren &lt;tony@atomide.com&gt;</td><td class='right'>2017-01-24 09:18:57 -0600</td></tr>
<tr><th>committer</th><td>Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;</td><td class='right'>2017-01-25 11:02:29 +0100</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/sunrpc/xprtrdma/svc_rdma_backchannel.c?id=407788b51db6f6aab499d02420082f436abf3238'>407788b51db6f6aab499d02420082f436abf3238</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/sunrpc/xprtrdma/svc_rdma_backchannel.c?id=407788b51db6f6aab499d02420082f436abf3238'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=407788b51db6f6aab499d02420082f436abf3238'>b2fb3c885baf47cd2bd8ee0429f423b352e11905</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/sunrpc/xprtrdma/svc_rdma_backchannel.c?id=407788b51db6f6aab499d02420082f436abf3238'>net/sunrpc/xprtrdma/svc_rdma_backchannel.c</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/sunrpc/xprtrdma/svc_rdma_backchannel.c?id=7a308bb3016f57e5be11a677d15b821536419d36'>7a308bb3016f57e5be11a677d15b821536419d36</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/sunrpc/xprtrdma/svc_rdma_backchannel.c?id=407788b51db6f6aab499d02420082f436abf3238&amp;id2=7a308bb3016f57e5be11a677d15b821536419d36'>diff</a>)</td></tr></table>
<div class='commit-subject'>usb: musb: Fix host mode error -71 regression</div><div class='commit-msg'>Commit 467d5c980709 ("usb: musb: Implement session bit based runtime PM for
musb-core") started implementing musb generic runtime PM support by
introducing devctl register session bit based state control.

This caused a regression where if a USB mass storage device is connected
to a USB hub, we can get:

usb 1-1: reset high-speed USB device number 2 using musb-hdrc
usb 1-1: device descriptor read/64, error -71
usb 1-1.1: new high-speed USB device number 4 using musb-hdrc

This is because before the USB storage device is connected, musb is
in OTG_STATE_A_SUSPEND. And we currently only set need_finish_resume
in musb_stage0_irq() and the related code calling finish_resume_work
in musb_resume() and musb_runtime_resume() never gets called.

To fix the issue, we can call schedule_delayed_work() directly in
musb_stage0_irq() to have finish_resume_work run.

And we should no longer never get interrupts when when suspended.
We have changed musb to no longer need pm_runtime_irqsafe().
The need_finish_resume flag was added in commit 9298b4aad37e ("usb:
musb: fix device hotplug behind hub") and no longer applies as far
as I can tell. So let's just remove the earlier code that no longer
is needed.

Fixes: 467d5c980709 ("usb: musb: Implement session bit based runtime PM for musb-core")
Reported-by: Bin Liu &lt;b-liu@ti.com&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Bin Liu &lt;b-liu@ti.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=407788b51db6f6aab499d02420082f436abf3238'>Diffstat</a> (limited to 'net/sunrpc/xprtrdma/svc_rdma_backchannel.c')</div><table summary='diffstat' class='diffstat'>