Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-17 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
Hello Jean, On 05/09/2019 14:57, Jean Delvare wrote: > If this is of any value to you, I tried implementing it in i2c-i801 a > few days ago. I can't really test it though as I don't have any device > which triggers an alert on my system, but I am sharing it with you if > you want to give it a try.

Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-16 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
Hi Jean, On 05/09/2019 14:57, Jean Delvare wrote: > If this is of any value to you, I tried implementing it in i2c-i801 a > few days ago. I can't really test it though as I don't have any device > which triggers an alert on my system, but I am sharing it with you if > you want to give it a try. Yo

Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-16 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
Hello Jean, On 05/09/2019 14:57, Jean Delvare wrote: > If this is of any value to you, I tried implementing it in i2c-i801 a > few days ago. I can't really test it though as I don't have any device > which triggers an alert on my system, but I am sharing it with you if > you want to give it a try.

Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-05 Thread Jean Delvare
On Tue, 3 Sep 2019 02:15:52 +, Xu, Lingyan (NSB - CN/Hangzhou) wrote: > Thanks a lot for your comments. And, yes, it is dangerous that clear all > interrupt bit here based my local test. And about the interrupt flood, I will > show you in attached file. And I agree with you that add SMBALERT

RE: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-05 Thread Xu, Lingyan (NSB - CN/Hangzhou)
Sent: 2019年9月3日 10:16 To: 'Jean Delvare' Cc: Adamski, Krzysztof (Nokia - PL/Wroclaw) ; Wiebe, Wladislav (Nokia - DE/Ulm) ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: RE: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt Hi Jean, Thank

RE: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-02 Thread Xu, Lingyan (NSB - CN/Hangzhou)
Wiebe, Wladislav (Nokia - DE/Ulm) ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt Hi Lingyan, On Mon, 12 Aug 2019 10:40:34 +0800, lingyxu wrote: > From: Lingyan Xu > > In current i801 dr

Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-08-28 Thread Jean Delvare
Hi Lingyan, On Mon, 12 Aug 2019 10:40:34 +0800, lingyxu wrote: > From: Lingyan Xu > > In current i801 driver, SMBALERT interrupt is allowed > (Slave Command Register bit2 is 0). > But these is no handler for SMBALERT interrupt in i801_isr, > if there is SMBALERT interrupt asserted and deasserted

Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-08-14 Thread Wolfram Sang
On Mon, Aug 12, 2019 at 10:40:34AM +0800, lingyxu wrote: > From: Lingyan Xu > > In current i801 driver, SMBALERT interrupt is allowed > (Slave Command Register bit2 is 0). > But these is no handler for SMBALERT interrupt in i801_isr, > if there is SMBALERT interrupt asserted and deasserted, > i80

[PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-08-11 Thread lingyxu
From: Lingyan Xu In current i801 driver, SMBALERT interrupt is allowed (Slave Command Register bit2 is 0). But these is no handler for SMBALERT interrupt in i801_isr, if there is SMBALERT interrupt asserted and deasserted, i801 will have an irq flood for the related status bit is setted. So SMBA