Thread (12 messages) 12 messages, 3 authors, 2018-02-01

RE: [PATCH 1/3] tpm: cmd_ready command can be issued only after granting locality

From: Winkler, Tomas <hidden>
Date: 2018-02-01 22:08:34
Also in: linux-security-module, lkml

On Wed, Jan 24, 2018 at 06:33:53PM +0000, Winkler, Tomas wrote:
quoted
quoted
quoted
-	pm_runtime_put(dev);
+	pm_runtime_put_sync(dev);
Change to put_sync is needed so that the idle handshake gets
completed?
quoted
Right.
Since we seem to agree that your change to get rid of the use of PM runtime
should that be actually the first change in the patch set?

Or are you looking forward to get these backported to stable kernels?
Yes, that was one of the reason behind for splitting this into two patches. 
So this first patch is the actual fix and second is the rather non user visible fix 
as runtime_pm should be enabled by default.  But .. maybe both need to be backported.

Thanks
Tomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help