Message ID | 20241001-svc-i3c-hj-v5-0-480ab8aed849@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 14B1ECEACF1 for <linux-i3c@archiver.kernel.org>; Tue, 1 Oct 2024 17:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=f4FoHKwnCmck0w1N8kKgoYs7qFP32ED00FwiAros2kw=; b=RSWuxc6oFHl7Qp GbkkEnSMm1q6oZRQL9H5xxzG95m8Z8LHgbr/AXqSMZPNA7uIuSbc54L+yQuP/mqhp5yLN5pI3Jsai wiRcnmNhwzLG34CbAiUqKpuB4WFsDigVVWkkkEW3fjuSFBOyl7sx6kXcMcvHVSH1Y6G61Qdq9PqzQ xOE2SO9Y6nkHhzHjgX95nWWYqUCtrDMOfhNXTgThgnZNwIOjvZTVK/heahcEVqQ1TRamABryRTrFs ZXoEj9YXsmlvmd/l5x/hIPO1LnwqDzwbxBVBtZt4iFW66vzvmccFw3f5Meduv7B00i1P6J1SjgCJ2 wu/zYGefzGR4HtKk1qHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svgiv-00000003fHN-2a4V; Tue, 01 Oct 2024 17:31:45 +0000 Received: from mail-northeuropeazlp170110001.outbound.protection.outlook.com ([2a01:111:f403:c200::1] helo=DB3PR0202CU003.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svfZz-00000003Us2-1KmP for linux-i3c@lists.infradead.org; Tue, 01 Oct 2024 16:18:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rr/JenvCBZei6fdb7r6n3NHcnfJO5DT2KvHXUBPFC6uA6roNYG1TBGxVblQ8Io8VaJNjb872LZuTgmb4Ph/NkiXgZEjE9hQlWMrMwu5zJfnvTvLANsmxeK27cfU5OmtVkKNnNXgkZUjqxAm1v8dDYledmEphAlECYjFmn4E8sBBKOwcXvOWk7jqCdeogJdXtrDxe+sdXbJJcGhnb/KHkCxN+nOx26Jr9PKRzL6tr1MY3QqlOSb4z7C1lg1nyTqM/Fyd5c+OLSY1OGR5rPdxTsip3+6HJW79+nDnD5jL0dBu5LflIfzmkNfGDlgANWDzzJ88AS8Qz50TCuVqL5s6CtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7csOdTlPABbux1sT29PbmMTe7/81sXGNwUnWOPIM3d0=; b=Z9E1lbC4yNjMb+KLHPjKFhkF+JO24E9GKeEwf0xqVr4tQNui5czPnj042G+//vNjWUbhIUxRI4WHmqiPYD4Jri28TyL6Xl5oZhERAgL+MYRMVtoFrCKvZnA4kW4ImM+i+U8N7ljs4dOr7RMllplA+D9aBAkIki5zGOTKwqay1SNeR29Mz6DFAEKoOS1JF6eyAZLM1G3Ptx6D3tU9ximvtjaFbI/D+ztcv6f3+fwjggiM2D2/IUg1+8+HO+jZERt7KmrN3/3z6mw3Ms5mZ2xudtKuSdnCpshkW2nwq87l3UXtRlGozd1mCT/XN/qO7b2Af3EHCxcQDYBCSKtbyZpPLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7csOdTlPABbux1sT29PbmMTe7/81sXGNwUnWOPIM3d0=; b=XBkEGIABqT5Q8jlHFmP0P2PNCfjU7IcQ4Dd1lR/d7Y+iz4Di8WuS2hrKnR937ZTY7umortC0Kpzk8ZIRuy3XwxfrLKv/WXW0SwlgzDqJW130hknv3FvIWNjPyYxMarokMPlodYwzNsxoqoGQDPEZLJ4/mUMFGM1Zbexy6vzK+dVRwLBI2Fbs+tFbXGFi98hqV3htrOsPwJ6SsDJTK0Yca1kg8ZC3IUX27nXCX3cxJkxsio06IsJXlLRMcERX1PGWeaIGZTDNaUHSKmiSQ6yckTiKt0zkaM8L5PY4RwgJG4J7yHqosAJ8kkf1nz10mrOBIhvfLMw+gTUfISs3FoyvxQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB7879.eurprd04.prod.outlook.com (2603:10a6:20b:2a4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.27; Tue, 1 Oct 2024 16:03:38 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8005.024; Tue, 1 Oct 2024 16:03:38 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v5 0/6] I3C: master: svc: collect all patches to improve hotjoin stability Date: Tue, 01 Oct 2024 12:02:49 -0400 Message-Id: <20241001-svc-i3c-hj-v5-0-480ab8aed849@nxp.com> X-B4-Tracking: v=1; b=H4sIACkd/GYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyTHUUlJIzE vPSU3UzU4B8JSMDIxNDAwND3eKyZN1M42TdjCzdpKTEpEQzi+Q0w9REJaCGgqLUtMwKsGHRsbW 1ABkxU+9cAAAA To: Miquel Raynal <miquel.raynal@bootlin.com>, Conor Culhane <conor.culhane@silvaco.com>, Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li <Frank.Li@nxp.com>, stable@kernel.org X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1727798616; l=1268; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=XB6tbTYcSb/KrBY6OzX8Biv1p+7xsISlJpb4CG6h5aE=; b=pMq/ft4GW4SG7p/S37j8boaCwrf0RvXxZ3cclpFCpp6misFSXpdMLcf7kSPO0bZFkX9zuk99Q Dd83M+YzUMjBOMduxkOjcWIQb2Yz3D5SJbkxy32DcUXQEdFrFKKqFh5 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SA1P222CA0045.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:2d0::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB7879:EE_ X-MS-Office365-Filtering-Correlation-Id: a85a658f-9190-4497-26f2-08dce2329c78 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?9iZM0CTwgu9vPh+kr+6BDoCOx//5jGS?= =?utf-8?q?JvJvjzdxMysfT2laBBc/PBlxibAOz5bO9ohiP2IQiSGKy2RvVURzJ8GeRi0YcHr9e?= =?utf-8?q?ieRAhZ9fOQ3PDfqf9un3kry8IIz/jFObclz0/kTztUbqdwtXMLu53QnVAEXJxWcS8?= =?utf-8?q?j8VrrzMdmwrZSLt0e9OtTYShz6wEBcsnySd4V7rwmFkBpBqPWkG9XpnazkdOIrU39?= =?utf-8?q?qgyY4EMLCJB12Lx2VoST6kLlU9ENADJUboRoqmlAa9QwAEGPq1uYNnqel6T7ZvUkz?= =?utf-8?q?kCCuVwBGPvJfVKGT9K7cQCXHnT7N6591Op7p1/IgjCSPUIkBbYiZ2HfuTphnMWtGK?= =?utf-8?q?dPL8D4lsfkrjUb0H9prf+81FEMS/tNvQ23TFylwscXwlAF+KxEs8hczWgmEMOncno?= =?utf-8?q?IctwFfz6bitNPJ1zozEsegX4ugBQ7DtfhvB2uzdLMDMxoi/Zyt/4WXpQbDetrnz9/?= =?utf-8?q?lg2HlNtMWpylegJkpTAqMe3rPdrKyMOqHEpSKM85fpPsYC5xPsCNeEL0auUX62yzB?= =?utf-8?q?LswENWKL6ba6Y4r+/w5eu+A70XiXhlEBn6i4olUqp52pGdTSVhAfw3g/iZHujW7jL?= =?utf-8?q?wEYhprIlJTbEjgVU5ZvjDeGBQNWbqlmXCuTD86dJzwR2S9jcbnAj2XUmW8ovRVSKT?= =?utf-8?q?p/+P4CmZQwKZgrX6YYV7ih1FjERrD9eKpPjRQp86mzRa9D1yDiOcWEiNR1BOibLwE?= =?utf-8?q?gwzUPyk40G+pyCO5htDbef32ngET/LDi/xInlaJzNPzh3cY3o8eYV+FzuHp80w9XC?= =?utf-8?q?NB0/rBjndn8gwyegmYmFAeXfo4zAp0YAE1gfrtcNotKfzevSeo1a1ghQXXv7Gybbo?= =?utf-8?q?5jp/i+U4yLxzt/ky6S53eFldYchet/IjqhEge8bS6N6m+B0nNZa36SNoVL/a40sQZ?= =?utf-8?q?n2qHgFyKSasy9WT3jXdYxVPGcO1dao9dM5MSi5AsHU12sSc/M1eTVQ2sKorjhiQdr?= =?utf-8?q?E+2+7UbK67e7BCl1NkaSSxrBD3mkfu0sT77Tb1gOrwCSnlg+47srgDQLP7hD7qGaF?= =?utf-8?q?KrGvLHRfpixMaXFtd8Di+qs7oSjb7ET9hVCAU0Hr9BNsPjNpOmIjBbkeF1xqvPj3s?= =?utf-8?q?WOBzcbcY2A6JZOSJq8ePtLmAEy6eE2dbnqdbWr+2qUsLPE+5CdaCmMLmaXGzu8MM7?= =?utf-8?q?083BlRu8rJe6lmanQFSnO2TutBsGAv+c1/vhuKoZrus2MISMAmVALr0FC/GQIA1ue?= =?utf-8?q?MttRhuE7aguf8OB3ZXBozm/YD9XfuwvllfCGuEDrs438mf9oD4OiDsiqfi7R46EKw?= =?utf-8?q?pIf2s0NeS1VfDbbW5UvPZHmIHU0PMG407KA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?t9rdlDYIxl4Mmc277uDA9Wzqdk1D?= =?utf-8?q?Y3tEAFATlwvKTbAbpRizjk8jud5/9E8R7xst95uQvG5c3p0ZTEm6LRpFbji1v0+MJ?= =?utf-8?q?lv+WgbySK5v3pe2wrbLiQz2xBkSiPyhlBnJ8hrNc5WoqjnstIiDON2zHnK9epm/kY?= =?utf-8?q?GKV94HIf3v88Fhk4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ht23hkAeEEqkOT8qc0BhJB66Jx9JNdl/b6K?= =?utf-8?q?4h4km9536CTHnYYYm3U1BWZ/eFxqTTDPEAX67Q38r6DlJj21LzCjU5EZbgkYOs6q0?= =?utf-8?q?SDKs5b2aztlpBPB9bt3ccWWUF7upxNX21/E+8eprHA7B6M+jrG2WDd4vwXPq8st/g?= =?utf-8?q?7aSOiuYGTqJp2JqGvby43881cqbmLxuE1L44Az7UWcYc61RkoToJA2MIMUVkZMOHU?= =?utf-8?q?fYbo5ujfx0RgFTxmcpE8HI6MwA5AK1zzCPX2ogZRmEWjYxKOWRK+y8AdLiw3+pHGV?= =?utf-8?q?aLLIbzLLCgPlF4IBD1RLCw5QZh5WdNUu5wGwV+s5nVH6fTdqsW68P0+lDnjYTsr3X?= =?utf-8?q?iCo+nJG2fYOdKAtu71lGkwIcek+a643BXFbIMPwCr0kWugbO0XXryhdyMbZ73Ce2g?= =?utf-8?q?7l5VTpn69sox6PUSSSnXKKdpRGrZOaFet6T1RvNXKDLYCro015AROyis=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a85a658f-9190-4497-26f2-08dce2329c78 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2024 16:03:38.1955 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qnFTKzf3mbf1lZxP7j+2oI02d76aevZxFDCZknsr+2NCOV5aFAdjIUf76k7zk84j7ntdFY2G8JyY7b1XlTZAJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7879 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_091827_441430_9CE46680 X-CRM114-Status: UNSURE ( 6.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-i3c.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-i3c>, <mailto:linux-i3c-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-i3c/> List-Post: <mailto:linux-i3c@lists.infradead.org> List-Help: <mailto:linux-i3c-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-i3c>, <mailto:linux-i3c-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" <linux-i3c-bounces@lists.infradead.org> Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org |
Series |
I3C: master: svc: collect all patches to improve hotjoin stability
|
expand
|
On Tue, Oct 01, 2024 at 12:02:49PM -0400, Frank Li wrote: > This patches is splited from > https://lore.kernel.org/linux-i3c/ZvrAuOBLgi+HtrPD@lizhi-Precision-Tower-5810/T/#t > > It needs more discussion about dt assign address issue about i3c framework. > > This series is svc driver improvement and bug fixes for hotjoin. It fixes > all kinds hotjoin problem when 2 devices random hotjoin and A normal data > transfer is on going. > > This patch version start from v5, which exact the same as old series's v4. > > See each patches for detail issue. > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > Frank Li (6): > i3c: master: svc: use repeat start when IBI WIN happens > i3c: master: svc: manually emit NACK/ACK for hotjoin > i3c: master: svc: need check IBIWON for dynamtica address assign Alex: I am not sure why linux-i3c mail list truncate above 3 patches https://lore.kernel.org/linux-i3c/ but other mail list include all patches. https://lore.kernel.org/imx/20241001-svc-i3c-hj-v5-0-480ab8aed849@nxp.com/T/#t Frank > i3c: master: svc: use spin_lock_irqsave at svc_i3c_master_ibi_work() > i3c: master: svc: wait for Manual ACK/NACK Done before next step > i3c: master: svc: fix possible assignment of the same address to two devices > > drivers/i3c/master/svc-i3c-master.c | 122 +++++++++++++++++++++++++++--------- > 1 file changed, 93 insertions(+), 29 deletions(-) > --- > base-commit: 77df9e4bb2224d8ffbddec04c333a9d7965dad6c > change-id: 20241001-svc-i3c-hj-bbaba68cf1ea > > Best regards, > --- > Frank Li <Frank.Li@nxp.com> >
This patches is splited from https://lore.kernel.org/linux-i3c/ZvrAuOBLgi+HtrPD@lizhi-Precision-Tower-5810/T/#t It needs more discussion about dt assign address issue about i3c framework. This series is svc driver improvement and bug fixes for hotjoin. It fixes all kinds hotjoin problem when 2 devices random hotjoin and A normal data transfer is on going. This patch version start from v5, which exact the same as old series's v4. See each patches for detail issue. Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Frank Li (6): i3c: master: svc: use repeat start when IBI WIN happens i3c: master: svc: manually emit NACK/ACK for hotjoin i3c: master: svc: need check IBIWON for dynamtica address assign i3c: master: svc: use spin_lock_irqsave at svc_i3c_master_ibi_work() i3c: master: svc: wait for Manual ACK/NACK Done before next step i3c: master: svc: fix possible assignment of the same address to two devices drivers/i3c/master/svc-i3c-master.c | 122 +++++++++++++++++++++++++++--------- 1 file changed, 93 insertions(+), 29 deletions(-) --- base-commit: 77df9e4bb2224d8ffbddec04c333a9d7965dad6c change-id: 20241001-svc-i3c-hj-bbaba68cf1ea Best regards, --- Frank Li <Frank.Li@nxp.com>