From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 C09B21E7660 for ; Wed, 11 Mar 2026 21:52:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773265963; cv=none; b=bzP5w4zXJRZanrjYKRCEulSZ4IGj8fMzFgAk0MXEQpdDYPotVB+G4acSYXeRSuKcv2NRkmYZ8xV2rOwb+C1U8VrYNNLbPT4+MpmbrffGvIpJJe1cnRAnxQvP7eamdE1iiwFxi2esOYBEsjA3WjbKblf+sirgqbEeFV9duLo4l3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773265963; c=relaxed/simple; bh=yi41P/v1W80+gt73sjSYmBh01T0zplnR1DXkm0yPVZA=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bOKHb/tzVLOlUd6g3govTg2wh/WaUHb9D47bdr1uaUJIT7pf1Kc2BZRsz53hqsc5BcIZxAY/NKtqtZ0mt031yOwqUpuHbe3ejxHSq9OdvFtcPG+c2R8P7S+/1UtQOKRWLS0TjUGeGkTIdENJjhXdMGXqyvqplz6dcaM/tZer7go= 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=0Cql3txB; arc=none smtp.client-ip=185.171.202.116 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="0Cql3txB" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 565E5C41594; Wed, 11 Mar 2026 21:52:59 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id C502460004; Wed, 11 Mar 2026 21:52:37 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id ED1E110369BDC; Wed, 11 Mar 2026 22:52:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1773265957; h=from:subject:date:message-id:to:mime-version:content-type:in-reply-to: references; bh=1CQa3HlVKpA7Zt8df8fVfrCsP58jrDjo5THxQFnL9zQ=; b=0Cql3txB7KNthrzRqn7ayNVOSRZwhoGegqum4iNnOLxgnHgt1+kn+lkoOUGzoVrEYhZcC/ D9RJnwq1xzCnIMAggEVl7ONJRO2WjCiG3+SLzHu5GZ96E41CHe9nG2F0tFkvC5VQt4ElOo QDe3BXtpF3FGvhmdS7oAcShKS0t2neJyIcxSh7iyzTT0CqXDodfwRFDGAyiMeqeiXFIPNx FOiAY4vJHmp9iEqJ5KNTsg3y/iwMiEECSXXancFBS01Y77KNSCIfn1npZmca2WQv4XhN+8 8lkzzPMpc9snuVhSB4t+oXCQU9BXeYEtN/gpJP0rSdJZOqOJLcIk6OwnR0vSvA== Date: Wed, 11 Mar 2026 22:52:35 +0100 From: Alexandre Belloni To: Frank.Li@nxp.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, adrianhoyin.ng@altera.com Subject: Re: [PATCH v2] i3c: dw-i3c-master: Set SIR_REJECT in DAT on device attach and reattach Message-ID: <177326593348.2388749.14698557344627271725.b4-ty@bootlin.com> References: <53f5b8cbdd8af789ec38b95b02873f32f9182dd6.1770962368.git.adrianhoyin.ng@altera.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: <53f5b8cbdd8af789ec38b95b02873f32f9182dd6.1770962368.git.adrianhoyin.ng@altera.com> X-Last-TLS-Session-Version: TLSv1.3 On Fri, 13 Feb 2026 14:00:48 +0800, adrianhoyin.ng@altera.com wrote: > The DesignWare I3C master controller ACKs IBIs as soon as a valid > Device Address Table (DAT) entry is present. This can create a race > between device attachment (after DAA) and the point where the client > driver enables IBIs via i3c_device_enable_ibi(). > > Set DEV_ADDR_TABLE_SIR_REJECT in the DAT entry during > attach_i3c_dev() and reattach_i3c_dev() so that IBIs are rejected > by default. The bit is managed thereafter by the existing > dw_i3c_master_set_sir_enabled() function, which clears it in > enable_ibi() after ENEC is issued, and restores it in disable_ibi() > after DISEC. > > [...] Applied, thanks! [1/1] i3c: dw-i3c-master: Set SIR_REJECT in DAT on device attach and reattach https://git.kernel.org/abelloni/c/f311a0578463 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com