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=148.163.154.28 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796316729; b=om4xDniQp1/PPKnw4Ubq43FKCw+dhaiIcdJ+0Jr57MeJ0CgQ1h2+wo+PmCu7NkqB7DIU ry0v6jDORJBRnzkc1anjsLCzxyJla4URCxm1F6DzB75/BQTHoSoXdqo75bDETrce/ugLW BlKF2gMTLsIuDpSIK0jsoXcJ/IFVMl8rAg/4wd2bOWs5JTMIB35Ck82rtb2Hv138QCIZa nxmZHpG7VFQcSXpI7tYCayVJ88gxFuroQFWeEugCpXt4f1Rk6QvtXxn18QGzZKRvwuIce RKlxIoHtZ9BgnJ08FcgytIjCq9nm4hJVzLXtQlY2ZBOR6VcME6pa6ycdaUydFvAT3FQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796316729; h=DMARC-Filter:Received:DKIM-Signature:Received:DKIM-Signature: Received:Received:X-MS-Exchange-Authentication-Results:Received-SPF: Received:Received:Received:Received:Received:Message-ID:Date: MIME-Version:User-Agent:Subject:To:CC:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: 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-Exchange-RoutingPolicyChecked: X-OriginatorOrg:X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped: X-Proofpoint-Spam-Info:X-Proofpoint-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-ORIG-GUID: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=hr8SqFw1/HgDZzk2cOKgcSdhJe/D1vjm+xLa4x7nuX4=; b=YmnahmTx10C4vNUJCp8ii6yxApdBAVIW3q2HHdxGPkk3/z6IbO13YzQr+I6u8ojP7TPv /sGnbIjbKxGzHVCa7Ce5/RqvQO53zbvjkiuZ58nLGLo4p67xuaE8uiDVecR5tUCnca2sH +TYGsjlwKGwahnax1+VJZ9F93MYm29sW0Q0rsd3MO0p6lv+3+/AK3VZk9n85MhEB9ZkPX Pu1lsvmDHmnbX2SGCskuGywpdifHhQeTHCRNM+BodwYWM/Gw0qCmBe57W3HLcawz/Gybf wOHHIdmWC6E7O9VMjZSfPmukcEnrH2WGQ0lOHoZhxBVOM4lwnXGV7v/o+q7hyhLsQDw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass header.d=ti.com header.i=@ti.com header.a=rsa-sha256 header.s=proofpoint-05-2026 header.b=kqqnpqEy; dkim=pass header.d=ticloud.onmicrosoft.com header.i=@ticloud.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-ticloud-onmicrosoft-com header.b=bXfJl89o; arc=pass header.oldest-pass=0 smtp.remote-ip=148.163.154.28 Received: from mx0b-0002e601.pphosted.com (mx0b-0002e601.pphosted.com [148.163.154.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DCC1606A322; Thu, 3 Dec 2026 16:52:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9DCC1606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256 header.s=proofpoint-05-2026 header.b=kqqnpqEy; dkim=pass (1024-bit key, unprotected) header.d=ticloud.onmicrosoft.com header.i=@ticloud.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-ticloud-onmicrosoft-com header.b=bXfJl89o Received: from pps.filterd (m0374956.ppops.net [127.0.0.1]) by mx0b-0002e601.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B3GROTT1800925; Thu, 3 Dec 2026 10:51:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= proofpoint-05-2026; bh=hr8SqFw1/HgDZzk2cOKgcSdhJe/D1vjm+xLa4x7nu X4=; b=kqqnpqEyhaHkpGnU6FUUr5+unO/bv5eebrdgwWRMrPaw+4V6w7whrFsmX HMTaTlwFXwaSpqn3WlSrlkqmq20+RFwSIb4JwCabLDP5xGIGEHzQtcdSGH1Gj0kx Xfo1gwrgOrsoQIy0nwqtsbR8iI5yHEcecbxJF+rJXHJvbrUW50TFeZ5xfTZC311c cluMjhjOnM7E1wpnOKkKBbV4MzFvDnp6BvcxyiaNfPtctTkx3e60QXnlTLoViL2v GVf42GIdYQ8pnN9QL2aDuJl+mXibFx3xC/8pkqcptfZwbbKmkqqI9bnPZ7ppxefh JQd8WdwtMtIgGdZr0oX85gsi2jzHA== Received: from bn8pr05cu002.outbound.protection.outlook.com (mail-eastus2azon11011021.outbound.protection.outlook.com [52.101.57.21]) by mx0b-0002e601.pphosted.com (PPS) with ESMTPS id 4jbby9g4ms-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 03 Dec 2026 10:51:55 -0600 (CST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hlNOoPWu0QoulWEWrAHXVjRvWn8lLFo6fNASSgM6CFj+Fxmx+C7SzPxHl8ImWo1IRy9orBDH4mvtmX5m41AsXyyr+05dkJAZmwkKypoDtC09bPcx1a9xvD9IPA19Qvz73dhFA6yozs3KN4npNaEb7OS7lQfKHOjWFnTvW8168p9KmxDMefFbiC1hFa7+Y4izaE6bMUXPmYSyzsui/bZWAAy7gQR/+Hed3IBNIbm5g+Dlutc0lmRQJYAqL4QEVFF7CDOtap/63wNq94B0LgocKWjYQJKTRvVLwZNyygYLYcB7X6YUxRPgSrnO8kmaEb/avLXCxapC+PV1+1m12RMtSA== 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=hr8SqFw1/HgDZzk2cOKgcSdhJe/D1vjm+xLa4x7nuX4=; b=PaBikqyeKSRygLIviAmmBZ2adZlqnuOFywLr6OSO/Z9DJ3qdx0iwp2/RA1yqCCz7x+dWJsiYaJbCFSRXg+HQotk1XGHhhyYIw/UCvcH/DbfbIkOJ0HMhvxqSDziajQAj9O2wXAdhtMU/wbrOoXdm5Cu7AM3qk0dUK3hWdiMSEN28qJ0snhfDvVyXVk+YfBGGk4lbAJpIUZapWFj3liolIYkXMgBj21+u060lmTfHyOlDkAPtC/rNUUE7Qnua4NtLKrdSrBfmiFho/Vp91+jU4EfJuKa+4YXX4nzWPHlu9IdnfbG+vojpQLwTnbq1w54BCaYuUTWWFm0r1q1PcrFlyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.21.195) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ticloud.onmicrosoft.com; s=selector1-ticloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hr8SqFw1/HgDZzk2cOKgcSdhJe/D1vjm+xLa4x7nuX4=; b=bXfJl89oSFWJsW/d7JfTYdsnHhrSm71sXlZxFP/SKMbHl9sqEjMycuvielbBjbYUBMw/lNeMyFaCSGwu5EXOfSazeHUYDKly9H46LY5hIMY9CAOboz43ZabIFxDhmdptFiP2kVamMzq8Fzr5a0ucQzL01TelnvP21bQWAkP3rJI= Received: from DS7PR03CA0046.namprd03.prod.outlook.com (2603:10b6:5:3b5::21) by SJ0PR10MB4704.namprd10.prod.outlook.com (2603:10b6:a03:2db::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.12; Thu, 3 Dec 2026 16:51:52 +0000 Received: from CY8PEPF00000051.namprd05.prod.outlook.com (2603:10b6:5:3b5:cafe::7a) by DS7PR03CA0046.outlook.office365.com (2603:10b6:5:3b5::21) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.12 via Frontend Transport; Thu, 3 Dec 2026 16:51:52 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 198.47.21.195) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.21.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.21.195; helo=flwvzet201.ext.ti.com; pr=C Received: from flwvzet201.ext.ti.com (198.47.21.195) by CY8PEPF00000051.mail.protection.outlook.com (10.167.247.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.709.6 via Frontend Transport; Thu, 3 Dec 2026 16:51:51 +0000 Received: from DFLE202.ent.ti.com (10.64.6.60) by flwvzet201.ext.ti.com (10.248.192.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Thu, 3 Dec 2026 10:51:00 -0600 Received: from DFLE205.ent.ti.com (10.64.6.63) by DFLE202.ent.ti.com (10.64.6.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Thu, 3 Dec 2026 10:51:00 -0600 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE205.ent.ti.com (10.64.6.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45 via Frontend Transport; Thu, 3 Dec 2026 10:51:00 -0600 Received: from [10.249.32.128] ([10.249.32.128]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 6B3GoxA03946288; Thu, 3 Dec 2026 10:50:59 -0600 Message-ID: Date: Thu, 3 Dec 2026 10:50:59 -0600 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 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] pmdomain: ti-sci: skip unrepresentable power-domain IDs To: Pengpeng Hou , Nishanth Menon CC: Tero Kristo , Santosh Shilimkar , Ulf Hansson , , , , Hari Prasath G E , References: <20261203033900.60325-1-pengpeng@iscas.ac.cn> Content-Language: en-US From: Andrew Davis In-Reply-To: <20261203033900.60325-1-pengpeng@iscas.ac.cn> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY8PEPF00000051:EE_|SJ0PR10MB4704:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d7b8a15-7646-4a82-2c3b-08df515dba80 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700016|376014|23010399003|18002099003|22082099003|13003099007|10067099003|56012099006|261102123227099003|261021121427099003|261022075727099003|261021123027099003|261022105027099003|261026140227099003|261026121527099003|261028144727099003|261009223027099003; X-Microsoft-Antispam-Message-Info: pXXYN/1wE0ONdFg5Ez+1YjHsbCbBU6WccXg367TTibZT4lER4+TtNO+l76SZz6A1jkxY43PuD2GoCEebX9gX1qybuCvnHUNkQD9wvWgxZL4qFWRdC4FL+wm16gY7wlsuGAW1zt91r5s+I4xklHPBxw2w+l93EV4r7UU1jIT5BmWqv4IZFA77ynD9Soc4mFU/P1UOf/krpUdmQInh44asipSP08h0UPa+fg1gWy3DfOUa30fQbgsAqpu0+IZx5AkcslE90hVk4f0ANIJbUedhmlpKm3tMPO+EtrDyWJXbhpGBm1rE7NJ1hOiiSWKzYvVw71xCbbNZ0K5+WdhZmfb2POV17/UDd3ZrViZEG6d4gKR0EUOBa4UBBZ/BI3wyqjVlE2G0eYw5sZl6c959sEZKuyAt2dyUZRiUk1Rj4/uXfllSLLJ3f+eE2plsauN1u8i6THegjXB5kD0X5fzMZuNO4BbeffDBw7+XPjtvIKzFWanU+2incu/dAZMwXqkjuzpOoTMvYCyHi15BZjpVZ7ZU6nMBvQm9rwWGs6ZOak5BZgRcGgB29NcwXu7cTgy86Xco3fRnMAwJFmwnv+EMvKxBVhhsfe7I2iZA2cGr0LWQ7U951ikajufWKVY/B6AqYHJG55vIuKmx4PFYB3Bw4//fs58MP9Ca5MNfXS/exImN5cE= X-Forefront-Antispam-Report: CIP:198.47.21.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:flwvzet201.ext.ti.com;PTR:ErrorRetry;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(36860700016)(376014)(23010399003)(18002099003)(22082099003)(13003099007)(10067099003)(56012099006)(261102123227099003)(261021121427099003)(261022075727099003)(261021123027099003)(261022105027099003)(261026140227099003)(261026121527099003)(261028144727099003)(261009223027099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5CtLkc7/BFDcNkV3l2FFFlyDdqQmqI+UYkuJsXVO2VPL0xv8ia0gcT7GmJZgHHeaYTRGeBLlVF5WfzIbHaSX5o8iHwfSEuFkaHPPbAHmcBGHXTJpILtlTmqnqMqBw7JewnebVN2mWqoiNKzMQjsfOvH0GcpFPHh/mN/2m1tXpbbF0U3UdN7mPGVmoK05yDzWsF+AZgTygSIDWZyPhyIPCj93GT18jxT3LgKFa8F6szYBJRKy6uiLISENWAM5hpDEg9W2xJYt2YbCzlcdAo/Ezhbx1GeJjsCTuX29wVIIBqgIvK2hqAXkGyLHIgLtaR2Q2Fj1klYltdxh1g5q1IHt6MoWAtBe8JgI9hZjp4VtqA4jy0RgSbhX5AsIHx0kLPmdQGydeP2/Y2GwoBuOBZ0HqqwJL50SzEXVDkygeZRTkkhaWWSDMbs8mLcfIP1BGUZO X-Exchange-RoutingPolicyChecked: oMbRjMPHpZZ+gFh6/eAPX8kyTO8ay7VpBl9ALCbhHuObMZCPAadXetRBIkI2zjf3GDQs5zpVgVPERhjsKcR9mf5kxDF7s+eYuPHBvt8YDPbc5yreCHtveI/JOi5Paye8/qWCjIZvdWadJZjLRoiN6mlD80adS5FdzTRdeRK7jK/KBeoB0EbZLa2PEse4H8ril9dOSQBZZTiJX67VVVeXQhry5I0Es2XKzcXNP+Rom61YI1KdX09hI5XhXQJBcMN/8JDy8A4jlTS5fi9LNMf/hZLzvOEJBr8fvMtmFNwDJSzwCa8pelvzgBmnz1atBX2VgF3vlIGuNhyL/A7MrI251w== X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2026 16:51:51.1811 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4d7b8a15-7646-4a82-2c3b-08df515dba80 X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.21.195];Helo=[flwvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: CY8PEPF00000051.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4704 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDA2NyBTYWx0ZWRfXy8Qk7jcKMb8A x+hyT+zD3e6vHLOyqAzcysMRfuRQOEkJ4aBmHkqmDNdn+srpXwiTismVhZ3OwDGO1Fv/GW1vMf+ ayMuOmNyjEMu8RM2EdHjO8TeXDbmDVE= X-Proofpoint-GUID: Hd7W2GXguH48TRw1ZSm9R9JDlRyBrYTa X-Authority-Analysis: v=2.4 cv=OoTaWC/t c=1 sm=1 tr=0 ts=6b119e2b cx=c_pps a=UGDxSQ6JIm3CXF+tY3HRSA==:117 a=tJyPKKxUohctrY4NYmUjkA==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=AlMIdn_sM9wA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Z8NIEmU8O1QQgoT56wFK:22 a=jwouBfj2j3NM8CExmVVE:22 a=VwQbUJbxAAAA:8 a=EoFc46iMNGaw3LuZ56QA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDA2NyBTYWx0ZWRfX1ve9dP2HCwu5 N6++S3/KtFQk80xpqfPD6LtLaczIGiP1czfdg0NCK6GhmudSD4ubUKNeZCFj1cDpQoDXcFmETU8 QvFFDNpKfZNS4IJYPgjSN8zfxXgyqEF2Mzz15aUbYRhTiutfK3bsBueiI4Uy2KsoyJwm71lU+4z TAkMPHbkqXLUwLU87SgX/p9ihXM3Kke6rzim0Og37LMHpxFVlknhA8gJJ/08490mSxTqbZSvtxj YT0fFKcQys0oIcat0R7ROyZCw5WkR5GULdTpgAqfupFxxAizUIoeFJCppEXCS4VrL3qqfyWNYVO EukZkfVkGwZpFxYQycF2fkha4Xmk1qFgqd2rD2+VpzrByWJbqqbNAp2pErvZ4k68q+3v7qN/bF8 GxBU1sZl+V7o9Z0KHTkgdFzN4m7bsdTEjzxuGwlz0Zg78UxSNmBM6yCF484z0qwY00OGo+GYL/Q oxWoldSNFCaqKagqLNw== X-Proofpoint-ORIG-GUID: Hd7W2GXguH48TRw1ZSm9R9JDlRyBrYTa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-03_04,2026-12-03_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 bulkscore=0 clxscore=1011 spamscore=0 lowpriorityscore=0 phishscore=0 suspectscore=0 priorityscore=1501 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030067 On 12/2/26 9:39 PM, Pengpeng Hou wrote: > The domain count is the largest DT ID plus one. U32_MAX cannot be > represented by that scheme: it wraps the count to zero, but the list > still carries the ID for the final table fill. > > Skip that reference during collection. Valid domains can still be > registered, and the existing xlate range check rejects a later lookup of > the skipped ID. > > Fixes: efa5c01cd7ee ("soc: ti: ti_sci_pm_domains: switch to use multiple genpds instead of one") > Cc: stable@vger.kernel.org > Signed-off-by: Pengpeng Hou > --- > Changes since v1: > Add Fixes and stable Cc. Skip just the invalid reference rather than fail > probe after other domains have been initialized. > Previous version: https://lore.kernel.org/r/20260722041142.95204-1-pengpeng@iscas.ac.cn > I liked this previous version better, printing a message seems like the correct thing to do vs silently ignoring. Like kalloc failing this should never happen so simply erroring out is fine, but if you really want to skip instead of erroring out, then why not: > diff --git a/drivers/pmdomain/ti/ti_sci_pm_domains.c b/drivers/pmdomain/ti/ti_sci_pm_domains.c > index 50898dc43310c..3d688370c6251 100644 > --- a/drivers/pmdomain/ti/ti_sci_pm_domains.c > +++ b/drivers/pmdomain/ti/ti_sci_pm_domains.c > @@ -252,6 +252,13 @@ static int ti_sci_pm_domain_probe(struct platform_device *pdev) > bool is_on; > > of_node_put(args.np); > + > + if (args.args[0] == U32_MAX) { > + dev_warn(dev, "power-domain ID is too large, skipping\n"); > + index++; > + continue; > + } > + > if (args.args[0] > max_id) { > max_id = args.args[0]; > } else { Andrew > Codex assisted with patch preparation and the changelog. > Current review: Codex (Assisted-by: gpt 5). > Static review only; this revision was not built. > > drivers/pmdomain/ti/ti_sci_pm_domains.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/pmdomain/ti/ti_sci_pm_domains.c b/drivers/pmdomain/ti/ti_sci_pm_domains.c > index 50898dc43310cf998660cd93e3b9f5488cc827d4..ca7444a5259d67eb55b4dce78729cac7d3e60f09 100644 > --- a/drivers/pmdomain/ti/ti_sci_pm_domains.c > +++ b/drivers/pmdomain/ti/ti_sci_pm_domains.c > @@ -248,7 +248,8 @@ static int ti_sci_pm_domain_probe(struct platform_device *pdev) > "#power-domain-cells", > index, &args)) { > > - if (args.args_count >= 1 && args.np == dev->of_node) { > + if (args.args_count >= 1 && args.np == dev->of_node && > + args.args[0] != U32_MAX) { > bool is_on; > > of_node_put(args.np); > > base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790 > >