[Skiboot] [PATCH 00/14] tpm_i2c_nuvoton: work out pooling time using mftb()

Stewart Smith stewart at linux.vnet.ibm.com
Tue Nov 29 18:50:44 AEDT 2016


Claudio Carvalho <cclaudio at linux.vnet.ibm.com> writes:
> This adds error handling code after reading and writing tpm registers and also
> work out the polling time using mftb() in order to make it much more accurate.
>
> Claudio Carvalho (14):
>   tpm_i2c_nuvoton: rename defines to shorter names
>   tpm_i2c_nuvoton: add tpm_check_status()
>   tpm_i2c_nuvoton: add tpm_status_read_byte()
>   tpm_i2c_nuvoton: handle errors after reading sts.commandReady
>   tpm_i2c_nuvoton: isolate the code that handles the TPM_TIMEOUT_D
>     timeout
>   tpm_i2c_nuvoton: return burst_count in tpm_read_burst_count()
>   tpm_i2c_nuvoton: handle errors after checking the tpm fifo status
>   tpm_i2c_nuvoton: handle errors after writing sts.go
>   tpm_i2c_nuvoton: handle errors after writing sts.commandReady in step
>     5
>   tpm_i2c_nuvoton: cleanup variables in tpm_write_fifo()
>   tpm_i2c_nuvoton: handle errors after writting the tpm fifo
>   tpm_i2c_nuvoton: cleanup variables in tpm_read_fifo()
>   tpm_i2c_nuvoton: handle errors after reading the tpm fifo
>   tpm_i2c_nuvoton: work out the polling time using mftb()
>
>  libstb/drivers/tpm_i2c_nuvoton.c | 620 +++++++++++++++++++++------------------
>  1 file changed, 338 insertions(+), 282 deletions(-)
>
> -- 

thanks!

Series merged to master and 5.4.x as of:
5f0dfda  master
8b5cf36  skiboot-5.4.x


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list