Message ID | 20231016154632.2851957-1-Frank.Li@nxp.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3552066vqb; Mon, 16 Oct 2023 08:47:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFr9xw8P8qXH1CRbjtB4rumc0PDhj8PCUyf5zwME42s26FvZ3FGgnDZWczU/bUDlolTphM0 X-Received: by 2002:a05:6a20:4407:b0:133:6e3d:68cd with SMTP id ce7-20020a056a20440700b001336e3d68cdmr46933391pzb.3.1697471241345; Mon, 16 Oct 2023 08:47:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697471241; cv=pass; d=google.com; s=arc-20160816; b=IOpTH/spSUtpmi3tg5PdE2rY0micLH99It/2vcQG+HJpxEq0PM50/yDXzbMEJgShxz VExNGiD/eglFXb5KshO2vxIHhbN9pGYUyQv13Zytju51xYSgrr7S8bBGIoOywHl/ijAF hC2lTzYQZlpokIPEgAYkEl67uB0iHRfL1BTAtad/6uStrcd8kj8RbfMPiqRaGhkxHEuY dCsvKJgbz7z8f6iudN7ob6jpuyFJ6VY6uPnRl75dp3km6jGmZhs9fKhMg8OslitRoO4Q wqekioD04P4CE8cLNS8RZiXba+Dwq1Dv+omyfITUacOuUYyMJ+f+/7hB5YcQwVz5XKo3 UD4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:to:from:dkim-signature; bh=ScfVmsfXbCWnrpepgRJNmOHNIwDJ7f0NuygkmmT3QR8=; fh=Ti0qdvZV/i089alSarny0opSonFaCxJFklfGvdi8roA=; b=lCw1xhZ8Pa5gy8ABB6vkKQ4UDWljCyLJ68905zKkUttDFISeUhPTAUGmqiSNKnm+61 utf0F92bX24aAPGDytfkmdkdgu16cpTBIXx+9C6V87FNaJh2DF5qO3AmON3sYPZgjdQJ W5uoiy+eMcQXrNZGKIlzqisfqvjC0d8Dmj+Can0MgRGRhJDajojW2dqMNXJxl/WcpeQK CpCg2aFOgyzG7jj3h/NpwGvs+3vmxxk1kpqsdZLzPCIXrvj/MTTeXscspU8xXc0JsQ1J V29g0YAVRG5kO51rCjcsKvoosrGwWIXl66SHmeUKrhYSYa8o1x9mHZZ/MoVtOpDm/z76 6aug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=BaA1AUBQ; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id jm7-20020a17090304c700b001b8c4021be9si10713234plb.397.2023.10.16.08.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 08:47:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=BaA1AUBQ; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 2A67F804BC1F; Mon, 16 Oct 2023 08:47:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233581AbjJPPqx (ORCPT <rfc822;hjfbswb@gmail.com> + 18 others); Mon, 16 Oct 2023 11:46:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjJPPqv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 11:46:51 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2042.outbound.protection.outlook.com [40.107.8.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2922283 for <linux-kernel@vger.kernel.org>; Mon, 16 Oct 2023 08:46:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jxa4zvalZRXI+k+bJ6CNTnMy6cF2siLG18iWcC4FFDMuaJT/Mt4FwHvlf0I3r/8sry8E59z0hyOE4hQgPNOuMuIincE9btuGxqDGOLpCM5+GFbVe54tAcFM2mvbYUUkCl5/z1XRVcao0DMohr8hyO6BcbUpaBAKsYj9Y8X5y/0BNgrqTPsyqIxJitUbRUetIWq80Co+slW5uqbjAd5SQkAj7iKQjhWuZxy6Qe+2lQ8asc30W75DOHzLnJbAIqf6QUTDzqm1ERvbvPqIVn9c6kAmFNN19pPFb7QtgG+vn+LCxMf+TqO9wS3HpFpXBjEB++lOCQTlMEMthmh2iRNOGDw== 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=ScfVmsfXbCWnrpepgRJNmOHNIwDJ7f0NuygkmmT3QR8=; b=K2GDXzjwGakWBMRH9mL7XBpES+FxeloyrxJ5Iass+AgXU92LleA8pyRVXO9cOqcLktJ4+wxqlH90paKXdRH5caYvJMjyWCDUPM2krEXj2J/wjmLd6KMZNAaomL5XfQBQ5i8Q5UWtt/Ksk4YKH2fWdVLpn3ZtkbYKPN00P/vTTCQtiH8H3rqKHwO/3p9lZAPWF8BcdqMh/gyvEZwQJXGcGh32YLNX8xi44O91PwBkharpPnZaS2ugff9pITv/G0L1gJioBpA4Bk0aYc6SVe4Nrx7bdhxYPk1vW67UDnWZs+fpw6ykuvvr6U/Z3UIQTgKF9Y5bs+TN72muL3xMv0PFEw== 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=ScfVmsfXbCWnrpepgRJNmOHNIwDJ7f0NuygkmmT3QR8=; b=BaA1AUBQsP/bhwyARhjV/lBYOfMpa8K+PNMBGSrOT8M0GBB+E3XFLm311DBw0Z/3ahzJN0cg4SAQ7iJWLY83xYnWuTtPEarQR/OuiACBS/bk3yXdYF2uHOaae+qD1HEumPbrsQOyOEvXYrbaBLDt+eHdBYx5FbnWSMlu7notrBo= 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 AM7PR04MB6998.eurprd04.prod.outlook.com (2603:10a6:20b:10a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Mon, 16 Oct 2023 15:46:47 +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:46:47 +0000 From: Frank Li <Frank.Li@nxp.com> To: alexandre.belloni@bootlin.com, miquel.raynal@bootlin.com, conor.culhane@silvaco.com, joe@perches.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH 0/5] i3c: master: some improvment for i3c master Date: Mon, 16 Oct 2023 11:46:27 -0400 Message-Id: <20231016154632.2851957-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SJ0PR03CA0089.namprd03.prod.outlook.com (2603:10b6:a03:331::34) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AM7PR04MB6998:EE_ X-MS-Office365-Filtering-Correlation-Id: 56767342-2440-4db2-375e-08dbce5f1ade X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KDjG6sUGDsNI53zN4HcbhoRT7xtgjqzsE5efnegtuK8pSlVYCTYfkxM3KFlhY5jDRhhNnQZwUNglQxRL+vnzB+vnC7uPSlgBmE2l1ECWHKk+FnE1xm2qlr/tia2hBUrL7C94jPCqFNmQ7zEqnB4z/ecGf89wBzMKgbOuazH7y08I6nafP42eTs1nus0IY4Um3IUw3aw6AsYjkOldQibR+tWhRVXHPYb3TiAz5fEBTX98bFVQ/4ewAmF4pQBoDrBYiXAMgg5RGrwVR/mjCuOZx/wzF2VAYNfnT3948xy9oT8gzYvjTTJn8Cq67+6GS+k4FOri2jRs5cLO1teoVyjd7DtPMXFZFrpd+b1jLrKAcLGFSpSE5tPoPmoxqdGnZDNXu510WtSRs7l7YQyGZRx1dsu3246j+Ko0TAbbXRbii4Oty0fZsy/IMrl7RUeLr2pt81skFag4ZqfQVzodaQAID9KP96NVBbEFUt0aAiznyt/qz/qRs8XSz8LY/TI6e2kryy2/Bm1xsBlerhjUHG6bSrQY7ZziD0raXcvPmU4Unygubkg3TyGgjot3FGJlZ7f0kqZk+3QyNmcjO+sa+ljJ3lFyWZFRZ4iG8Yja9CFIfcVLNlNCV+zgAtdh3rK4e1Pd 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)(376002)(366004)(396003)(136003)(39860400002)(346002)(230922051799003)(451199024)(186009)(1800799009)(64100799003)(1076003)(26005)(2616005)(8676002)(8936002)(5660300002)(38100700002)(83380400001)(41300700001)(478600001)(86362001)(6486002)(966005)(38350700005)(4744005)(2906002)(316002)(6666004)(6506007)(6512007)(52116002)(66946007)(36756003)(66556008)(66476007)(42413004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?NgNrS1ShV7vD8w7+RBHob1CVx/cD?= =?utf-8?q?lRY7qbT/FtLFx8Cw99qtjRloNqRi7SRwxcREnXqXMqRTmJLl/AMxMYgttmYSO1p5J?= =?utf-8?q?oZGU8/iY/0PfmpqI+qAhoZlGeMliJ3pKUhc0nraPH3Ne7JZwI9/O0cTzGWWyb5Ztm?= =?utf-8?q?WuKrvrpFeb4aF06c0yuThospvJRdBZG0AtNy/O5idJIytJ51HDXiH7tGIjptNzNm6?= =?utf-8?q?YKJ628X4OoJo3WphqdvirNWYrPx6JbwpNGlwZr1Jy06TJoXIdQwn8DmuiQa7T3bq9?= =?utf-8?q?CIjGLnu++tDOBfJsksf67ShUgvKtTvJwJJLdcsDNb4xGfRCro8E0kQZIgCWD1F8ib?= =?utf-8?q?st0svKsubXYMlZ6PS/t75tAFZ1VU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yFT0sjzotrI8Xdk5PMzQfmzJlD14Nj+NnQq4tfvmXqDPovmDF?= =?utf-8?q?dxk37NRwQ4eSHXnUYFS25sctUbWaNIUcV2BQEvICkhat12Me9eRapaLZMY8fBnhrQ?= =?utf-8?q?s5adQlWLIMndRSm802VbHeoYgMm7uWzxoslIkp0baFvbuKjV3jmxfk/7k6Pp9XFuZ?= =?utf-8?q?6woCC33grPGEfZLz0pMfIEdSlXVgFmIJcGIZs3AECkXtkSVm0dIg3pmx0aTKqUcUI?= =?utf-8?q?OBP+S+Ykbuu88tFC5JmVUGbkTUQLzRCXRP75X8gyzAY4/cIMBZCVu2ZE=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56767342-2440-4db2-375e-08dbce5f1ade 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:46:47.3979 (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: Jq7lgxqoRfXGFXKbLROW/hIlld0pUAefN9dT5VMfsX9zSZEPsEigY6fqMZSqWFm1F1D8vxwTaetfI0LCFgNGGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6998 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 08:47:16 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779927604695658051 X-GMAIL-MSGID: 1779927604695658051 |
Series |
i3c: master: some improvment for i3c master
|
|
Message
Frank Li
Oct. 16, 2023, 3:46 p.m. UTC
These are dependent on bugs fixed serial: https://lore.kernel.org/imx/20231016153232.2851095-1-Frank.Li@nxp.com/T/#t There are two major improment 1. Add actual size in i3c_transfer because i3c allow target early termiate transfer. 2. Add API for i3c_dev_gettstatus_format1 for i3c comand GET_STATUS. 3. svc master enable hotjoin default Frank Li (5): i3c: master: svc: enable hotjoin default i3c: add actual in i3c_priv_xfer i3c: svc: rename read_len as actual_len i3c: master: svc return actual transfer data len i3c: add API i3c_dev_gettstatus_format1() to get target device status drivers/i3c/device.c | 24 ++++++++++++++++ drivers/i3c/internals.h | 1 + drivers/i3c/master.c | 27 ++++++++++++++++++ drivers/i3c/master/svc-i3c-master.c | 44 +++++++++++++++++++---------- include/linux/i3c/device.h | 2 ++ 5 files changed, 83 insertions(+), 15 deletions(-)