On Sat, May 05, 2018 at 12:54:53PM -0700, Jerry Snitselaar wrote: > For certain tpm chips releasing locality can take long enough that a > subsequent call to request_locality will see the locality as being > active when the access register is read in check_locality. So check > that the locality has been released before returning from > release_locality. > > Cc: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com> > Cc: Peter Huewe <peterhu...@gmx.de> > Cc: Jason Gunthorpe <j...@ziepe.ca> > Reported-by: Laurent Bigonville <bi...@debian.org> > Signed-off-by: Jerry Snitselaar <jsnit...@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com> /Jarkko