RE: [PATCH v2] tpm: Fix the driver cleanup code

2017-12-22 Thread Shaikh, Azhar
nux-security- >mod...@vger.kernel.org; linux-integr...@vger.kernel.org; linux- >ker...@vger.kernel.org >Subject: RE: [PATCH v2] tpm: Fix the driver cleanup code > > > >>-Original Message- >>From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] >>

RE: [PATCH v2] tpm: Fix the driver cleanup code

2017-12-22 Thread Shaikh, Azhar
.kernel.org; linux- >ker...@vger.kernel.org >Subject: Re: [PATCH v2] tpm: Fix the driver cleanup code > >On Thu, Dec 21, 2017 at 03:13:39PM -0800, Azhar Shaikh wrote: >> Commit 3c1701339284353c41 ("tpm: Keep CLKRUN enabled throughout the >> duration of transmit_cmd()"

Re: [PATCH v2] tpm: Fix the driver cleanup code

2017-12-22 Thread Jarkko Sakkinen
On Thu, Dec 21, 2017 at 03:13:39PM -0800, Azhar Shaikh wrote: > Commit 3c1701339284353c41 ("tpm: Keep CLKRUN enabled throughout > the duration of transmit_cmd()") added code which accessed > chip->ops, even after it was set to NULL in tpm_del_char_device(), > called from tpm_chip_unregister() in er

Re: [PATCH v2] tpm: Fix the driver cleanup code

2017-12-21 Thread Jason Gunthorpe
On Thu, Dec 21, 2017 at 03:13:39PM -0800, Azhar Shaikh wrote: > Commit 3c1701339284353c41 ("tpm: Keep CLKRUN enabled throughout > the duration of transmit_cmd()") added code which accessed > chip->ops, even after it was set to NULL in tpm_del_char_device(), > called from tpm_chip_unregister() in er