From patchwork Mon Oct 16 15:32:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13423588 Return-Path: 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 DD3A4CDB474 for ; Mon, 16 Oct 2023 15:32:53 +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:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=J3V9l9vss5pBBx5xEMNBVvtKOyQnDsyhplO4x1g6lps=; b=wPtBsvuNBAnRoD q5p73f9PXBuJcd55sO1HLAojDtWoENuuzrn95NlUuUDHP8j+SLoS7UOUJ41QKx6pzK5fM+3FJoLg+ o8A7qySqUyj4M7g4qJO/Jo4/atBvoTVjnerXSlP1/mAvSbbLDivZaoovMvmxtVRqbILlbSBo3+F80 NyydfJUGjjfeMO0epkuKHTFDFZqyZSGS2wozY7TKoyElc5M6459LDK5tGuXrZ9pElAJzV7z1pRkAM c4i3qcof9nUDzYqu8BW5Ce+l1nP3oZVOX7Gja3rBHC9846drdCE70abZ/2D/wYIMeQ7/2XmMU4+d3 X9PCO7JCAjcOWOfGP+fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsPaP-009zMR-21; Mon, 16 Oct 2023 15:32:53 +0000 Received: from mail-he1eur04on061e.outbound.protection.outlook.com ([2a01:111:f400:fe0d::61e] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsPaN-009zKr-19 for linux-i3c@lists.infradead.org; Mon, 16 Oct 2023 15:32:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ecPq/ufRc4Qv3eeTMncKE1OmWtC/umUF7erfBE5A18Bd5kHBsy8kxWUQFaOUyphEKHfLhUwij815aSDNlOdU1wHxJk81z+z4uCApNnfrxnOK+jEtymq/GNjXllk/gCn5pzi2+vk8oCKOFWlGIXAcB8lYFC7gTLj/t6Q63VC07YXXqFHjRFqziuZquNYPIgxj3i+gXgoQoiC1BAKN9Hy11K0V0y729jVHG1QeINLeGjEftDYLaT/uaPUBXUrHebXzDRmzxRpdejpELcO757LkC1oc6eeGHmd+XTAwMG6gcJ2uWwenxnaVW2A5J40nt7XM6X/m/UTYhy3goHJMjnQcTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=rqmK5NCCaagNDH0ggOGn2BzmK/isYwNIE3ZYXR+3K7Q=; b=cyci7xle+p3VFjrTIPNItr0OWDBzlJidSXKswlXlwTCchKS97fuA6fVqf5jMcdUUCK7tHpybfYTETSSyG0le2XPaxyeTxhS5XeeDuSdzYSBAo5SSG/Aer6+LmqKIsS9j2zgLrRwWxz8zJm4v0/ovUaVQra7/+46319himOaIaFHNT3RwuxG3NYzsiDOahSkRbdZtPC7J//DfjGQ+fQ1I7gCb7ATC7MuF1AEkLI+EaFHZ2wNj5XNpEwz06UwZ05ZTv7I3XP4NUCq66p0ieeTElCAepVBULM/cEzB0b08bZv/X0ji07ylc+b/5L/jcQiJK9kP1tevCwISMQsVZ4SkTWw== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rqmK5NCCaagNDH0ggOGn2BzmK/isYwNIE3ZYXR+3K7Q=; b=YdO+cerQR7ZVSZXNFw2gfysSSXmfP6LEX4R/4/2ieIS7RujOnLeoQwk01CmyAV/wUZGrlPO3W/IJIX4peNXDcDcxE7RwfzqAqMZJe0DeX07X0m0H3trkxfapg2vv5bal+WU/6x7ZeONbLRXi9OVUNTplvZ117W0rC85AA7vvdjA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by AS8PR04MB7592.eurprd04.prod.outlook.com (2603:10a6:20b:23f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Mon, 16 Oct 2023 15:32:46 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::1774:e25f:f99:aca2]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::1774:e25f:f99:aca2%4]) with mapi id 15.20.6886.034; Mon, 16 Oct 2023 15:32:45 +0000 From: Frank Li To: miquel.raynal@bootlin.com, conor.culhane@silvaco.com, alexandre.belloni@bootlin.com, joe@perches.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH 0/6] i3c: master: svc: collection of bugs fixes Date: Mon, 16 Oct 2023 11:32:26 -0400 Message-Id: <20231016153232.2851095-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0P220CA0029.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:41b::13) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AS8PR04MB7592:EE_ X-MS-Office365-Filtering-Correlation-Id: e7a2c9c2-166c-428a-67ec-08dbce5d254e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nkPouxtl+K1q5hBnnuIsNk3EAoj4fJ268tomyxCR/09vFusrXo20pBydFagLibdLrZYAIKXDArMryDuqCSIbUg5gsTMTAkJ5OHfG1LtjgCzBH9kObB/4/ZTbAKBdviDCUEzEVcR5qbvgyz8CVlPZ/AIbTu4YWX0OEeG1ugrKftJIa4VEiAg1GjU0heIqJJWJ2tsgpP9ueq9Xean0emHGrBGeJOd64jgRTrof+BumJ0nQmnTGDgtIRvkJWTujsuiCv5FjynIKONEJNuUE+HYzfoblpEYHZBu+qAmfqs49Ef+IdgVWu7mpjWHci8ck8b/+LJeby5epvetS2jUHE3B0AN7fCo3gEYJGp4QFlmFrgHzGPG3ZhIDNKIbeg6bZ0809hCgwvDpAygjsz8SijEvxYgIiqzmmmtbuDcmbP61hyxBl3xX9PAo/F52W2ijkXA0wmKF7obZLjpaIZnoUZWcIlhB79d9dd/mfGEPWJQx+P7xz5aAdPA+PFe5ZYgxpJLCeZpagHkedFTuGG0lz+GuOyZbpCOlz6l1lsE9lB2o8zpP/DhN4BVPV8WIFOpx2Cc0jzEAndOWO7X4L+vnihDz4oMpjvDy+dtiHgTaM7FFgzqbUnEdgPVcrS75nI27o/VPS X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(376002)(366004)(39860400002)(396003)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(6486002)(38350700005)(36756003)(38100700002)(83380400001)(6666004)(6512007)(26005)(6506007)(316002)(66946007)(66556008)(66476007)(478600001)(1076003)(2616005)(52116002)(2906002)(41300700001)(4744005)(86362001)(5660300002)(8936002)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?kL1cyldJfescKFQGeK7lzAU/VB+m?= =?utf-8?q?WQAZlK8Nd0rA+K7C0jkBB3yhQj2/JyJVuochSod+GHmBNKnTrZqMUF0K9UCKnFogg?= =?utf-8?q?G/fFWAK+Ttjq5hP6Q7BQneMmKYFoT3ehKBJeE5Swbiqkj5H/Bl/Ln29Cs9VBk2pg1?= =?utf-8?q?5Ef8A+hucJf3AZy0QYA6mqQ5EcyeO2T2PSEzUWny+oSJARBbFra0MFaargaWWa4RE?= =?utf-8?q?r+4Lt3XAlWCM+y3657nG65mdvLkMN4hQK5TemnolplUNu5fYwrhGKK5/VSHlsV7BV?= =?utf-8?q?t57oWgoD9aK9DnpARLgBiKgu8J50G2H/DIgtqK8LsJltWBT5s85lfXOPXvY38KNom?= =?utf-8?q?q4Hfo7oODMwRu1eohQEgx96otk36QXVMzEYb0HNyYJ/zIDceAn7hpwYVgnpaNnLjA?= =?utf-8?q?T07dwDMWgi1Z4imT4Na3HYLjD+BfEovdGv9Ys96SHteVpfwZ3OrtyYrIemwSIAnCG?= =?utf-8?q?nsdGMr3Xzdrvf53rG9eNkxGiy7AmTIW8KyuBgao3fGg4VnppN/uvEETSGayUsBbNb?= =?utf-8?q?Clr8m33jvzRwjLBC5CB5qoIcs34cjHl0cAUpU/sf0DQ92OV2hjbYT8DCd1zypoEaq?= =?utf-8?q?xl2FnSVLKBfza5T8RCUx7Pr9L9Nr3rjU1BUKXsIEY6LmKvHb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2Al+BiZzNP0fINjiBOiNyjk=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7a2c9c2-166c-428a-67ec-08dbce5d254e X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2023 15:32:45.9108 (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: AWTuF74r2MAN3E2+62Qa+fh3rvxuhSj9LwGMqkrlNNCWl2GZQj7m/ewEo/BQBmY+lyAvSiOU0xQkq8OqWdWEWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7592 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231016_083251_397221_B6A9790A X-CRM114-Status: UNSURE ( 5.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org Each patch is indepedents. See commit message for detail. Frank Li (6): i3c: master: svc: fix race condition in ibi work thread i3c: master: svc: fix wrong data return when IBI happen during start frame i3c: master: svc: fix ibi may not return mandatory data byte i3c: master: svc: fix check wrong status register in irq handler i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen i3c: master: svc: fix random hot join failure since timeout error drivers/i3c/master/svc-i3c-master.c | 50 ++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-)