Re: [RFC PATCH v5] tpm_tis: verify interrupt during init

2014-09-02 Thread Jason Gunthorpe
On Sat, Aug 30, 2014 at 11:23:56PM +, Scot Doyle wrote: > On Sat, 30 Aug 2014, Jason Gunthorpe wrote: > > > On Fri, Aug 29, 2014 at 11:59:32PM +, Scot Doyle wrote: > > > >> I tried calling tpm_get_timeouts only during the interrupt test, but again > >> was timed out after 30 seconds. The

Re: [RFC PATCH v5] tpm_tis: verify interrupt during init

2014-09-02 Thread Jason Gunthorpe
On Sat, Aug 30, 2014 at 11:23:56PM +, Scot Doyle wrote: On Sat, 30 Aug 2014, Jason Gunthorpe wrote: On Fri, Aug 29, 2014 at 11:59:32PM +, Scot Doyle wrote: I tried calling tpm_get_timeouts only during the interrupt test, but again was timed out after 30 seconds. The interrupt

[RFC PATCH v5] tpm_tis: verify interrupt during init

2014-08-30 Thread Scot Doyle
On Sat, 30 Aug 2014, Jason Gunthorpe wrote: > On Fri, Aug 29, 2014 at 11:59:32PM +, Scot Doyle wrote: > >> I tried calling tpm_get_timeouts only during the interrupt test, but again >> was timed out after 30 seconds. The interrupt wait in tis_send calls >> tpm_calc_ordinal_duration, which

[RFC PATCH v5] tpm_tis: verify interrupt during init

2014-08-30 Thread Scot Doyle
On Sat, 30 Aug 2014, Jason Gunthorpe wrote: On Fri, Aug 29, 2014 at 11:59:32PM +, Scot Doyle wrote: I tried calling tpm_get_timeouts only during the interrupt test, but again was timed out after 30 seconds. The interrupt wait in tis_send calls tpm_calc_ordinal_duration, which uses a