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 04DFCE7719A for ; Wed, 8 Jan 2025 11:24:25 +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:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID: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=rf+pn5ZKA995827H0ItaPaJqZ3fmiKEFNH379/eXvZQ=; b=aja52Fn57kJ/TGGb9xR5DbdWsP Tr4fJQq+bIJP4+PGbJdL5XFwpuY5TowFm2oA8lP2Z4MAQU383pFDvBSOTygcff8G1DIM7n8p59ass 6RO/I4sebHnu+2MnaXim0ZeQjY5WMbU5EYsLLhU+LBMiYIkD42GxqN7M6zmh6lJW0PHUV78mg9YSz 25zjBirGIIOrRNSOmc1HVHmdcSm0UT3jAEN3Smj4DLZh+aFmx1UyqtsqYlOjjeLtULptNmK3TjYrL IOh0olUuA3Oo7v0Xmcpv6tkVKt9QVNnx++ncyekhUyz0/jX9VMPIJv6BvSHN5N3ldabw/Ccpg8rgf s1Bpq4Bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVUAX-00000008Bnd-0Rup; Wed, 08 Jan 2025 11:24:13 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tVU9J-00000008BhK-1KRu for linux-arm-kernel@lists.infradead.org; Wed, 08 Jan 2025 11:22:58 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 86D1A5C066E; Wed, 8 Jan 2025 11:22:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D73AC4CEDD; Wed, 8 Jan 2025 11:22:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736335376; bh=q2HYqSrkEhzFCsWzL/6ZeJhSbwr1mbpb81gzBIiubMQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=E1j5mIjDN2AEZ1LWo6zhBd0Zr3bk+qK+/UKdaUMexMQxGpOpnRhgfHbFtzUZLoNfw JeNLBmFwtO6CadBVQb7xJ2atPFlsNJYp1bKIFkNsv+1x1fMEtRyh8qLpRP4CMORgMo /FbE/fj4P/UVB1Ld0SIJrKILtPJTbA5GORgDQFrzR3aO0EVpcvqmpnDr8g9jjPTTPd l8gZguiUwrO5N8znYW2DJfzwLXMyAaHB8nnqW8oDPn0SP1RJGC1NhcrqfPMKMLLaHK WQtQbk1YsVyUz40qrAkeF2iGGEfrPyr4qL781ZO8y23cSwFH5pCIlT5QEqHaebtK68 UTZyBdoH/iHKA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tVU9G-00A7Ox-Ab; Wed, 08 Jan 2025 11:22:54 +0000 Date: Wed, 08 Jan 2025 11:22:53 +0000 Message-ID: <86v7upwnw2.wl-maz@kernel.org> From: Marc Zyngier To: Yogesh Lal Cc: Thomas Gleixner , , , Subject: Re: [PATCH v2] irqchip: gic-v3: Handle failure case of CPU enters low power state In-Reply-To: <20241220093907.2747601-1-quic_ylal@quicinc.com> References: <20241220093907.2747601-1-quic_ylal@quicinc.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.4 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: quic_ylal@quicinc.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250108_032257_395681_E0386E7A X-CRM114-Status: GOOD ( 13.86 ) 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 Fri, 20 Dec 2024 09:39:07 +0000, Yogesh Lal wrote: > > Adding a new condition in gic_cpu_pm_notifier to address instances > where the CPU fails to enter low power mode (CPU_PM_ENTER_FAILED). > The CPU_PM framework signals CPU_PM_ENTER_FAILED upon such failures. > > When the CPU attempts to enter low power mode, it disables the > redistributor and Group 1 interrupts and reinitializes the system > registers upon wakeup. > > In case of failure while entering low power mode, it is necessary > to re-enable the redistributor and Group 1 interrupts to restore > normal operation. > > Signed-off-by: Yogesh Lal Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.