Message ID | 20240724-i3c_fix-v1-0-bfa500b023d6@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 67C25C3DA61 for <linux-i3c@archiver.kernel.org>; Wed, 24 Jul 2024 15:46:15 +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=9Nmrr8qcMyHNsrd4ocAILgiNCkCxjUJBDlLBw+fKRHA=; b=1Ss/qAyM6Qzu2W yNyNNB3nkuGi6slXri4guSS4eA4klPzDvOkTQ0k9fO1sOMg2JajVZJgUdiHYaaplNCSeSgoXDTJSf i35LbDxl4d/XNEsQB0pVo3JoZDwnf3aKVH2IIUY6aGF/LwzFAeDveogY3pmMS2ml+/Fj1PsM2O/H1 pjI/H5fH8eIBKHVEx34Pwmwuj0zc55KgQitmOYUZ0E2v1ghXYDIZl4WAOmqO6SD8gHYbz4yC+UdpP mAfXqpltRC8ispp0PkR4W326eNyhir5rOGj77cbsE33oUGBGZwQpQCsYALAtIH3iQe8ArDdKCO7hs zU3PUG6UfVZl+58ZpDew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWeBy-0000000Fot9-2tmv; Wed, 24 Jul 2024 15:46:14 +0000 Received: from mail-db8eur05on20601.outbound.protection.outlook.com ([2a01:111:f400:7e1a::601] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWeBv-0000000FosN-3SQF for linux-i3c@lists.infradead.org; Wed, 24 Jul 2024 15:46:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MD81r6yU+BMmFJF1pUyOyOwyRF6AyyZJKbx7o10eiLItdUGT43VsTLoPt2/2J7gpYtVeGmLkCxWTqGdg9yN2ZbNvYZVR8sgbSnVZHPpixdNTfel8wz0A7LotrxdUpMkjp065S7fcbczB34v0DRDuGnDPRJWLH2bVRwQn3qdLjmoOsWNV6uHhs1849t2AdOFB7Spgckp+XSVjxUQG9EicjaEzNSPRjmVw+oKx0B46WIJK+5hsx1ORf364KPLW13qbjLnNUsXzEO6h+0jADomIhAlQmavAH8NgakCngLzsSRseEb+VSl4YvjnRX8PGVCK+dkXJFCswIWqaKT1spLr4OQ== 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=tSL5r6hTHQi703eiuD2fMg6Gt4zgPLjs1uGp4Sf4U3Y=; b=mrM7/OWz6b/CJYjcQ5nH5oKCIbsPWsfwNJWokRARSyCZG6kKmXiqLhfWU0s4/rqTfwz55A7MA2FDy22MvIQEpsZDU575qpPcSbI/aeRlmVBM+SgWGBcnmxNghaADRyU0/sXHGukjnblKusIvPYZBo0a8jgJPuKD5Ug5SSltWe5WdsusqTI3cx9lNV94/fhh7dE8HYm+YLtg+0kiVGPI4c55NFWaYe6YeT4WjU7QAygCgPsLWcEexP95Q2rfIZM3cNO+2Wno+ZO55mzuwwuUIduemQaWio7ofMeOs9o1rO1eOVxfkmE8RS5AvwZMBJrCTvqoiXusrjhd08Ejw281WeQ== 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=tSL5r6hTHQi703eiuD2fMg6Gt4zgPLjs1uGp4Sf4U3Y=; b=HxcwoWmP6G49q5Yt++C3UTj1DDRt6cwxOV+7Wismc9cFetwH6BnC03+wJaUX2o+1naycodUT6eHtEUCil8+eFzgBClJKoo44zPdp9ikPlLow+dL8vhOnj3RTdSfTtz5mRkt9VuujVptTtqRZKPKYMTDXLnXzNl3zO/kJtyi4RKyZuTffBnDdWipVUrXEHMhgs8yEwpVOdINGamoCc78mtG65gLqO6xyjdaPGB3SbsUPGS15kW5NrzeFIgVY49UhT+lZDs9grRGIX/p/M6vMYrRFEIc0VWZaIRPhqkYLXrciYJiUns0grKhvLJIVolgIYotFcF8DvR0AFMGPk5g7T9g== 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 DU2PR04MB8599.eurprd04.prod.outlook.com (2603:10a6:10:2da::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Wed, 24 Jul 2024 15:46:05 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7784.017; Wed, 24 Jul 2024 15:46:05 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH 0/7] i3c: master: some fix and improvemnt for hotjoin Date: Wed, 24 Jul 2024 11:45:45 -0400 Message-Id: <20240724-i3c_fix-v1-0-bfa500b023d6@nxp.com> X-B4-Tracking: v=1; b=H4sIAKkhoWYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDcyMT3Uzj5Pi0zApdY3PDpDSLtETLVAMDJaDqgqJUoDDYpOjY2loAXy1 KbVkAAAA= To: Alexandre Belloni <alexandre.belloni@bootlin.com>, Boris Brezillon <boris.brezillon@collabora.com>, Parshuram Thombare <pthombar@cadence.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Boris Brezillon <bbrezillon@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Miquel Raynal <miquel.raynal@bootlin.com>, Conor Culhane <conor.culhane@silvaco.com> Cc: linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, 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=1721835962; l=984; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=dtHxKJgSuUPP1HUYpHxsFiy9RWJEuwXONAcgw9f1mpk=; b=AVeiZtgrriCtVzHWU5/7yvPT2a11mkZcKiNmXzbjeq8HflXMucSPeXIhsEISkf9AkFFSHf+zD mWg1bdXJlmEBPkYvoqA58gpdERDvluUUdfd3jJJrHNajFvilGhzyIVs X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR17CA0008.namprd17.prod.outlook.com (2603:10b6:a03:1b8::21) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU2PR04MB8599:EE_ X-MS-Office365-Filtering-Correlation-Id: ba0dd672-af90-4fc8-1c56-08dcabf7ba81 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ADm73E1diLeQXahPTlEoVnEVrgTzzcG?= =?utf-8?q?ra5jwEI3n/0HpiuYiNobnRQEM7a3N/qzAq2RgNwrVEfhMNwRzUX3dxeW+QE4powgp?= =?utf-8?q?8B6v7z8Hf/IXddiccCKFZjJharicLNntDEF6hU7CaM7nBHPn27P7KmbiY8kJWM5sZ?= =?utf-8?q?SNS88YOUQMEX43B9QV2bsRSpbBTsZtvd+Fzy+UZHjsciMug0kwZLinRzpM1qGCgCZ?= =?utf-8?q?L6ofzum/POwnm9tnFBwtxxm4emgMoTeE/jZKtpKNaZ3vAmnnq0NYRM4PKN/5z60Sg?= =?utf-8?q?nqBy+J4yOx+yW/fSzKQyRJA5F1+bFWra9sbJT4qRu4+IteoyGUjE8Z1fi56Yj64hh?= =?utf-8?q?X/c6T7pNP1QqGEI9/DNVURFSC0AUnu9LPpLaxCnbZrMAwltaH+6svOEMNKjkxvyOJ?= =?utf-8?q?LrAJhgADvUJAk8bL2J/DVYZisGsol5Fe1d4XLatJ9sIUVMRTFgTlXbqiKgd6iUzTJ?= =?utf-8?q?VppuPLaoWQMfHTjrIrLXfHsFsia0QS+DTfWGO8VNMbDX0kGpEEzLtlRHWPVp6bHVC?= =?utf-8?q?xoMzuyPhoxMlbbb9zVbFpxZxrft2I5wjPTqpq8SaTOdwqchc8ZlZ01MYSoiFKwftc?= =?utf-8?q?P8FD+T8kwfCFMeBzyiRS3xegBV61XPeDueYarGukpL9FahWyfCrCxjN+igJGmLUHh?= =?utf-8?q?VItlEfEmDF/3ILNCkx593ZZi7Q1r+iSNwozAKVNCsRkAhzgWaJmR2IhXHcbgtsApM?= =?utf-8?q?o3eeppVn+TZHMB7ZSFbNJUtQoKKMTn6vqV3VHzDDt/wEI/EFNAQJqpy9TqVaqLWsd?= =?utf-8?q?z3dvf7ql22qx51Zxl3IBKyt49VAq9KBbSFHo3pra/e7tUkHz/QZn+V15k5RK5ZZss?= =?utf-8?q?liV8VBS1WUvys74RnoemyIXWPSHtZSvscHCj5cRJtNzpb98AzkgFGap65Dbz3zFDb?= =?utf-8?q?feNbRZDBnwGzC+f2MNMb6/X1rFZ528LJE4wJSAns33qjSTrdxAJoU18vdDIWNvryT?= =?utf-8?q?KkmphrzRTEMh0INRsLRvIp7fVmX4NHT4AHb4qNMbfZwy93oay/2WXwH6jogEGgbke?= =?utf-8?q?OWg7Ba/YwRoAGNFTvy3efAPalZ4CPOPJjTYYne6Y4fk93TfvXgRuPSCe3s97sr+Bj?= =?utf-8?q?4LWGdIIjcyxdJIMv9miop5wpDrKAirpANX9E0zbCHo28fpl/M7nofx48GpYKklvCE?= =?utf-8?q?pKhrDZFKlXn4nLGmIki0P60zOfgtd6bbPqLhNhQ+TJpNnpqKAyYl4UO5CRD+SaCD0?= =?utf-8?q?5nz/3cXzkjXeCTbNsSN0x7B2rOhGDVNyjZjC8zgZpyzCre5p99Y12wDc2NHZkyibs?= =?utf-8?q?bFecBy/ttQd6E1Tq686q2u1FpHsx79I6n1FD+L+Wk+xCT6x0VOQFsAeZxqN4E133s?= =?utf-8?q?CS1aiIdtgQFUFdoq6l7YMRAGou+e9wlPtA=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)(7416014)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?FEf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w2mIACjLngZTmEJirE+sj?= =?utf-8?q?bJAjx2iZ4DOsSJ2KJgz1NMlBrNR1dtB2XpEWosIVkj32q3tiuzK9EkR35lQDnt8Ik?= =?utf-8?q?XYFQiw25Th3Mynhv1jr0Lha/CqeUobMSQ/b9Y6EDk8rXzmg6uFfcRu/K0yzv0VwXa?= =?utf-8?q?n6Wtcet1hCWeAkjE+x+tkPsN0VKvuyLbIOLIKy5ZQwT5OLWl66MoECiP3s4llbl0F?= =?utf-8?q?MGce/nKRj1uQ106HIvcp30DOL8hIKawIinfEMFHdpbvIcDqn0946c0DkpYI3Cvnno?= =?utf-8?q?iQQkoJN+C0fDLeS8fv8YBnLEkWsYw3Y4SXDQ+T1qrACIYrRMhtcMf5LZSX+AWrD73?= =?utf-8?q?6B4l7NEQtvpHNlpHGn4PyrQIbzICVa7Ia6lPOv/kESr/ELSN/ubHwqxcdgvfb0Goh?= =?utf-8?q?kI9UEZmLe43Qv6W740msIKcFLobSduWEB00cLfE8Cde8DmJRSK90YXEtOVWat+c8r?= =?utf-8?q?SCuJ4hPSOw3f/ANQ2q/k0X6tSEfr8uieEvGuXRa89iA2r1dXB3v/KR+rbq4rw4Xt8?= =?utf-8?q?jjWF9ENSRdaHNTbzJW91TwnDwsMzUY0IQzVzmn7yXEhTZ+KAwFZG+RZL+JpfiKKdD?= =?utf-8?q?/tkNtpVeAmMTTX5EXTnuaaV5SOVRcIBVeAHhTr9WjVXxAdgqZmvS1jBa/M1f+KN33?= =?utf-8?q?KtIWPOspNZrY?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba0dd672-af90-4fc8-1c56-08dcabf7ba81 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2024 15:46:05.5375 (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: k1QQAKhKCpbyI6UQWYuEINqai3SCdjgsuO5LKf7wwtMY7zgmr9Fy2RIV8ekv+ppKrl1mb2GPsc/cGSfYCmF2Rw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8599 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240724_084611_901294_0347B231 X-CRM114-Status: UNSURE ( 6.02 ) 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: some fix and improvemnt for hotjoin
|
expand
|
Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Frank Li (7): i3c: master: Remove i3c_dev_disable_ibi_locked(olddev) on device hotjoin i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_BITS i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_INIT i3c: master: Fix dynamic address leak when 'assigned-address' is present i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs() i3c: master: svc: use repeat start when IBI WIN happens i3c: master: svc: manually emit NACK/ACK for hotjoin drivers/i3c/master.c | 66 +++++++++++++++++++++++-------------- drivers/i3c/master/svc-i3c-master.c | 44 +++++++++++++++---------- include/linux/i3c/master.h | 8 ++++- 3 files changed, 75 insertions(+), 43 deletions(-) --- base-commit: 41c196e567fb1ea97f68a2ffb7faab451cd90854 change-id: 20240724-i3c_fix-371bf8fa9e00 Best regards, --- Frank Li <Frank.Li@nxp.com>