This is an attempt to convert tpm_tis over to using the locality callbacks added by Jarkko's tpm_crb patch. Requires the patch currently on tpmdd/locality which has moved the need_locality assignment inside the mutex in tpm_transmit.
This is pretty much the same as Jarkko's earlier patch (I think), with the addition of my changes to probe_itpm and tpm_tis_core_init. If this looks good Jarkko, if you want to split it out and have my changes go on top of your patch, or fold my changes into your patch that is fine. Tested on TPM2.0 based tpm_tis device. Will test on TPM1.2 device this afternoon when I dig out the laptop and switch it over to the discrete tpm. ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
