Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp362782lqh; Tue, 7 May 2024 01:03:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNwxTwIFLtdZ8110cJMEOxS4zns9vEmovxQORGUgq7Clrl+Ubc+gewRfqzJaW8kBsVE2COg3/o1DH3X2R8GqyS8FMs97/GS5X8syGj6A== X-Google-Smtp-Source: AGHT+IF5Q6SvO2lfYZokDIvGNyZRmIl8jftIEVE33ZbBW62OB4AYbgEJXioz9DVqIFF6amfkL8sK X-Received: by 2002:ad4:5e8a:0:b0:6a0:ebca:a151 with SMTP id jl10-20020ad45e8a000000b006a0ebcaa151mr16211747qvb.11.1715069035373; Tue, 07 May 2024 01:03:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715069035; cv=pass; d=google.com; s=arc-20160816; b=hXZt02JKhZBdHfnHK2DGVOMnXCygpi0p4V5ymwinq+NyFHRMR9OtgdLzHyHo1mwpL9 9F1z4Qrxs+oDJC7R9hfUcj4g0qjEwBJzDDqkIeR2xEI+tmLmx5HwmuBaFqayet/9adhB MY2HJSCr0l8IJtG1ZehMGLbBB95ECzibbHzYfWaUxUaNNYNSR9MJcwQGX/HsfllxTO/Y Z3DYSG4SXdrCVjY3WgiV+1WSgknH4lJc3gjUTDZ8nkW1oD+d/Zu96UNWk1x4705xFaZs UdKdJocM+A35OJxTpoTCbILhd4w/xLr0cR1avfRaDC33GABl/euzPGBX9WpXmB1LTqy1 wJZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=3stVzcSl81pEJNONxNBwP2g/IfGB0kfIKSg1nsdNyhA=; fh=ZwwCWcXvEZbnsjffrOgaxb2NKROPXWYFb3Z62f/zOS8=; b=mHS0gA0WVy3Aovo8ygJ8iIoZtwJvdCvaLvx83LXES1xH1XR0HcN3+ZjjQTg/jWJsnx dZoahJleM8zgUEDlQusxi4TgrM+F66KEYarKqrpZWcGjoZGnAklXghvnfhX7YwH2iTg0 D5EiTwtK4QEMoWCOQBxudmhFFKlOhQB7L438zmey6jxrQKpyKuTnuSZWMwDpO+pD2qGg B9PqIsjTPGgy/w6zOKUUY3pyKsQDFQLh5pxzeKC2V2e2GRQHW0ejB/lJMNViCHO37OE/ wJ2LLzN4xJAIkXq2XeETLfaNRR+kRloE4mwV93cLpE6xOqjspS+pekV62zGxGeDD/QOr EVyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LXUiuorg; 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-170847-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170847-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. [147.75.199.223]) by mx.google.com with ESMTPS id 11-20020ad45b8b000000b006a0b014c7aasi11159748qvp.356.2024.05.07.01.03.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 01:03:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170847-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LXUiuorg; 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-170847-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170847-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 DC75B1C230BA for ; Tue, 7 May 2024 08:03:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA25013C8F7; Tue, 7 May 2024 08:03:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="LXUiuorg" 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 395686FE07 for ; Tue, 7 May 2024 08:03:46 +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=1715069029; cv=none; b=kcAoVaWZNxI+arnJDcRXzP/OG4OJbCZb6FJ145T895MjPyo+OjiF8uJeq5acBzOGF2Npw1u3tBkxycAmp+Mw1S8mBtgJev3JVpsPR229rqjwaLhTCDigukydk42EMIO59ndwC3jo35OVlQPcu5iXPhqOLTtZkqT8hecAhGIyd/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715069029; c=relaxed/simple; bh=dckxDuJXcTS8FcNV2HMCeT3R5Pxpcf+5RPhmyxTdlqU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lxIauO0SGY6wkDmEVFIAM4wFMYrfjGEwJzp2MXMHvcxjg7FQrWGgX0ha51z23jzkk90nXzUIwZJ/Xw5sR3FK5cH7DTtHYAkAvlBQ7TbN4gwkAGjNAQJcORgEA6SYgOO9D182MBYYrntr0DGNdrA46d6DcMN6ob7gcgbFzXREWy8= 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=LXUiuorg; 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 77983FF811; Tue, 7 May 2024 08:03:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1715069021; 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=3stVzcSl81pEJNONxNBwP2g/IfGB0kfIKSg1nsdNyhA=; b=LXUiuorgxAxO5DbieuICsybsdUR95Ht6Gu8+Tx2dG5iJjSPYpqsTCk2IxU5sBridjlOADl lCCWm9yo8a+q+MrSiqnUc6RPBkO8AFTqObAc9npdia6HpNvlNi1ETOK1WwnnWuXtyOyfzf u/7xb80U6YxZa8/M0HDwBtyK0DKBrkHAORY+l6GgaKB+V6aQE9wkV+VV4NmuCBCsPMODHH nbg6+SBiLw9rYZMGZ3A+un9LO2BuGk5Ovt4kxRsZEU7PH7GkKgxd5AqDfw9epOvABnFx3N tH00XS/S94VG/PSyhxKHOQgJmLvCRffhWWstdiutPT6Z6M9/9tWGMIUcK92wsg== Date: Tue, 7 May 2024 10:03:40 +0200 From: Miquel Raynal To: Frank Li Cc: alexandre.belloni@bootlin.com, conor.culhane@silvaco.com, imx@lists.linux.dev, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] i3c: master: svc: change ENXIO to EAGAIN when IBI occurs during start frame Message-ID: <20240507100340.674f9acc@xps-13> In-Reply-To: <20240506164009.21375-2-Frank.Li@nxp.com> References: <20240506164009.21375-1-Frank.Li@nxp.com> <20240506164009.21375-2-Frank.Li@nxp.com> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Frank, Frank.Li@nxp.com wrote on Mon, 6 May 2024 12:40:08 -0400: > svc_i3c_master_xfer() returns error ENXIO if an In-Band Interrupt (IBI) > occurs when the host starts the frame. >=20 > Change error code to EAGAIN to inform the client driver that this > situation has occurred and to try again sometime later. >=20 > Fixes: 5e5e3c92e748 ("i3c: master: svc: fix wrong data return when IBI ha= ppen during start frame") > Signed-off-by: Frank Li Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l