From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4072E5243; Sun, 14 Jan 2024 18:59:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eFnQrDFX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90279C433F1; Sun, 14 Jan 2024 18:59:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705258777; bh=qvi9nETLBaswD8m/wZDVKJ3xr98jjCZHihd1L0QIv84=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eFnQrDFXUmO30DSgcK8WhOTT/k40IuozJjOHCgBVy6z2Lza6FIkjqKklu8/WUuEZj cqXxHPYyNkJCZs+4twR3wp9MFAcgtchlLpilAuag6E958+SdslvGe80RtFaeaQB1ZN 0V8tprL1Hne0hU8gxSP/FgTcHUwnE1wU3qX5TrVqsHGjui2Va12//D+BposyJasOEo VfIsMYzvQbrP3xuqiFkaxytxQJ80chYhN36R/tpw1TXukXS+nePn6umY/TxtPq51OT yPaWsud4UH8WB6SjWc26nuss+GBgWzPvHgtvoHY7sU6ikRQBS/fhfkIs7r2+Pn7SRr ONGuiaYtG4mVQ== Date: Sun, 14 Jan 2024 13:59:36 -0500 From: Sasha Levin To: Pavel Machek Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Mario Limonciello , Marcus Aram , Mark Herbert , Linus Walleij , Basavaraj.Natikar@amd.com, Shyam-sundar.S-k@amd.com, linux-gpio@vger.kernel.org Subject: Re: [PATCH AUTOSEL 4.14 3/6] pinctrl: amd: Mask non-wake source pins with interrupt enabled at suspend Message-ID: References: <20231226002725.7471-1-sashal@kernel.org> <20231226002725.7471-3-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: On Tue, Jan 09, 2024 at 12:43:27PM +0100, Pavel Machek wrote: >Hi! > >> From: Mario Limonciello >> >> [ Upstream commit 2fff0b5e1a6b9c577b4dd4958902c877159c856b ] >> >> If a pin isn't marked as a wake source processing any interrupts is >> just going to destroy battery life. The APU may wake up from a hardware >> sleep state to process the interrupt but not return control to the OS. >> >> Mask interrupt for all non-wake source pins at suspend. They'll be >> re-enabled at resume. > >Not sure what is going on here, but it is queued for 6.6 and 4.14, but >not for the kernels between them. Ack, it should have been dropped from 4.14. Thanks! -- Thanks, Sasha