From patchwork Thu Oct 19 22:27:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13429900 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 322AEC07480 for ; Thu, 19 Oct 2023 22:27:56 +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=/GFlcFfu/KXlfCRxvFenpfeV5rx8oV6CKS4xpX8S304=; b=g06AnDJ36INqfo w9nVpJum5uAg/3iAxuL2HuoCrTS4Zq6JpsgrFw+6oYCvAYsPm5zs4SAYfKhmNSGq5tbvopbOa2yK3 m4IHMIAVrjsD1eydz/gv8hi9sGjvUhW1oV/GW10yjhfHEM4NAAgzU54X21dRODuHDpdqmxpKkN/ga s/5jk8Do99SgKThA2ekNe+h96GtRay0wFK+u42X7aLoMgVdP+nvFShzNJ9wJw1HY4TfWRLcnrxCEG sbxg8nvvswIMSurLTNzUSLsEMnmnBQSfHwFHMCRNVt7jS94uX/CGC7xPnAjk/wYhPTpBakLPsx1Pu tSTuro91v65aVIMvgpBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtbUh-000o2M-1C; Thu, 19 Oct 2023 22:27:55 +0000 Received: from mail-am6eur05on20611.outbound.protection.outlook.com ([2a01:111:f400:7e1b::611] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtbUe-000o1V-1I for linux-i3c@lists.infradead.org; Thu, 19 Oct 2023 22:27:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lj3EsRzpLJ46nQha9tICQUZTGmt9uDZnfClGevI9xiLkbRXaBJTpXXFKHejiNsZzP0rAHMheQooPiLRDruOFiql+lxOl8c9/OIEKHuITCaXENbrb70VEnDXmww+uUuW/JfQp/YKrrUvBhoWy0npjgtQ5TOC/fbTPwT+0uSpi1w16qOt+TzEdA7oZCZCPMQDbT7Pugeeh0arE/hBTW5bup2oaFpCIa0VycDelFDkwh7XE1mgjjLdGu+BhG5CUxDJgFTsyzXu539E83aWOpruD311SD4Y10puVDZUbOi2IQfYUi/Lg7mnbuf9u2lh3h7wTCFFqMkzyDZaeto7ZLQetKA== 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=kpqvn7Saipv5UhkeKE6LZMupYPezxDUL+/aJ+3yl/fA=; b=VUswl3x9fcdbqNq2oZkvpXWl/N/vjWQKuEVYJEZ2THeCUHGmarNlqWDzSATlj/okA5TdIup8D9tLBSggm/izLvhL9yJ5IGFVhmT6C08jNOyhfR0CkYvqpuGTt1Wk7u7qDhhNKDVHZuzugltnawTXuGBBkAkhXYketMvBQW1uJuy0/rbpridV67x6EzcejqmmbWE025uRk3+jKslrcz/1ULnYbi0WZEzBfyE0q7c4DLn9OAPOqim7arwRGBXtikF+KXRCQ20JW9WP30RUz1XlbTV0aIvaDapAZU5UWFMGyq6U5lrSlqS+zks9k9Rdp3uhE3+7drLU0UHx+ZdbxCcQOg== 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=kpqvn7Saipv5UhkeKE6LZMupYPezxDUL+/aJ+3yl/fA=; b=cPoZm8WY2ws+wmmBjex8UGBtF2wVUz/o8A9WkfmdQDwXUvO1sWFjZTymAM+nL4B8W2GzJFZFQ70mMFpWX8mokFN/XiaZ5KSL6nHYrS8ZecOAain0svatIhgB8ECXC0tPLHJWNwRXUVQ7nFA9xBjT1bH944pXcLcVuyKPYfIr19U= 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 DBBPR04MB7708.eurprd04.prod.outlook.com (2603:10a6:10:20d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.10; Thu, 19 Oct 2023 22:27:43 +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.6907.022; Thu, 19 Oct 2023 22:27:42 +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 v3 0/6] i3c: master: svc: collection of bugs fixes Date: Thu, 19 Oct 2023 18:27:19 -0400 Message-Id: <20231019222725.3598022-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: PH7PR17CA0042.namprd17.prod.outlook.com (2603:10b6:510:323::21) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|DBBPR04MB7708:EE_ X-MS-Office365-Filtering-Correlation-Id: c11762b5-edd0-4226-eca4-08dbd0f29bb8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rSti9og5khwPNzfp7//WcqW9TfugCZcnwwPFOo9xwag/Vvf0Iy4sZaZO45wfKb5QrlaMI9iK9MYqdlRJswj4rT/5V+mgJN3+WeGzcr75s8ffTNhf4Ch5gqMyuwObXMfn8sd7oUA5EgMkBZJmDKgCIOc3l47iKgiIrLrlliIyviSeAgRrvKnVas4zSGtIJFvtzgr0tGIXrtbD4xtTk0N2ZYhzWzEF9X0g1kvGZAMANGHad6IyMAhmCVRuWpgAEniu6xyblnm+hvBKI6sljuH2mNGxHNZF/UGw108ap4WCgFpeiblifRNGLlvRyC7b0sqPW9AEhXDe4N8L2Uj+dGsyu8Snck1/2uzSx5sadaqZOtA2k7I1gUVcY4UaFvNHs23KGqbmjq6RAWCpedArfeHopEmeK3yKl+WBuBM6uAkvi+d6RmzrLUVxT/wLDaNw0iMX/4koS5FdupCaTsFPbnP3E8gGiUWBOc9pRCByNbNHlysYrHTbFofm9cN9ks+XYd1h7oqqLFKAdgiKgn7hlno7+RY6n1q+ZaVdvmjZ/L/hXhIWHZGzt5cDKBOq89XgpuCjXJYSkUKVm8c2riBVcgUD7872KLjQf1aTWsoVMGDYT9ngosuIx+z1trWskIq6re4WEJD/MtDS4kIKQ+lIhRW+tHE5JRAcZQVflZz7HKzUsSw= 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)(396003)(136003)(366004)(346002)(39860400002)(376002)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(6506007)(83380400001)(6512007)(38100700002)(478600001)(36756003)(66476007)(66556008)(66946007)(316002)(6916009)(86362001)(6486002)(52116002)(2616005)(1076003)(26005)(6666004)(5660300002)(2906002)(41300700001)(8676002)(8936002)(4326008)(4744005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?9GyeGQs44mQCr4CBHYkSkYnUwP66?= =?utf-8?q?hbohJ58wkguly2YoodnXISAdkTIzNWU/M61PqS0nvts7vZGzIMz2z2d6ZrIPM+WPS?= =?utf-8?q?r3ZlDZtUjqXyMkgumd1hKSEvVQtPtUhtQ6M+zrApbuNvSuI8NhEVkZVe5NlWQp/AW?= =?utf-8?q?QpwXXGDB7kg7v+46s868S3Tr+FLUEGWDAFCB8W7DGe80FotwnX6Iz+yZULo33mYHW?= =?utf-8?q?DHOrNr/t/w9acHGmjWDBE+SMU8tntauYS238HzE89bbqaA2i9BMfU3XVIszxdU9cx?= =?utf-8?q?1NOo3YpRqekFl9WVSFlm5hfbBnNtqoBoEz4qBTUeynpZv3UCFRbXw0rXTHX7zAdS8?= =?utf-8?q?8+F3kDAieE9jxMTI5+nzAgesx7/3EJx6doJfsGqxmEc6ityDMch8U3HttK7HdCIAF?= =?utf-8?q?ti6YD3M12kMlhfqfvxK0HUJIlo5k4DOHka9TlX8MqpQVF5r6pIQTu9QRyPaMU523t?= =?utf-8?q?F5xFrtLgedZiQTIJtA6bqNKj0d69GznuNn8pHL6SoSGtAPN16CH8HoNnPhpK6qwHm?= =?utf-8?q?dQuE6yTUjqEE44hL8A/FwTK6zqXkgS5Ha6OsccZdRflwIQfJuxSFHPjeWUVGEUofj?= =?utf-8?q?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bxT2pWOMJA/W4IstLO2D0bQYKlfBFb1nI4KBJNKU=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c11762b5-edd0-4226-eca4-08dbd0f29bb8 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2023 22:27:42.2315 (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: W4SOB3TLqkmxd7qk6oR5DS/+CkCk60uWTXvSeyr5ChMNV5g9q8/N6QxoMxE4lzwHG+1xskWti3hTOJSV3L5APg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7708 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231019_152752_448058_D96CB90D X-CRM114-Status: UNSURE ( 6.32 ) 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 v3. See each patch notes If there are notes between v2 to v3, 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 | 51 ++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-)