From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.66.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796198659; b=Vobi019K6UeZ4Ctwj8uaQnP9aMzQt01W8xgOrO6aye4pyjgUVPib5PHDWonacZrjeMI/ Ds0zQ2GyO8BGXOg3RRn0K+TwCPrrx2GH1sGgmgG89F3zBQ5IWTh+1yAwbovEeBoi2Do2E nJV1kEBujWphxUUoPA2nRCmOK7uxr6V2YuVHPbc+dFKudgIxix9KBFubghxf7mBrJVGE+ fPPusB7eLXqZPIlvCYticTcVjVHAVePOd6Wrh7lHBm+IHLJk7PKAzt+afVRYn4TTntKO6 wFkHZ3cz4rkY7D/XRIZKtO/gda7TzQ+2wZfjkaolkuSN4XZTqkjuesm02fkwuYPO1TA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796198659; h=DMARC-Filter:DKIM-Signature:Received:Received:Message-ID:Date: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: X-MS-Exchange-MessageSentRepresentingType:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed:X-LD-Processed: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=GMSsMl9FowFeN9Gqxs0XCfDYRDnhrhHTzaV56wJS8B8=; b=Hj8rrmthfLEx+Is3S3/d6lO2AmYiL9Kt/3Z/LRVgE+CEzO6vL/YhqrtTdzw1hYLWUW2e MdF4LiuqeljXAZWI5CjSrtpprKQ439kmCT8JkeK5IUDTpol7xbLKGqV7/geoyOcXyMble vwzUtHkbJIzPK+DB3t6WaEx39Q2Id1NEbEcYK8yob5ttLDaGjaR3WGKzos5kLLpKMvIzJ QggtqvJ1P1hrwXwHVGxYxfMrHsFREfkMUHRpemOrvubo6sOglf5opqeoDrLjyosZ/2B5d Y1oge4Pupppm/hN6frm7wqaMa871AxUBN0xZKEjlsMYDHLo3RFkG1gT3zJJFofgDVmg== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=VUPhK7E1; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.66.18 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11012018.outbound.protection.outlook.com [52.101.66.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26FAE606A322; Wed, 2 Dec 2026 08:04:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 26FAE606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=VUPhK7E1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lan2lh7o3SdVId/M5JqmghZ4ZvXhRUOt70aJ+gBMu8ziB6hD9jWG+hErUPVsf8rPAW0rmAttvsT50NzXEqdAPgMTJ6lpORhbsCKqsuAbKo7e2pqomb09D4bUvoZGLMOCCyKlKNrHUWT0T7iDJXKTTvEXSoS/TXAT+86kbWmogrR8GIBJNHJPHpzW2bu8oFaRDT6Kl2Plp34tvkFMyCot7ecfZlEBKXSSpIw+gUNm5jcIqCWXLTp39iPCEl0Pdd/VrKtOLKcfJeiNBFZ7gFKJdGb+jCTxP9eG7LdXUqxNwXtSq5i5i8c7g8neOpXUF5EKFNaIUAZ5DFjRIxxHRgwxeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=GMSsMl9FowFeN9Gqxs0XCfDYRDnhrhHTzaV56wJS8B8=; b=CO6txTQQF9yk12IXOYMgayVRtHjesghX4y6CMkTGwfzFXT9s0RpcNB8Aes5/J2+8zUbFcrE1oCl6NOKlQQlEWgXm7WPgvehTY2MdAsU0TqmlRiVxAY7ie2uEFjknbDHCR/+ByrXUx+cVKd6Q8sUPe3lPxBAnZm3Y+mBqPOkoNxHwxAgBagtqCQGrQ0AEDOinSkcSFwCj2+WPezgfeWoYgNUM4hUY1xuCFke1zBC2WBXmZjq7ukpCrm/ZZ4hF9yfwgcYr+3/qLPYuaSF3n3gdET4qTqG5bKNokR+wdncR2mrpuwXs13/qWNz3iRu3rZIWahiKHCtJZ/M1EoBWhF8rDg== 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=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GMSsMl9FowFeN9Gqxs0XCfDYRDnhrhHTzaV56wJS8B8=; b=VUPhK7E1lJ7EH3b42T13AXcpBjKUZWE88dJJ2McoaU2pWa6Sp/I4G7pjiFJWtPmEa5FxaxKjbd+dBNmBr4aSFG67mGpfwt6gWQ0mHRCIUt7g2mlbbC8zjUgiqpzlVGk769ccCqVfHMf3ZLfW3INaKaGWXJ1x7RUtU4TaRLIb7gdgDoDSyYPzJ8XDt5YKK1KHLiKBSDhGhkqyLnJyvbB1v+0e2mcMma8HB+bAf73nF3a4yfmBGZEU/rLnOXERZb32nUgk3ukjtws3VAPm+AUSzUNg82nVWQoktBNdlPc3dFbcJYjYsFJ4SFZy0FgaUJhUtRvt548j53Q60XVRCK8RTg== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AMBPR04MB021426.eurprd04.prod.outlook.com (2603:10a6:20b:78c::16) by DU2PR04MB8565.eurprd04.prod.outlook.com (2603:10a6:10:2d4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Wed, 2 Dec 2026 08:04:14 +0000 Received: from AMBPR04MB021426.eurprd04.prod.outlook.com ([fe80::1cb3:7fae:cd68:6de]) by AMBPR04MB021426.eurprd04.prod.outlook.com ([fe80::1cb3:7fae:cd68:6de%4]) with mapi id 15.21.0688.009; Wed, 2 Dec 2026 08:04:14 +0000 Message-ID: Date: Wed, 2 Dec 2026 10:04:15 +0200 User-Agent: Mozilla Thunderbird Subject: [PATCH RFC 0/2] firmware: arm_scmi: clock: stop discovering every clock at boot To: Brian Masney , Sudeep Holla , Stephen Boyd , Jerome Brunet , Cristian Marussi Cc: linux-doc@vger.kernel.org, Alberto Ruiz , linux-arm-kernel@lists.infradead.org, Christophe Lizzi , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org, Eric Chanudet , Enric Balletbo , NXP S32 Linux Team , Jonathan Corbet References: <20261113-b4-scmi-clk-on-demand-v1-0-7fd162097b57@oss.nxp.com> Content-Language: en-GB From: Ghennadi Procopciuc In-Reply-To: <20261113-b4-scmi-clk-on-demand-v1-0-7fd162097b57@oss.nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0367.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:f8::11) To AMBPR04MB021426.eurprd04.prod.outlook.com (2603:10a6:20b:78c::16) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMBPR04MB021426:EE_|DU2PR04MB8565:EE_ X-MS-Office365-Filtering-Correlation-Id: 760d8e6e-9e56-4e4a-cee5-08df504adb2d X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|366016|23010399003|1800799024|19092799006|10067099003|11063799006|56012099006|261009223027099003|5023799004|261102123227099003|261021121427099003|261022105027099003|261026140227099003|261028144727099003|261026121527099003|22082099003|18002099003|6133799003|3023799007; X-Microsoft-Antispam-Message-Info: VZCYUlAouryUeNId3GxxY+WhzfsYnCODU7D/DvDRkDqNqqWklhBFxPUK7hPVm/35bqlaXtXS1vrUE5Vdl3AhmhOuAb9BlHX1+0cta5Tc+aTEb+H4Mt+8ucmKISS7mcvRxclpUCTOvYB6cUOCqsWJR2+afx8eK2hZYQ86AFOlyRo+Kgog7XziWJ3G9HPacnvm8Q/016crOdAcjP/LseSHGC6QU7roT3eAk7expuErtgi/ZrbJCtA7jY2UllqlzLv3+WXlMq4ikgASu4CV/ncoDbcWh3udnmiQzLa6/BOKjsb8Z5QwBewqOJnVtKzH34jmJTIZJh+XF2rm4qvBLxA4ocg2W8susdUob6IvL/7JGzq93yYEbd3/H+5ZeH/zddCETwiLWWoN7CGoMQj6/CyMcnGBrtLgMkIgQE1FXEBjOpPV4QhSeCFdTx36ASosgAH+5C5W2Jj+MLnn71RVohiizOPBGG1SDBziW5LRqhrsQDyrOe1nNk+CnNlHadNO4VhfJnnpk1IVHWJeNdRzH6bNJySWVcTNhSE69ZzwIzsnqcIWgLnKNR2kMr9h7nOTgR7SI095MBOPoooMpeKtwKwKpjJNDDFOtPi2+x8hGtwY79Vnvd3iCWM1yAtmhWHhjb2BCgfMRs0Iuc0i3A9GmhDhVvZh4GvmkM5Wzl8PPwVRnNA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AMBPR04MB021426.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(376014)(366016)(23010399003)(1800799024)(19092799006)(10067099003)(11063799006)(56012099006)(261009223027099003)(5023799004)(261102123227099003)(261021121427099003)(261022105027099003)(261026140227099003)(261028144727099003)(261026121527099003)(22082099003)(18002099003)(6133799003)(3023799007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bGdCS2h6Z3VBcDhWVG9aUTdaVlZFb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VFhDaHRkTE1hL2RhQlR4bE9ldks5dWRVd0RSeFRRSWFHSjZoVC9USWFFV2ZW?= =?utf-8?B?dVhTK2NJMXFMSWJySE5McCtCWUMraTlJN0UvVVEvOXM0Zkp5dndNUTBTeTI5?= =?utf-8?B?bEdKeFk1VitCRGFpYzU3c3p2aDlqbDRPa3NWYXhUWFZlUHdwMndiNUNqY3ZE?= =?utf-8?B?aFVLVnNlSFpXQ3ZYMlJwS1kyMGI1YWxnT3M2YzVGQWNla2RJUmR0bXNzNlRp?= =?utf-8?B?U3h5MlRwZ0krNEpCMnc4b3c3OXFSdjFQM3lYZTJuL3owcnpIT1F0YkJBc01W?= =?utf-8?B?SDJqUTlZWThJbG1lWkhPTXJZMGV0Rm42akNPRDlFTDZ0cEUyeHk4d05DT3la?= =?utf-8?B?eUgwYXZ2b0tiZlRVRzhPdGFGV3JVQmwyMnhKZzlHc2VPZ2FyMG02bjhnckdO?= =?utf-8?B?K2h5UGZ2THgvdldFRUpZNXBiZmVaOEY0dktDNWJsOW1wR2xjQ29XaitFN1p4?= =?utf-8?B?OCtJUkpXakpvNEx4ejR6U3dSekwrSktmc29SRVZscy8vRjhUU2xlRHVUQ1pk?= =?utf-8?Q?olyhzcnYWi1JinE4=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 760d8e6e-9e56-4e4a-cee5-08df504adb2d X-MS-Exchange-CrossTenant-AuthSource: AMBPR04MB021426.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2026 08:04:14.6291 (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: LwG/rFCtFdt6FCkBs3AXWPFY+vUIGDCIjhidpmy5I8/U8cf6J+q5DRr4Lh6U6NhO596PbtXEya7lgEJ8udy0p4qbIBtTcjN8XXXu8TN9Luw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8565 On 11/13/2026 3:27 PM, Ghennadi Procopciuc via B4 Relay wrote: > Hi all, > > At probe, the SCMI clock protocol and clk-scmi discover and register > every clock the platform reports, whether or not a Linux consumer > references it. On platforms that report hundreds of clocks, this can > add tens of milliseconds or more to every boot. > > This is sent as RFC to get feedback on the direction before a final > version. The questions are listed at the end. > > The problem > =========== > > For each clock, probe sends a fixed number of messages: > > - CLOCK_ATTRIBUTES, in scmi_clock_protocol_init() > - CLOCK_GET_PERMISSIONS, if the platform supports it > - CLOCK_DESCRIBE_RATES, at least once even with the bounded iterators > - CLOCK_POSSIBLE_PARENTS_GET and CLOCK_NAME_GET, when applicable > - CLOCK_RATE_GET, from __clk_core_init() at registration > > The total cost is about N_clocks x messages_per_clock x message_latency. > It grows with the number of clocks the platform reports, not with the > number of clocks Linux uses. Three properties make it worth addressing: > > 1. It is paid on every boot. The result does not change between boots > with the same firmware, but nothing is cached. Every cold boot, warm > reboot or kexec pays it again, and so does every VM that has its own > SCMI clock provider. > > 2. It is on the critical path. scmi_clocks_probe() runs synchronously > and registers the provider only at the end. Every consumer of an SCMI > clock waits for the whole set to be discovered, and through fw_devlink > so do the devices that depend on those consumers. A storage controller > that needs one clock to mount the root filesystem waits for hundreds. > > 3. Most of the work is for clocks Linux has no use for. SoCs that run > several agents or partitions on one SCMI server often report the full > clock space to every agent. An agent may have only a dozen clocks > referenced in its device tree, and may not even be allowed to control > the others, but it still discovers and registers all of them. > > clk_disable_unused() adds to this. It walks every registered clock and, > for clocks with an is_prepared op, sends CLOCK_CONFIG_GET for each one, > including clocks Linux can never disable. Hi Sudeep, Cristian, Stephen, Brian, Gentle ping on this RFC. Before I invest more time in a v2, I'd like to agree on the direction: 1. Is it acceptable to discover and register only the SCMI clocks referenced in the device tree, instead of every clock the platform reports? 2. If yes, should this stay in SCMI, or would you prefer a generic mechanism in the clock framework that other firmware-backed providers could use? Sashiko flagged two issues (the -EINVAL lookup being turned into -ENOENT by clk_get(), and a refcount underflow on the notifier path). Both are valid and will be fixed in the next version, whichever direction we take. Thanks, Ghennadi