Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3224135rdg; Tue, 17 Oct 2023 08:08:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFz/MAUqtKNLd1uJ2SI6H3PUA9tFaw25vvcs0YoCwsQokfOsHv9ZCMMqj0ply8QebthdVf+ X-Received: by 2002:a17:902:ecc4:b0:1c6:362:3553 with SMTP id a4-20020a170902ecc400b001c603623553mr3043329plh.31.1697555290201; Tue, 17 Oct 2023 08:08:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697555290; cv=none; d=google.com; s=arc-20160816; b=yzxoAlRs6bEZ5xLTRonl28ltgiA/aYVePQS3xTSeYzzlVMCh4iZ4lNQu8/4BI4DEx+ 9UhzhnTHcDzq9uKTojM67dsBpnPgTndVdm5NOE9MvAEDfff/1IIL8VYrxzsjTr35Cid+ Ylgo2W7XewXYUq1sPngDdIdz43lKCU37Dpn8RLv7XsE8qpJum5C1J9ARgQieNWpX97+P MhqTt0qcmw1fPh8XOKWxmnt6X8KflPQ4sg6nRKVJ6UhiB/eTiJlZySnmY8ggAKq3sySr jf+P6TK03hJd2rgXQ/En43qyrNJIHj8/akt0A4i6FZUiCdqmwdL7K3y1VBbdkrualpMa wOZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=wcKDvBb6jnUJQGfQIZYJmILk9qMhN/wgRJD69FE2Nq8=; fh=+iTYBBPbU5rfKO+jQgpjCtLxS7zebTHe+SIw94OrlhA=; b=S1IaGBcaPGMA2cpdoRDMNvLIBw/evM3OvMMNcCHIwMz93o2ZzTDMiwIlyIk0MA8A+p 5lXbt4rVPLHFrq/QO2t//mCCMVdAFIw3nMS1S2KUBjqBI8FQkNt0D2Ew1n2iLBUYXo6J pxmYJD2eN8UEJKeSVNvzFj69hmAVnjOoqRv0E5XCnu7hu2Gzc26sR3XgnBYy3OkpO+4Y 6pPDKpVfhU05PMGLknuuk8ro7h8J81dWojYdU9L/sNC/4+20OEzc2CYXh4ipyvo7xCd4 xjN5D0lfjT2duBt1mO5ncB/Ryjd7zvkWV5hyO5ZNWIh38Pz6TKsttPcqOWgkndHJFFcf H6SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gMNSrwXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id j1-20020a170902690100b001c7345bc007si1795343plk.486.2023.10.17.08.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 08:08:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gMNSrwXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 56FFC8026469; Tue, 17 Oct 2023 08:08:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344171AbjJQPHw (ORCPT + 99 others); Tue, 17 Oct 2023 11:07:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344158AbjJQPHf (ORCPT ); Tue, 17 Oct 2023 11:07:35 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF4E6272E for ; Tue, 17 Oct 2023 08:06:07 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 37DB8C0004; Tue, 17 Oct 2023 15:06:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697555166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wcKDvBb6jnUJQGfQIZYJmILk9qMhN/wgRJD69FE2Nq8=; b=gMNSrwXtyQfHLaxBZdIC7zCUVCGh1Q4jYEI8oNA7aj8wZrGUVUZnJJ2AOnfBq0kvZIDa/l iZSE4toLtXxLjDvoLhNhYS1rmWaB6TdwNqpJOURBet+RsqkbUJkMbbia+bpWt3expJJLsP U7vHEx01/8914YAG7RIzVmmrvwfX0HnHI0z3wJwmlc/GJ4FWVdZmWzVf7vhwiCbFqrOXEk JU4QoVYHpoRxtTz1Me9AJ+fHggBbIBE8IrixH5KWQcC+s8eMvbm8/8X7HlRKxOnEJNKTF5 SBa2fjyDdx+w+F6Ka4caG+wTX5qObjvF5Bit16RQVavw8M2Iq95RK50EUruRag== Date: Tue, 17 Oct 2023 17:06:03 +0200 From: Miquel Raynal To: Frank Li Cc: conor.culhane@silvaco.com, alexandre.belloni@bootlin.com, joe@perches.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: Re: [PATCH 6/6] i3c: master: svc: fix random hot join failure since timeout error Message-ID: <20231017170603.5ef996c2@xps-13> In-Reply-To: References: <20231016153232.2851095-1-Frank.Li@nxp.com> <20231016153232.2851095-7-Frank.Li@nxp.com> <20231017163335.16770af2@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 17 Oct 2023 08:08:02 -0700 (PDT) Hi Frank, Frank.li@nxp.com wrote on Tue, 17 Oct 2023 10:45:14 -0400: > On Tue, Oct 17, 2023 at 04:33:35PM +0200, Miquel Raynal wrote: > > Hi Frank, > >=20 > > Frank.Li@nxp.com wrote on Mon, 16 Oct 2023 11:32:32 -0400: > > =20 > > > master side report: > > > silvaco-i3c-master 44330000.i3c-master: Error condition: MSTATUS 0x= 020090c7, MERRWARN 0x00100000 > > >=20 > > > BIT 20: TIMEOUT error > > > The module has stalled too long in a frame. This happens when: > > > - The TX FIFO or RX FIFO is not handled and the bus is stuck in the > > > middle of a message, > > > - No STOP was issued and between messages, > > > - IBI manual is used and no decision was made. > > > The maximum stall period is 10 KHz or 100 =CE=BCs. > > >=20 > > > This is a just warning. System irq thread schedule latency is possibl= e =20 > >=20 > > can be bigger =20 > > > bigger than 100us. Just omit this waring. =20 > >=20 > > I'm not sure this is the correct approach. It's a real issue but there > > is not much we can do about it. Perhaps dev_err is too high, but I > > would not entirely drop this message. Maybe a comment and turning the > > message into a dbg printk would be more appropriate? =20 >=20 > The key is not message. It return true, means IBI/HJ thread will not run. But why should the workers run if it's too late? Thanks, Miqu=C3=A8l