Message ID | 20240621-scmi-mailbox-v1-v1-0-8ed450735f46@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=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 EAE17C27C4F for <linux-arm-kernel@archiver.kernel.org>; Fri, 21 Jun 2024 12:53:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: Content-Transfer-Encoding:Content-Type: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=06c0cdO8oxiYK9YIf5oc5IlK3qb0lOUc/4QzvmCGIGY=; b=LsRv2Vc8RdY7+IiidLp6SdFSBp fngZ5n8J9c/T6Eusu1Ziw8yHg5+bwKY4gc1VBRQ2sV8qnaKVr4hgiWuAIYs0xZBuODHJGTDTIsx4I P3KzIHNyYmVHF+o2sPS39xGHqHbwPL4x+iSFHhivAJP9euenrdamNbLjbIkhvI42bTAXW34UbkyO6 ycXAe/cExEQP/r6VZEBi8D+GX1pWg+K9leG2zfCZPgRYxI1YPTCd9qqm/NZXagU/08fpKuXiucGn7 NLidLAq4bVazCSIVjpQEQ7xSa2O44vd14D8385+hw7vhxa8sqTvVerr5a9eWwGe81HzvGXH/Cy2o1 9d+vs3Fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKdlC-00000009EnT-0hAR; Fri, 21 Jun 2024 12:52:58 +0000 Received: from mail-am0eur02on2061f.outbound.protection.outlook.com ([2a01:111:f403:2606::61f] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKdl7-00000009Ejf-2A17 for linux-arm-kernel@lists.infradead.org; Fri, 21 Jun 2024 12:52:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jdnmAuCUmrDSwdANjfHRRqc5qLn77sZJAQYuXH0io7NuHUFHMBoTG7jTzq4M0PQ7p38MtGCpc23usEceHTntwkTM+EbPu15MzlHZOr00gqwwcl2LHY9/p9QkX+upXtm5aIM9kDTs3kQSnMSTF2chUJtcdSpnh+SUgEjF89WFHNwFsbP649zhA0pdmGY4eoEHgfiProIPEaRO1/KJCES5Zv5bDfA5TppZL/xelWD1U/13osLA4TV4IMjuQ0AZRfN3i0+3Ei6G1kPe6NX/w3gfCUdLHrDP+fqmqAd6TGSjXg4Kyn0Nh3VTRaw36T/C2uq6hbUxVqaolvJr32f0dQX3ow== 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=06c0cdO8oxiYK9YIf5oc5IlK3qb0lOUc/4QzvmCGIGY=; b=djEjdHiqHiEZUyfUSzPA857Q782KJTfTfeiBhg1/J6s8dCV1imVxAQJq6KtU0juMR6x8ot4r4oJA5Yi0X8tpTcjtljnUts1xL3xIr92lPt0g+huxX+ufCIloCuMJfztQsguT4da0NV3fpTcNdA/CTFRnPh0VtsBWOfjmOScwjmWwYuLMly/CnuZ/GdcPiYgNXyfLRJjH1jKdfWU01lvnbM60do5VoJ8w/yzs1KdnZyq109tgHVABwSk5D83WS5mrE6WZWweTWvHOTrbKV91ZV0DFvMuMn8JAJ0Xre2REwjN0RjpVIaB+jfTXp/OMLUXMetKCWn5td9kGwpXxPDb5lg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=06c0cdO8oxiYK9YIf5oc5IlK3qb0lOUc/4QzvmCGIGY=; b=Zt64GUxwa8D3OPodSlQDn9qsCFX8Mrs1oHrjOa+Tk99s4hpspHskNs3pTSkJea3GRCTdmHyC8jQXEbUR4twRKigXR8YT2A5liHiu5i/zlFWo7PdJYWRe3hav0t4yFr6Qw3SavkMeurXXbg0KZQ69iztQbbYUv3YJFy32GtA2ApE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB5941.eurprd04.prod.outlook.com (2603:10a6:20b:9e::16) by DB9PR04MB9553.eurprd04.prod.outlook.com (2603:10a6:10:2ed::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Fri, 21 Jun 2024 12:37:51 +0000 Received: from AM6PR04MB5941.eurprd04.prod.outlook.com ([fe80::9f4e:b695:f5f0:5256]) by AM6PR04MB5941.eurprd04.prod.outlook.com ([fe80::9f4e:b695:f5f0:5256%4]) with mapi id 15.20.7698.017; Fri, 21 Jun 2024 12:37:51 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Subject: [PATCH 0/2] firmware: arm_scmi: introduce max-rx-timeout-ms property Date: Fri, 21 Jun 2024 20:46:56 +0800 Message-Id: <20240621-scmi-mailbox-v1-v1-0-8ed450735f46@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEB2dWYC/x3MQQqAIBBA0avErBtQC9GuEi3KphpICwUJwrsnL d/i/xcSRaYEQ/NCpMyJr1Ah2wbcMYedkNdqUEL1QkuDyXlGP/O5XA9miXZRTlqtO2s01OqOtPH zH8eplA/QbHGyYQAAAA== To: Sudeep Holla <sudeep.holla@arm.com>, Cristian Marussi <cristian.marussi@arm.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org> Cc: arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1718974025; l=998; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=2O4w2fbifzVCPcq+I/K9SzSABn9DMd6WvDSc+IXCMP4=; b=atRIIjGxUxhe2P69TuZQn7/Ps3UFnk3+gOKaGGxoetp/+OmkKOM2iut83wUitfSQOH0n4PHUj PTgLb6XEq3iBNoyzMzbu/1CX86OjHXN0C0tRxGkS+9BtLUcZC5Pfozi X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR06CA0241.apcprd06.prod.outlook.com (2603:1096:4:ac::25) To AM6PR04MB5941.eurprd04.prod.outlook.com (2603:10a6:20b:9e::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB5941:EE_|DB9PR04MB9553:EE_ X-MS-Office365-Filtering-Correlation-Id: 22f9963c-e457-4f73-e77d-08dc91eef68b X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|52116011|366013|376011|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?5F2B34Zown2TsQsd+oEzmwXR20OTL1U?= =?utf-8?q?5mdZRqMFOF3fO0diA4ZB5/2+kbKXesJ4P6ZXuTupYrM2AUCAO3o7y91c/V2M6uKHE?= =?utf-8?q?cFhuiYW4vH1xgjP3bgZqfiGtxfOz8QHkndlCf102RBOs2xcsVxAKbJhxAnPAfupnd?= =?utf-8?q?Pp1RUVQ/ZlOE1dgB0awMRgdNanfJH24s2zEJuWdkmm7v6RMNuvDKDNrcvEKlVAbFC?= =?utf-8?q?uvE8X7BCF9CiJALfQ+M/FDN+J+v2D5wm68luTgUUH5PeE4usUZrHqBUKjXD9T9HwT?= =?utf-8?q?oo+pjNrTD6nYU4eW9HCm99Zj8Idx97rIIbOTGKOAdCZ0E3eztPU1NLpMyEsIACa1G?= =?utf-8?q?Qpk8wu0cbuluoRO4uoGZ8MKrirwv3REvrvl7xOE+VubbSDv3KmVsV3PgPaIJUpxD5?= =?utf-8?q?FFxkjZEkqXCqmv5paCGkqfRbF3p6r0D+voabenGzCeSDd1nfYXH/k8nnh/7Py5s6E?= =?utf-8?q?BXIHhedKBLm+Y9NpFdOl+FpSS2fs5LXEyQJxvhQF8/L0+WGD/eBImTcGz4/K6s+Yi?= =?utf-8?q?itIQqi9XLjXC5TVx+TcQT4FcDaYsqNcKaKB8Hsif56EdwdDYgyAPvgxfSSmb79jue?= =?utf-8?q?l3ONqWP/VIOMU8a3vUS/a43PI0vRZmoQ6v3xCzJkdUupexaQC+K56bR+VYpL5Dug/?= =?utf-8?q?LBNRY7cO9m3NU5dbhKWyNzRduatjpC3O38D/XBw2rs7KvgkSx8IWYY2xJ6Bo8k+Cr?= =?utf-8?q?4zH106kfDwRZIh/EsLDbg8FEu5N+wK10Fpl5pIfXu+QZ3vDGhYms8fDhaB9tWbEEn?= =?utf-8?q?Nb1KDDmbJvUQJkqkCwiIrC3P+vCjeZDP/W+gUZvm5FUzh472PD+btibH2g3p9oL0x?= =?utf-8?q?HciEZ9QAM34LuUWJbRBK3dA/J24B6HcdoinA9288c5RiR6/XCbZHeKjuBdUAddERH?= =?utf-8?q?m5nOB00YPPhJDdkNWAB1MUH/OSBpZEcpBno1sDdrq7p0pl52fRmPCvaH6BrWlaHpf?= =?utf-8?q?MOFcXndAamfe5i1y6aDjrzLkuxQYe1JflV0bqdGegIvJOtKymFVjIIvoaghiaCU6e?= =?utf-8?q?TMKJw91dq+VKrmTk23qkumdMryQL82p6VlQJSw5AEdbxwUwg6HNlzR4ED5b2u6CNJ?= =?utf-8?q?74UkvZSA/5WOyv+gi8nRlUVxoInnYuucw0cxi0JekUL5dM+K3hdT2SmulkAT0uoqg?= =?utf-8?q?lEeWPrDE/j0Y6fIUOLNZf9uT+4gtrlwyLlxtbohEYAM/MGdWljUJFgCfaPJpK5XiX?= =?utf-8?q?pWQz4yk5t2cB5wMWcL6tQmlQ/1qU6e6sGzKhkFJi/7DzasVgT6FxGP/UlV3OO+WCw?= =?utf-8?q?MGSqa30gHVHrdpNx7Y9mRdJcxaEqBrhD+s0gsg8HSK/ZsI4vPcaWyWr0=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB5941.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(1800799021)(52116011)(366013)(376011)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?22fwa6f6rRFYJSub2FO2keW9sxg6?= =?utf-8?q?jKpeR0M+YIcpp1BctuSEh7C6+WfaaJCa8eQWHD/tYxDpkDDDTmGHsWUNu9zVqZs9O?= =?utf-8?q?7PRH13zH5aRGt4DhCQXQvIeU8pswGHg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/fmobNGL/9zmp1G8UQzrd9agCj14NIl7PiKR?= =?utf-8?q?99nIDIXbuHFzgrornZKBKL3DjkXxSFBl+tImAZ5c2WE+vJSOijzaM9dRoO8eEQGJB?= =?utf-8?q?9YC9hPFweKL8wWitU9hqUF9najaa9wsI06GzITElWKLfY9VdkjAP55GaZmlgWqaf2?= =?utf-8?q?t9CF1EWhRe7Rhbx0LfyMAzBFpErkkJmXqjVFuePwaMi8iz4bWZZhO6SpPcsSYEenV?= =?utf-8?q?OSMNHiHexpIuz3JlVicGR/vy+S8mN4FSJ8SOJpF/EdaDkbog47PTZ2PIa9dR1KcjV?= =?utf-8?q?4O81coqpF4HYa9EmBI1VaIgqFJ2l0V5fxu6Wd3Zp7qG8LQZ8VOMvdGPz+uydVSIK+?= =?utf-8?q?/sffNfztLfgv11jxFU+CZ+qVWE3eeuCn5Y/+Tt00sSGzziKzHNn9OktqbyTmyNKYC?= =?utf-8?q?zaDcxk9j4+Plc9drUFISxa29eZNFsyIXWs8DCpNrlsbEQrKdjSoWW9qi4qANSa+AT?= =?utf-8?q?BWRhOKK6v1uAC8W9OxXJTvTsinP6ODS2fYxbItJ+9XLTSA8UWcvjrRa+F1AlgXeOF?= =?utf-8?q?Tw2tANyD1JCx?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22f9963c-e457-4f73-e77d-08dc91eef68b X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB5941.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2024 12:37:51.0831 (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: vWdBWQ5ohn+ngO/17plnF+zraJ+uqfGnVKPhAaXptTEaHdiPMn8EEfZRpXWBOrkXlSInf3LFeAKHYzDFP2cJFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9553 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240621_055253_593901_5DFBA173 X-CRM114-Status: UNSURE ( 6.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
firmware: arm_scmi: introduce max-rx-timeout-ms property
|
expand
|
The current mailbox scmi_desc set the timeout value to 30ms, but each platform might have its own maximum receive channel timeout value based on the System Control Management Interface(SCMI) firmware design and hardware attributes, so introduce a property for that and use it. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- Peng Fan (2): dt-bindings: firmware: arm,scmi: introduce property mbox-rx-timeout-ms firmware: arm_scmi: set mailbox timeout value from device tree .../devicetree/bindings/firmware/arm,scmi.yaml | 6 ++++++ drivers/firmware/arm_scmi/driver.c | 19 ++++++++++++++----- drivers/firmware/arm_scmi/raw_mode.c | 11 +++++++---- drivers/firmware/arm_scmi/raw_mode.h | 3 ++- 4 files changed, 29 insertions(+), 10 deletions(-) --- base-commit: 76db4c64526c5e8ba0f56ad3d890dce8f9b00bbc change-id: 20240618-scmi-mailbox-v1-9b2c19663986 Best regards,