Thread (12 messages) 12 messages, 2 authors, 2018-06-07

[PATCH] tpm: separate cmd_ready/go_idle from runtime_pm

From: Jarkko Sakkinen <hidden>
Date: 2018-05-23 13:16:22
Also in: linux-integrity, lkml

On Tue, May 22, 2018 at 09:27:46AM +0000, Winkler, Tomas wrote:
quoted
On Wed, May 16, 2018 at 10:46:00PM +0300, Tomas Winkler wrote:
quoted
New wrappers are added tpm_cmd_ready() and tpm_go_idle() wrappers to
streamline tpm_try_transmit code. TPM_TRANSMIT_UNLOCKED flag is
abused
quoted
to resolve tpm spaces recursive calls to tpm_transmit().
This looks good and all but I don't think we want to abuse anything in the
driver code, do we?
It's not abuse just the flag UNLOCKED is not really named correctly 
I think this has to be backported so wanted to do less invasive change.
It should be renamed anyway and possible merge conflicts are not hard to
sort out in this change. Can you rename it as SPACE?

Right, and even without rename this will probably cause merge conflicts
at least in v4.4 an v4.9 since in-kernel RM landed in v4.12, so not much
gain not do the rename :-)

/Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help