-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[spi_device] TPM interrupt for Write FIFO #15785
Comments
Triaged for |
|
Conclusion from product team feedback:
Estimate to cover RTL changes + DV
|
As far as I know the only TPM register which is wider than 4 bytes is the FIFO register. That is used all the time, though. If we do not get interrupt at the end of a transaction involving the GSC receiving data through the FIFO register, that would be a problem. |
Based on prioritisation discussion - this RTL change will likely need to go into the next cycle and use the SW workaround. |
We missed the window for RTL changes, we'll move this to the backlog so that it can be considered for the next RTL freeze. |
Related Issue: #15773
Current TPM IP does not provide an interrupt about the write transaction completion. Absent of the interrupt results the SW to wait until the transaction completed by reading the WrFIFO depth or polling the TPM CS# de-assertion.
A TPM transaction may took up to 55 us (64B + 1 Wait + address + cmd @ 10MHz). By introducing the completion interrupt for the Write FIFO, SW can switch the context.
Idea suggested by @tjaychen
CC: @weicaiyang @tjaychen @a-will
The text was updated successfully, but these errors were encountered: