[PATCH] i2c: aspeed: Consider i2c reset for muti-master case

Tommy Huang tommy_huang at aspeedtech.com
Fri Oct 25 11:39:25 AEDT 2024


> -----Original Message-----
> From: Andi Shyti <andi.shyti at kernel.org>
> Sent: Thursday, October 24, 2024 9:23 PM
> To: Tommy Huang <tommy_huang at aspeedtech.com>
> Cc: Andrew Jeffery <andrew at codeconstruct.com.au>;
> brendanhiggins at google.com; benh at kernel.crashing.org; joel at jms.id.au;
> BMC-SW <BMC-SW at aspeedtech.com>; linux-aspeed at lists.ozlabs.org;
> openbmc at lists.ozlabs.org; linux-kernel at vger.kernel.org;
> stable at vger.kernel.org; linux-i2c at vger.kernel.org;
> linux-arm-kernel at lists.infradead.org
> Subject: Re: [PATCH] i2c: aspeed: Consider i2c reset for muti-master case
> 
> Hi Tommy,
> 
> On Tue, Oct 22, 2024 at 02:42:08AM +0000, Tommy Huang wrote:
> > Hi Andrew,
> >
> > 	Thanks for your comments.
> > 	I want to fix the situation when our controller is set as target mode and
> reading / writing by other i2c host.
> > 	However, this host is stopped by any other reason (DC on/off..etc).
> > 	It will cause the controller is stuck in this situation.
> > 	But I find it might not have clear hints to identify this situation is normal
> or abnormal.
> > 	So, this patch should not be applied into mainstream.
> 
> Please, avoid top posting, I don't understand which part of the original
> message you are trying to comment on.

Got it.

> Second thing, please, before sending a patch, always always always make sure
> that checkpatch.pl reports '0' errors and '0'
> warnings, except for few sporadic cases.

Sure. Thanks for your suggestion.

> 
> Andi


More information about the Linux-aspeed mailing list