Thread (27 messages) 27 messages, 6 authors, 2017-09-15

[tpmdd-devel] [PATCH v2 1/4] tpm: ignore burstcount to improve tpm_tis send() performance.

From: peterhuewe@gmx.de (Peter Huewe)
Date: 2017-09-13 19:01:45
Also in: lkml


Am 13. September 2017 11:52:12 GMT-07:00 schrieb Ken Goldman [off-list ref]:
On 9/6/2017 12:12 PM, Jason Gunthorpe wrote:
quoted
The problem with this approach is that the TPM could totally block
the CPU for very long periods of time.

It seems very risky to enable..
How would you characterize "very long"?

The TPM vendors confirm that they empty the FIFO at internal speeds
that
are comparable to the bus speed.  Thus, any stall will be sub-usec.  Is
that an issue?
If the tpm does behave correctly, this is fine. 
If the tpm hangs for whatever reason, your machine is frozen and you will never figure out why.

That's my concern there.
However ddwg seems fine.
In addition, new TPMs have ever larger FIFO's, making stalls less
likely
going forward.
But also reduced the polling loops that introduce the performance penalty ;)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
tpmdd-devel mailing list
tpmdd-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
-- 
Sent from my mobile
--
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