lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <40ee4f61d7cb4a3ebb683d498bb587f0@siengine.com>
Date: Tue, 10 Sep 2024 11:54:43 +0000
From: Liu Kimriver/刘金河 <kimriver.liu@...ngine.com>
To: Jarkko Nikula <jarkko.nikula@...ux.intel.com>,
        Andy Shevchenko
	<andriy.shevchenko@...ux.intel.com>
CC: "mika.westerberg@...ux.intel.com" <mika.westerberg@...ux.intel.com>,
        "jsd@...ihalf.com" <jsd@...ihalf.com>,
        "andi.shyti@...nel.org"
	<andi.shyti@...nel.org>,
        "linux-i2c@...r.kernel.org"
	<linux-i2c@...r.kernel.org>,
        "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v8] i2c: designware: fix master is holding SCL low while
 ENABLE bit is disabled

Hi, Jarkko


>-----Original Message-----
>From: Jarkko Nikula <jarkko.nikula@...ux.intel.com> 
>Sent: 2024年9月10日 19:20
>To: Liu Kimriver/刘金河 <kimriver.liu@...ngine.com>; Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
>Cc: mika.westerberg@...ux.intel.com; jsd@...ihalf.com; andi.shyti@...nel.org; linux-i2c@...r.kernel.org; linux-kernel@...r.kernel.org
>Subject: Re: [PATCH v8] i2c: designware: fix master is holding SCL low while ENABLE bit is disabled

>On 9/10/24 12:38 PM, Liu Kimriver/刘金河 wrote:
>> Hi Andy,
>> 
>>> -----Original Message-----
>>> From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
>>> Sent: 2024年9月10日 17:03
>>> To: Liu Kimriver/刘金河 <kimriver.liu@...ngine.com>
>>> Cc: jarkko.nikula@...ux.intel.com; mika.westerberg@...ux.intel.com; 
>>> jsd@...ihalf.com; andi.shyti@...nel.org; linux-i2c@...r.kernel.org; 
>>> linux-kernel@...r.kernel.org
>>> Subject: Re: [PATCH v8] i2c: designware: fix master is holding SCL 
>>> low while ENABLE bit is disabled
>> 
>>> On Tue, Sep 10, 2024 at 02:13:09PM +0800, Kimriver Liu wrote:
>>>> It was observed issuing ABORT bit(IC_ENABLE[1]) will not work when
>>>
>>> "...observed that issuing..."
>>> ...bit (..."
>> 
>> 
>>>> IC_ENABLE is already disabled.
>>>>
>>>> Check if ENABLE bit(IC_ENABLE[0]) is disabled when the master is
>> 
>>> "...bit (..."
>>> master --> controller
>> 
>>   Update it in V9
>> 
>Please add back also kernel errors that are shown when the issue occurs. 
>I saw those mentioned in the commit log in some earlier version of the patch.

Those may help googling the solution (i.e. this patch) if somebody sees similar error on their HW.
 Ok

 Add back kernel errors logs in V9:
These kernel logs show up whenever an I2C transaction is
attempted after this failure.
i2c_designware e95e0000.i2c: timeout in disabling adapter
i2c_designware e95e0000.i2c: timeout waiting for bus ready

The patch can be fix the controller cannot be disabled while
SCL is held low in ENABLE bit is already disabled.

Thanks!

I will be off work, If there are still emails that I have not been replied to,
I will reply to your email immediately after going to work tomorrow.
------------------------------------------
Best Regards
Kimriver Liu

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ