From patchwork Mon Oct 23 16:16:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13433172 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 D320BC001E0 for ; Mon, 23 Oct 2023 16:17:23 +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:Cc :To: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=dpCP9HH19fYOw+nt5SBJvfaYW1LtKq2BTyD9sWZ72tU=; b=NjvIXHhafmQ0jM YV8SjvJ5mMxxNYMwAGDDZv8DxRCoM9vwHjOlp/Zh2vm64QNsalO2e+ABGqb/TWCqW7JS6xicfWIEC WF+4p/d08UFA2/YAKAbJPsBflzVMVDEajqGkkxTzZMP5qzDmfc3YlEwfGwB1ewyL9EAMCb78/7SXf 4CblRtrn5pSiGbuhsqcyjlXLv9CqGeL7yARA/+V6c27YslchFcgQR4LNDfv4BI9+0wTYRl21M5cCe 8rS1aN5pUMRsO40RMDQH2OSsTQQ1/5o3d6naGvAXy/wpgoLAQ3g27yHGpG4RPGJSC09Ant90QqdjM JEJRCUFj2YqOnSqpY1rQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1quxcI-007o0T-39; Mon, 23 Oct 2023 16:17:22 +0000 Received: from mail-he1eur04on062f.outbound.protection.outlook.com ([2a01:111:f400:fe0d::62f] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1quxcG-007nyM-31 for linux-i3c@lists.infradead.org; Mon, 23 Oct 2023 16:17:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k/1w5bFUn7h3Abw6NgCbVayHbmVtoB1StE2/Hd0A8sXTsUgXMtb5NgiohXs33LRDwdHw06JyaB3C8ICSWQ9g0q+45opLd02+Z7X+cjoJxHeglCAwvF/a/ex4DQN4zwoptsXsBLSOo+5g69mP+gMVxzcMIppmeyAd/INmn1icXJ8lOlrFiqFo1PM4AhO7bQfu2lcaLMgGQPBvL/cvZs38NdV1OryumpecC78LmR6nLwSsyejxuxJ/PESysZDAvHIL2d3rqQjyr1F3pi+OwywwwnlpFmUxNNn3MrB6cSvLgXNAugOVE+jqMEMB+U1JBfITEeLWmal2144KMYNZDrIBtQ== 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=ExP3LrIdBogJMWNLZdsnzTy0LA5wrJnNcksZEDpF1Ic=; b=MkusML4OyhlLVqARpcRpBVI/LANa4IXSpUa3ngFoIZ56LQNonkeiUfdMLV31S0lXgs3Ra0AizH1hgnWQmhzwCW73R0duy+yPne+BS1dOgiYXsv/+8cMIYzt8RRNb7VMGYyfiqb+jSAJ+GQdjhZdEOUzOyP2+3Hbc9i1jJkutXhER/zlcRUkZQQgGN3ed7RLzWAK8pFL+d4xwJmD6lGjNN78oYmFMdsTsS5iUkSPoH/Wa8o2xyBHodgOzmQWdYlaGbFwkvT0opy03GLVq3DaJP7yg6x+/1yReGQP0h/uhJpITCTdNcrwMnhjORJKi0eKPAbtShN6eIlGCuc9tTAEQrQ== 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=ExP3LrIdBogJMWNLZdsnzTy0LA5wrJnNcksZEDpF1Ic=; b=RydqhTpCPA01PPmdfgT56Zzt5fePUj9oI3lw5k5ATwsYQ+CJPgTZ42pX/PD7jcM+1aWge7LQrAak8XWh6bIhjQfVD3CwCF70+zOPhuoFWUzoU5hD2K3wTY6Kv68ymSXTQIpYNN4CkVZrP4Q1VkaIzrDjKiz9PrUDRkpnVC8qdVM= 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 PAXPR04MB8655.eurprd04.prod.outlook.com (2603:10a6:102:21e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.16; Mon, 23 Oct 2023 16:17:12 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::97ca:a905:8e64:c098]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::97ca:a905:8e64:c098%6]) with mapi id 15.20.6933.011; Mon, 23 Oct 2023 16:17:12 +0000 From: Frank Li To: miquel.raynal@bootlin.com Cc: Frank.li@nxp.com, alexandre.belloni@bootlin.com, conor.culhane@silvaco.com, imx@lists.linux.dev, joe@perches.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/6] i3c: master: svc: collection of bugs fixes Date: Mon, 23 Oct 2023 12:16:52 -0400 Message-Id: <20231023161658.3890811-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY5PR20CA0002.namprd20.prod.outlook.com (2603:10b6:a03:1f4::15) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|PAXPR04MB8655:EE_ X-MS-Office365-Filtering-Correlation-Id: c8441ce2-d48f-41b2-26ab-08dbd3e38341 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s82lZ3STj/nZzL95PaXBPe/x5mRskej6CcvqZZPIsrO9Ob8PXh931VP9pDCx4sT9/RXIUGBToJZQRDmksPcgN9eEvierIIDa3/6KpPilQvRsfVvNRwXtmDOaN5re45skqdUTmCU0/5wuTQIetAahSRe12sjIh9JFpe/Q6V2QOt2K4SaLwNAucvlQ4vcTxRw4r+p8g0qP7fTnonNzX+oENql9OrPGngKVSmRY763wNX0d78C9n+rpmYTlzgUok5xp+gONTUyqYFI/hOqAdub9XEuAXVo5kHNAxCE4Hw7vKBMQ9WEI8OkBjc1DoH4SRnNdd5yiR5WOQ+wZvHwCk1h9yIMooC/tzzy9JDK/7ZmWx/s1RcuKPjmwn/1xN4wAuxgqmEx8BsrH/ueYTD8+eOEWxkaIlFutW1SpfAf8jKn8kBlwpead86MrvbQHfxHGxCF4sdgRawBjo2mG5/mfvkN+L3N/Q4CjVjNJX8fPKSAwqtGiMIPAeVvx3Xp/0RKNn6im+XY+Hky5IIiqWcQOETDWYdBQu/FSNKUbO87LJQX4bd6R9FE23PUQgfsj46JuRxTbNQRzV1JBUI8mzRfUJBOvkEOFkgNGD7ndPfZMrjhSAsdBITacHu7c1saOKWJw1+ni 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)(39860400002)(366004)(396003)(376002)(230922051799003)(1800799009)(64100799003)(451199024)(186009)(478600001)(6506007)(6512007)(6666004)(86362001)(316002)(41300700001)(6916009)(2906002)(6486002)(5660300002)(4744005)(52116002)(36756003)(8676002)(2616005)(1076003)(26005)(38100700002)(8936002)(4326008)(66946007)(38350700005)(83380400001)(66476007)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?bqh2KPFfpGD5g/U/3okbBn+HEDtw?= =?utf-8?q?awG0+a2HFPhptw6cpxwJX1HOg6+zlHyG1PmuC8UcMsjMfzA+vIYvMsNsvxELZkRSJ?= =?utf-8?q?EbDdUbylAVL2J8q7+z0dY4RGaFWUII5ebBYOq8kYOebwQkx2Ftc+J21+2mUkKHzy7?= =?utf-8?q?3KL2Nd7tSANZ2qfsWT1aBfdKOnPSQtoupuYvgM2bSzHBMLqKQ7VMgkfGaA2fgtaX4?= =?utf-8?q?i9tBTk3nf0qGBJ8lJuWQsadkJcMdj8GdK3m++pGjZGcCk3jtJ2ma3j+qTlj/hKlOl?= =?utf-8?q?mmSbeeEBfV2BZBoYMXWCSZ0a/kwxU0vFK5uZhfkFenVXcGqPRzd1fF5GR+djNQw8R?= =?utf-8?q?OAFF7JpdlwQLx5WIDTVcWrIhnk+xHBK3z0le+NtFHt0Yb5yeQnyBD68lOsEvlkGIi?= =?utf-8?q?T7VgM4hS4EoU5QPsk4YphZY+MsydeE15tTmGWKW7hCW+lZ/RXwHKEoCGF7iJoHIqE?= =?utf-8?q?rGZ2ILRl3ayFYv/Y79kmFOhzlmfKsX6Y3Y/eLkXFXs6/zD016KLEkUpJEZTZR5MGm?= =?utf-8?q?tztVLS2j/yEMZfULZWZdH5GO+JH4w6wKrgmgJa/d1y3QZ5fVS0MFX0tHuFeCHW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D27vWAD6KrjEnHF7sJZS+hLGXqZwncj+Rzzleaz+eRZyzr/ZNlUSG?= =?utf-8?q?7iuPo+OboMfC?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8441ce2-d48f-41b2-26ab-08dbd3e38341 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2023 16:17:11.9472 (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: N+M5j5irfsmvF1izcxSWff6ZhoKQXag3zUxgmF0lPtGCPLCG+F2PWYTGqj2OUYQtoTnj/AaAJys57VRksnlD9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8655 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_091721_194009_C0494554 X-CRM114-Status: UNSURE ( 6.00 ) 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. Change from v1 to v4. See each patch notes If there are not notes between v2 to v4, that's means not change. 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 | 54 ++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-)