Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp99437lqo; Tue, 7 May 2024 13:28:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWW3rYhQvFNTKJG/CyRfObNcJgfq53GXI5n6bJ/5WZXIkQQ61rttOS6Q5WUm0D9gck8sR8CiGI5+s90Oflheb/QTSjFksUA31XjD/YlHQ== X-Google-Smtp-Source: AGHT+IEcVAZMG4XsYwe0jEc3OHhGrcy3MzBOfDUfgbKHnSMSqPPArzvzzDVHXBgCEo/IAJ0lL8Yf X-Received: by 2002:a05:620a:2493:b0:792:9d65:2853 with SMTP id af79cd13be357-792b2829722mr95022185a.48.1715113725586; Tue, 07 May 2024 13:28:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715113725; cv=pass; d=google.com; s=arc-20160816; b=0Q1yCZCIkbJZCXARxU0rC8EsftzSIEgmcN5LH77uld7Z/hVcL50BTXVO12qNd4bTze DBLH1LmGC4TeUARg5jyWc57mr1ciC8TJXh+x+oigJhIp2uYD4BCatzlk0iIO7XJOkWmM Gy9AmzJwSx9dzRxHVKyA/sHtDC29iGdNTz4bHixueEo0tU+DyXHFuoRlXE8aWFKzogph mY7uY5NmsSbiKr0jYgoHxsGS8PSjwab4hSuh80/1lh73+zX+I4/1nAM0m9B6QnGwYMIG IioHEKCJoe0kJBnX6Jaaf7pDwdLlNQbCosMeZ2bWmnws55kVIu5hW0ERK9Dul5MsLXZ3 KlUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GnYuaSYVTcxIbkjcD6lKwaRFkflKMhkDDqSPD7vAAvQ=; fh=mz4QYy6oKMOyani5yUPXSpxbCVqw7O6ucBUng9Sl2yA=; b=L9jIc7qcie0cTF2fFtJAvkk/xNbk4XYAUuUp1wiTDeS0ISSaZ8I6hAauAF+rTdgzUY Tazv6jAKlAArt23QGtRxC8nZ+/cospSN5CKI+V+Ur1uyoERfV2Xk4cf+sQTSuuwHDr6h lXCtLDfv1DuMeYoFaaCc4nmmvhcwiBF7SF3xWSprlBFDms1karbfaEdnNJlUxM7Gm5wH oxVuhnlP46X+NlwsJ0b9I+cZ9l1xtEdfHPTod/aIHldN7EBXd0mwDK2JnRDnHcf5phQ3 JkgYENAb/PJYmdax8+JPpx5CsJ+CV8DTQYWz4rmc5Y7Q0X4Fbh/zFZdIWtjEw2tb5KHI xjcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=OuWLybSp; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-172147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v21-20020a05620a091500b00792a6a57830si2637228qkv.368.2024.05.07.13.28.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 13:28:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=OuWLybSp; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-172147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7D5311C24306 for ; Tue, 7 May 2024 20:28:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A00E0187322; Tue, 7 May 2024 20:28:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="OuWLybSp" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 227F618733B for ; Tue, 7 May 2024 20:28:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715113685; cv=none; b=pz++Gl4TW4RwPvx+HyuveNCqS01ux+FI5g0of/jnAk0Zs4y/HEH3Y9OT85+QbzIuKLHBRrYmLPmMt9Ri1K8mthKTAFmDcMhxuwcZdY3sxWLUOw7MdjmZdFMLqKOuqWQan0sFSVHvPfBHRG+AfGUWgjDQF2XiZdgkbOAEBQ808lM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715113685; c=relaxed/simple; bh=IYIjBvEOG2icV9qUDpX5BGX4FUW/MIUSLmjw/3yIVgk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uCpJdUzeW4b+QiFWxIT7NvCCl8rZSyGjDJI3Lv1gxwAc/KI0jAAvPrX33/WyAp0UVi66VOfTVn+ZQAbbChEsxcG3Jy8vmn2VH/5rge1WM4VO4300CpWdDBUZA+Ep9Yt0U1vbYDs0S5Q6EiKs9E+e3LYxhmPkwqp3xcN7UbguWso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=OuWLybSp; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id A8372FF805; Tue, 7 May 2024 20:27:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1715113675; 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: in-reply-to:in-reply-to:references:references; bh=GnYuaSYVTcxIbkjcD6lKwaRFkflKMhkDDqSPD7vAAvQ=; b=OuWLybSpTWH0HHcK1Ox+v0oS2lcDSwQZ8pfq62CKC2VDoMypz57Wr9S0G6UrxQZQFtaXeY KfEzriTwq0HJhOgrtbbrqEl66qcu76jgW7r4iky2lNkeN46FOOlK8JZCxwiomqWhsQsJn3 ijAinSkGboLigff9z7OjmnuqRkuANElLZ4ylq4WlyNEqb98Tn/ZqwGy2QZwgYXcO/s14b+ bzK1sODj6tlqvhi06+hk+SDzh/9SIZ/DTr9i4xsM0IdVttSsFW4q4PShlDFla/PprT9BHQ LAPZTbfN+woImLj/XebviOl/thEZNygDrtQiwXUzoSX6saapIjHIW30xThyRyw== Date: Tue, 7 May 2024 22:27:54 +0200 From: Alexandre Belloni To: miquel.raynal@bootlin.com, Frank Li Cc: conor.culhane@silvaco.com, imx@lists.linux.dev, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] i3c: Add comment for -EAGAIN in i3c_device_do_priv_xfers() Message-ID: <171511365446.810643.1784657313942616005.b4-ty@bootlin.com> References: <20240506164009.21375-1-Frank.Li@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240506164009.21375-1-Frank.Li@nxp.com> X-GND-Sasl: alexandre.belloni@bootlin.com On Mon, 06 May 2024 12:40:07 -0400, Frank Li wrote: > In accordance with I3C spec ver 1.1.1 09-Jun-2021, section: 5.1.2.2.3, if > a target requests hot join (HJ), In-Band Interrupt (IBI), or controller > role request (CRR) during the emission of an I3C address in > i3c_device_do_priv_xfers(), the target may win bus arbitration. In such > cases, it is imperative to notify the I3C client driver and retry > i3c_device_do_priv_xfers() after some delay. > > [...] Applied, thanks! [1/3] i3c: Add comment for -EAGAIN in i3c_device_do_priv_xfers() https://git.kernel.org/abelloni/c/5e45614ef8ae [2/3] i3c: master: svc: change ENXIO to EAGAIN when IBI occurs during start frame https://git.kernel.org/abelloni/c/75cb32046b5d [3/3] i3c: master: svc: fix invalidate IBI type and miss call client IBI handler https://git.kernel.org/abelloni/c/677a7b0e3ae4 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com