From mboxrd@z Thu Jan 1 00:00:00 1970 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 EFFFFE7E0BA for ; Mon, 9 Feb 2026 09:52:17 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:CC:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=v9tSNfXbkHDJDx9DGTazJ+MYx2zanc+f9ia4eIVktNo=; b=1gorHWLauBrVsp0xo3ipx3q/QD /tGI6FEhrAFDCODNW2uj0F4mkf0WOZiD5PPKbzooIteqLbngKMUnolF8nM5jTqopr+SPQW9OllTfK p3Sz7XIiHOCrrZBq+VAvR2oJIdDhniA+PzTuQCQyXEPbzO10cWurl6tOOCGoJFTQqw6HZrXNwPt7G E57SxpiPiGiYPbpzxoxXO3rhEcS6CVwORf4t5PS0GFvvOEdqTJWOpSi6eBFgOUWmJ0tyK/J4D0jCT vkbb/q2Tx+xntNBsBz2EP8JJkxE+E6OHe9Xa+AmvtMzvGxe03h1Nhox3THuI4H7LmlbFMz6sPEr+8 uSvjxnvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vpNw9-0000000FBeQ-2CLh; Mon, 09 Feb 2026 09:52:09 +0000 Received: from mail-centralusazon11010058.outbound.protection.outlook.com ([52.101.61.58] helo=DM1PR04CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vpNw6-0000000FBdb-3svF for linux-arm-kernel@lists.infradead.org; Mon, 09 Feb 2026 09:52:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=j1MhaOWBtezKSZyPBCM8XmMhgsucqn7XraJm1jYW1QdQ4rGO9H1A4fjO7dMo6vJKefmH3uqwm6+C6p5lUTZSn/EqiF6XvxcOSjaIJgu0Gm1S1WE9K6DUnslLjzUoAIuqabRbaneGzWT7LKv0txS6w3NG2Os5eBzN9Y4oEmxJdYvm9zqjwe6LicLj2OHSiFEBQ9YnHSA4G0zjwaFAQ1zzXVkZ9MKkfSqBw/AMuya3SrUJqMU1NlDfXpAbx0Nt6/GhpdtbERE42MprLy8D1XRxnlFYXKsIljoS3ltYkQQSs/1IJTYFAv5rBQVeQXYVVfQa4wz2tiVdJ0V3pMIpmIPxzw== 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=v9tSNfXbkHDJDx9DGTazJ+MYx2zanc+f9ia4eIVktNo=; b=gU3WnDWaD44Va+0MDT0cJr9FXawWUNxgvVbtTTxvlRd38ldKc5EQqN1SPYekWZuuD8Rr//o+g/Hqg9l3HDQ/sMw70NptG0Uh0dhVMB/qfKa2MInEnEkb/EKugrQRJx84SzA9+Q0v3kdbhJiD0KVj3Ixg46R2ene9380v0BgQOWE6McsY1u5noCFKzKZ0hiovnnk4FHmSt21ykF3+nAtiCdo4vr1Kr5LTMyL4SfCTKKfMPmonh8TvvJjFrkQdxjhontfz8/AGTMihQ3Xc2J2Xd+EXFIoeWnkbr5gsGxDlsy0zguRif2JSvCQOdDRlCJdk5Fg1PI0bbowoLDZUYygv9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.23.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=ti.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v9tSNfXbkHDJDx9DGTazJ+MYx2zanc+f9ia4eIVktNo=; b=vBrj9xU/bZMWVjgKZhFxSJIp5xBODWwhoWkvfxliRrJ04vshMIoA/xMrq97mtWfzkwcfIpUyruuppTMtoW0FIKIaR52v5K2xFBirz1hIBPvedGU3851/VPDdRDZ/weF+CRW8rJ0/DA6AutJYj/ybOYP+bc9oLSUNnlLWwrbdEk4= Received: from CH2PR08CA0014.namprd08.prod.outlook.com (2603:10b6:610:5a::24) by SA6PR10MB8014.namprd10.prod.outlook.com (2603:10b6:806:445::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9587.14; Mon, 9 Feb 2026 09:52:02 +0000 Received: from DS2PEPF00003444.namprd04.prod.outlook.com (2603:10b6:610:5a:cafe::50) by CH2PR08CA0014.outlook.office365.com (2603:10b6:610:5a::24) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9587.19 via Frontend Transport; Mon, 9 Feb 2026 09:52:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 198.47.23.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.23.195 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.23.195; helo=lewvzet201.ext.ti.com; pr=C Received: from lewvzet201.ext.ti.com (198.47.23.195) by DS2PEPF00003444.mail.protection.outlook.com (10.167.17.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9587.10 via Frontend Transport; Mon, 9 Feb 2026 09:52:01 +0000 Received: from DLEE212.ent.ti.com (157.170.170.114) by lewvzet201.ext.ti.com (10.4.14.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Mon, 9 Feb 2026 03:52:01 -0600 Received: from DLEE215.ent.ti.com (157.170.170.118) by DLEE212.ent.ti.com (157.170.170.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Mon, 9 Feb 2026 03:52:01 -0600 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DLEE215.ent.ti.com (157.170.170.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Mon, 9 Feb 2026 03:52:01 -0600 Received: from localhost (lcpd911.dhcp.ti.com [172.24.233.130]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 6199q0Na1785445; Mon, 9 Feb 2026 03:52:00 -0600 Date: Mon, 9 Feb 2026 15:21:59 +0530 From: Dhruva Gole To: "Thomas Richard (TI)" CC: Nishanth Menon , Tero Kristo , "Santosh Shilimkar" , Michael Turquette , Stephen Boyd , Gregory CLEMENT , , Udit Kumar , Prasanth Mantena , Abhash Kumar , Thomas Petazzoni , , , Subject: Re: [PATCH v4 0/4] firmware: ti_sci: Introduce BOARDCFG_MANAGED mode for Jacinto family Message-ID: <20260209095159.pfcthh5a4yo4q2em@lcpd911> References: <20260204-ti-sci-jacinto-s2r-restore-irq-v4-0-67820af39eac@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20260204-ti-sci-jacinto-s2r-restore-irq-v4-0-67820af39eac@bootlin.com> X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF00003444:EE_|SA6PR10MB8014:EE_ X-MS-Office365-Filtering-Correlation-Id: eeba6a2b-22c0-4eea-c8b8-08de67c0dfd8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?bYU2Aoypn/rLGqwX1469clo0Fh04NS4Tw660fWK8XuDwaD0aEEroJomRXoyj?= =?us-ascii?Q?lCjO395PAEhUUzYkG50ZMpX2PQyAF4PJ5NT4TJigG862nahAVFsE7zvmf/Rb?= =?us-ascii?Q?OUX7XjXN2UdzvjAgoyZPPuah3z8aBS7RCoUzTzlXR+8CFJFEegr9iI1B6FcI?= =?us-ascii?Q?dYueZG28k5/v3EZdb9vVx06qzxguflMk9pqccMbjiZLDyyUHA//a4nc+Epwx?= =?us-ascii?Q?z4PyCvl84DTD71TL1W3iDdqqveUXW7CYKaLowjVUljgD9vm6Lre7GUJTsgMW?= =?us-ascii?Q?LXTP809grGxPz2WWwF2pY4AivBoctrJNzJTpHHzM/jU6qdLcFoYTq2w2tDBi?= =?us-ascii?Q?tnsW4haZ5XsfgR5ReXN9jfVvvfe1zTP8kFmSh9760xU2jVD5lXsn8WLNFcIq?= =?us-ascii?Q?BDNaDH3LKDThL5UQmw9ERZR2pdiEiMg7MWZ4ATPGIcYQJuMkBnV2ELz2x2/y?= =?us-ascii?Q?F7thB53f4NwRQsDJaagrrtVUBK5UHgHg33MIkncwkv2wyG2IvnBVdxdigBz1?= =?us-ascii?Q?xMHw3Cz2FyuK+vZ9qGmySTmKdbLr9YXqc0dhtn+BlH4RRtKNGMOxn2MoMYKB?= =?us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FC/E1lrEDM2whQOJLYU8+6k3ZBI4IST4?= =?us-ascii?Q?mPEtY4/qjI8oSMNeYzcLbJASfm5McqwNREdZE6XgtLL9xuQ4KLIcBmQ/Nv0n?= =?us-ascii?Q?Hq3/nE+XEQxl2Fp/aAnAstjbaBEjKd5WNXsGBKiCL3PWgqv+qN1pg1m4hzkA?= =?us-ascii?Q?8hYkQu/JOlo4aB7tVx/N0w8ZjQrNEw7B9vLtWwpo8VLu2FByOjBHqVwxPyVo?= =?us-ascii?Q?l8vtAQ=3D=3D?= X-Forefront-Antispam-Report: CIP:198.47.23.195;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:lewvzet201.ext.ti.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(1800799024)(7416014)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: l1SZ7bWdbZ40FYIQf52uQQNZbN02fzAUuQDPMlh+9lcDnubSSMxsjnmBE8GfPFTAFsF8SXZDPT2N8nHP+Wf2qOjvEbaJ5GV/E5iLSOFe3fXVyQplSSg7mGZOtFvnOTqxvxZXgU+cpybUtO+jzrhFwHERM6wyTpbqPrT9lClEAORYEDUbJYP3dNlSY6jNsfYzg2Mk3PsUn0uyA2Eap4jwgb5grGzYExf9oCb2CCzh3kH1Yb+GT2+Cmpip7EwjE7J23bo4hr0xtPb7AgAqDGaw8Yxh2Mhpwr/FhPZfnk8UOZsfKE+S1aCQ1txkRzImmZg4TGkwxfDAOcraU9LAaNc0IXh/q0ENPqHT8Dd8Idfb/gndAV/nM83YWRnIGf8/CGIJSc2b6CxUczx+3A5iTbBQ/DZmPYLcVjcgkUGWzCnIHsyUSryy4p0bucSXQj4i6KDU X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2026 09:52:01.9047 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eeba6a2b-22c0-4eea-c8b8-08de67c0dfd8 X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.23.195];Helo=[lewvzet201.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: DS2PEPF00003444.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA6PR10MB8014 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260209_015206_968748_63129C5F X-CRM114-Status: GOOD ( 21.66 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Feb 04, 2026 at 16:03:37 +0100, Thomas Richard (TI) wrote: > The fourth iteration of this series adds support for two new firmware > capabilities: > - MSG_FLAG_CAPS_LPM_IRQ_CONTEXT_LOST: Indicates that DM-Firmware is not > able to restore IRQ context during resume after suspend-to-ram. > - MSG_FLAG_CAPS_LPM_CLK_CONTEXT_LOST: Indicates that DM-Firmware is not > able to restore clock context (rate and parent configuration) during > resume after suspend-to-ram. > > Now, ti_sci driver determines whether to restore IRQs based on the > MSG_FLAG_CAPS_LPM_IRQ_CONTEXT_LOST capability rather than the > BOARDCFG_MANAGED mode. The same logic applies to the clock context. > > Both J784s4 and J7200 platforms support these new capabilities. A > corresponding pull request has been submitted on DM-Firmware side to > define and enable these capabilities. > > The value for the BOARDCFG_MANAGED mode has also been fixed. > > Public documentation for BOARDCFG_MANAGED mode and these new capabilities > is currently unavailable. I will update the series with relevant > documentation references as soon as they become available. > > I rebased the series on linux-next next-20260202. > > Best Regards, > Thomas > > Signed-off-by: Thomas Richard (TI) > --- > Changes in v4: > - rebase on linux-next next-20260202. > - fix BOARDCFG_MANAGED value. > - add MSG_FLAG_CAPS_LPM_IRQ_CONTEXT_LOST firmware capability. > - add MSG_FLAG_CAPS_LPM_CLK_CONTEXT_LOST firmware capability. > - Link to v3: https://lore.kernel.org/r/20251205-ti-sci-jacinto-s2r-restore-irq-v3-0-d06963974ad4@bootlin.com > > Changes in v3: > - rebased on linux-next > - sci-clk: context_restore() operation restores also rate. > - Link to v2: https://lore.kernel.org/r/20251127-ti-sci-jacinto-s2r-restore-irq-v2-0-a487fa3ff221@bootlin.com > > Changes in v2: > - ti_sci: use hlist to store IRQs. > - sci-clk: add context_restore operation > - ti_sci: restore clock parents during resume > - Link to v1: https://lore.kernel.org/r/20251017-ti-sci-jacinto-s2r-restore-irq-v1-0-34d4339d247a@bootlin.com > > --- > Thomas Richard (TI) (4): > firmware: ti_sci: add BOARDCFG_MANAGED mode support > firmware: ti_sci: add support for restoring IRQs during resume > clk: keystone: sci-clk: add restore_context() operation > firmware: ti_sci: add support for restoring clock context during resume The series looks good to me, just checking if maintainer prefers the 2/4 PATCH on IRQ restore to be split up. IMO similar to how you've split up the clk restore support and then actually restored clk context in another patch, you can do similar split up for IRQ. No strong opinions from my side though. Reviewed-by: Dhruva Gole > > drivers/clk/keystone/sci-clk.c | 42 +++++++++-- > drivers/firmware/ti_sci.c | 164 ++++++++++++++++++++++++++++++++++++++--- > drivers/firmware/ti_sci.h | 6 ++ > 3 files changed, 192 insertions(+), 20 deletions(-) > --- > base-commit: c6fb8985458d675f32a22788f30afcba754b6d78 > change-id: 20251010-ti-sci-jacinto-s2r-restore-irq-428e008fd10c > > Best regards, > -- > Thomas Richard (TI) > > -- Best regards, Dhruva Gole Texas Instruments Incorporated