On Fri, 2018-02-16 at 10:17 -0800, James Bottomley wrote: > so I think it's something to do with tpm_validate_command. I think, > perhaps, we shouldn't call the getcaps for the command codes until > the > self test is over, but I need to do more debugging to track down > what's > going on. The calls for tpm2_get_pcr_allocation() and tpm2_get_cc_attrs_tbl() could be also moved before the self test. /Jarkko