Re: [PATCH] tpm: Begin the process to deprecate user_read_timer

2017-01-24 Thread Jarkko Sakkinen
On Mon, Jan 23, 2017 at 05:06:08PM -0700, Jason Gunthorpe wrote: > For a long time the cdev read/write interface had this strange > idea that userspace had to read the result within 60 seconds otherwise > it is discarded. Perhaps this made sense under some older locking regime, > but in the modern

[PATCH] tpm: Begin the process to deprecate user_read_timer

2017-01-23 Thread Jason Gunthorpe
For a long time the cdev read/write interface had this strange idea that userspace had to read the result within 60 seconds otherwise it is discarded. Perhaps this made sense under some older locking regime, but in the modern kernel it is not required and is just dangerous. Since something may be