Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-04 Thread James Bottomley
On Fri, 2020-12-04 at 14:51 -0700, Jerry Snitselaar wrote: > James Bottomley @ 2020-12-03 14:05 MST: > > > On Thu, 2020-12-03 at 13:14 -0700, Jerry Snitselaar wrote: > > > Jerry Snitselaar @ 2020-12-02 23:11 MST: > > [...] > > > > The interrupt storm detection code works on the T490s. I'm not > >

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-04 Thread Jerry Snitselaar
James Bottomley @ 2020-12-03 14:05 MST: > On Thu, 2020-12-03 at 13:14 -0700, Jerry Snitselaar wrote: >> Jerry Snitselaar @ 2020-12-02 23:11 MST: > [...] >> > The interrupt storm detection code works on the T490s. I'm not sure >> > what is going on with the L490. I will see if I can get access

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-03 Thread Jarkko Sakkinen
On Wed, Dec 02, 2020 at 11:11:41PM -0700, Jerry Snitselaar wrote: > > Jerry Snitselaar @ 2020-12-02 17:02 MST: > > > Jarkko Sakkinen @ 2020-12-02 09:49 MST: > > > >> On Tue, Dec 01, 2020 at 12:59:23PM -0700, Jerry Snitselaar wrote: > >>> > >>> Jerry Snitselaar @ 2020-11-30 20:26 MST: > >>> >

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-03 Thread James Bottomley
On Thu, 2020-12-03 at 13:14 -0700, Jerry Snitselaar wrote: > Jerry Snitselaar @ 2020-12-02 23:11 MST: [...] > > The interrupt storm detection code works on the T490s. I'm not sure > > what is going on with the L490. I will see if I can get access to > > one. > > > > Jerry > > Lenovo verified

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-03 Thread Jerry Snitselaar
Jerry Snitselaar @ 2020-12-02 23:11 MST: > Jerry Snitselaar @ 2020-12-02 17:02 MST: > >> Jarkko Sakkinen @ 2020-12-02 09:49 MST: >> >>> On Tue, Dec 01, 2020 at 12:59:23PM -0700, Jerry Snitselaar wrote: Jerry Snitselaar @ 2020-11-30 20:26 MST: > Jerry Snitselaar @

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-02 Thread Jerry Snitselaar
Jerry Snitselaar @ 2020-12-02 17:02 MST: > Jarkko Sakkinen @ 2020-12-02 09:49 MST: > >> On Tue, Dec 01, 2020 at 12:59:23PM -0700, Jerry Snitselaar wrote: >>> >>> Jerry Snitselaar @ 2020-11-30 20:26 MST: >>> >>> > Jerry Snitselaar @ 2020-11-30 19:58 MST: >>> > >>> >> When enabling the

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-02 Thread Jerry Snitselaar
Jarkko Sakkinen @ 2020-12-02 09:49 MST: > On Tue, Dec 01, 2020 at 12:59:23PM -0700, Jerry Snitselaar wrote: >> >> Jerry Snitselaar @ 2020-11-30 20:26 MST: >> >> > Jerry Snitselaar @ 2020-11-30 19:58 MST: >> > >> >> When enabling the interrupt code for the tpm_tis driver we have >> >> noticed

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-02 Thread Jarkko Sakkinen
On Tue, Dec 01, 2020 at 12:59:23PM -0700, Jerry Snitselaar wrote: > > Jerry Snitselaar @ 2020-11-30 20:26 MST: > > > Jerry Snitselaar @ 2020-11-30 19:58 MST: > > > >> When enabling the interrupt code for the tpm_tis driver we have > >> noticed some systems have a bios issue causing an interrupt

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-12-01 Thread Jerry Snitselaar
Jerry Snitselaar @ 2020-11-30 20:26 MST: > Jerry Snitselaar @ 2020-11-30 19:58 MST: > >> When enabling the interrupt code for the tpm_tis driver we have >> noticed some systems have a bios issue causing an interrupt storm to >> occur. The issue isn't limited to a single tpm or system

Re: [PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-11-30 Thread Jerry Snitselaar
Jerry Snitselaar @ 2020-11-30 19:58 MST: > When enabling the interrupt code for the tpm_tis driver we have > noticed some systems have a bios issue causing an interrupt storm to > occur. The issue isn't limited to a single tpm or system manufacturer > so keeping a denylist of systems with the

[PATCH v2] tpm_tis: Disable interrupts if interrupt storm detected

2020-11-30 Thread Jerry Snitselaar
When enabling the interrupt code for the tpm_tis driver we have noticed some systems have a bios issue causing an interrupt storm to occur. The issue isn't limited to a single tpm or system manufacturer so keeping a denylist of systems with the issue isn't optimal. Instead try to detect the