Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp946378rbd; Fri, 23 Feb 2024 08:18:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWEUoaoQWluZKJJhE/hZTaTS5l46ViDMb1tEY4eO5nU7X5EZAx+vnS0K0e6HT0J0xj1HQ0hp5pnVAucVJSlTMOJsEFEp3KOn6xwFukAZA== X-Google-Smtp-Source: AGHT+IHZXCh71l+HSa30ijfen4QGlOldeY9JNAsl1V8qpuB+4QssQFsrSY7srwzxC7gLn6ewklRv X-Received: by 2002:a05:6a20:8c1d:b0:19e:be5c:b7c6 with SMTP id j29-20020a056a208c1d00b0019ebe5cb7c6mr315069pzh.45.1708705091079; Fri, 23 Feb 2024 08:18:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705090; cv=pass; d=google.com; s=arc-20160816; b=epWNSw7bJtaZih+1dbjI1dPiSJUYxAGrrX9whRFXjYaV1aRVesujC+7curDTtdNTKS A7TSLI1Hx/zTemB49Y+Jjd7xaG0ImRuk3PEB5BHCFTzP8BgI1Lskv4JLKrD6YL+ZKG1X lJ9zYHA0agmnR6QoyAEBatey9K3Nn/dnGrc7qVm4xCWMrK2sWJfxuvyCbd9G5ISTfdfn eIa77NnZJsp2I6Nx1zH9E7zDekOf+rtToeX53wf8ycfPG42RGh89cOplSq+O+ZbKsMkC tFLkP/6uCYRKxUTvxdJi/pwZubv08lMNRtZ5f5nno+QVt2DPLlYVz0ZGctUbjpiymIiT MSTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=l0pmYrFvquCIb8NGWQlnTwvlcTJmpqIVPqUEH3/xbAE=; fh=qdbWVQmDdO9YSHPKvCya1SEGjbF+lDSIkcBanAqdXIk=; b=UyBOpwRl3XBo7qKPUXj4Kv9HJJ0v8RmrdZ8vVRmD/3Q3lj0oeRhuL8MQowOTXfQpm9 ZdF64FlQyOpMcjM4B0rFiQXZ36LUFDNAoq4m/0OvTN1qGN+wWp+yF6lRdoW6x7he+207 vkGsJ4NnmnGvsfNcghU+cLIRWLP4KtSjMSRUbJzyy5lHNSI917HnVZfH69c6S9BhRlPK EJ6SChwKkXhyB2ydUmOLlW3hZ6bmKASNyiVH9abPIy5NXpmrn1rvq92NUH73EynTGcjY /jsGI0QWKyqBqduIXyHE5pbzRZV72AwkVQei9Np+GM98Zt/c8KbgPzLzDsG94KtmbQol HjmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h3ud/zyp"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78693-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x19-20020a63b213000000b005e42b58b1dcsi6571819pge.291.2024.02.23.08.18.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:18:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78693-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h3ud/zyp"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78693-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78693-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 37B17287BA8 for ; Fri, 23 Feb 2024 16:16:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A71A12D776; Fri, 23 Feb 2024 16:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h3ud/zyp" 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 A77D31272A9 for ; Fri, 23 Feb 2024 16:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708704896; cv=none; b=ACXG/+zgveWO6TorVf5XjbRZItn4WClX/BlUML2IyfpbN5QCgTyXfrST9rk2r+91lpYyLAK2Ho6qSsJvOszuizkxopocGY7BjHS5n8tkyv8yTw1ICn6ERyIehQW+H3rRstAUgzWkx6T3AOxlllvyQH/G9l95JbDSdY43/023V5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708704896; c=relaxed/simple; bh=+sWCvZILJutfbfh6f2UzLobm37ypkAWLN+5d6c36Pk4=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=s5QzJVpGbHyL1Xg09nW55PztCGxfe7mLvat5bLA0myj9VYe3PJhWvQD6yEpn4dPqce0nXDNZ4VXm/DyF8UL4v02sp44V7un4yLVk8XHMvfqDI/c8a+k2I6gCivYH49tfBSgoUG96cyY6TcFat0XcmUv0fnlg0D4w0BHA2Shjs38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h3ud/zyp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63887C433F1; Fri, 23 Feb 2024 16:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708704896; bh=+sWCvZILJutfbfh6f2UzLobm37ypkAWLN+5d6c36Pk4=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=h3ud/zypJ0UvhjYnwcyJN81KiSlL/YpYhE+VYdtAD68AyV492dHGsCw9Jlz/PQ33H NKGH8v6MUbNcHdU4vg/4YUSp2wp6KzC1aT3AsiRj+peE6luu1lJCzmtjjMlZ76kNFh TJuAu6BX0ubG4x3Vo9iO7yO94Ey5Da2qOJ+Vzb4K7MEorDvO4MFSjA+B7/APqWkNAY g4aht3VNfwJthSUeMKJ34yi6lEk0ATaeiOnLIUwUTi3Y/MJQ3Yu684Vnro+/la4cYY qU27U38C0DRrNrLNGXmrV43ZPyGI6XaYc2X4o810vqb9bKW9aBBFV+7Cxk0S4HT+XM ksK0FYUYhYuPQ== From: Lee Jones To: linux-kernel@vger.kernel.org, =?utf-8?q?Ond=C5=99ej_Jirman?= Cc: Lee Jones In-Reply-To: <20240217195615.1767907-1-megi@xff.cz> References: <20240217195615.1767907-1-megi@xff.cz> Subject: Re: (subset) [RESEND PATCH] mfd: rk8xx-core: Fix interrupt processing order for power key button Message-Id: <170870489512.1733392.3193297224025743426.b4-ty@kernel.org> Date: Fri, 23 Feb 2024 16:14:55 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.4 On Sat, 17 Feb 2024 20:56:13 +0100, Ondřej Jirman wrote: > Process rise event last, to avoid stuck keys when multiple interrupts > are coalesced. This can happen typically when resuming from suspend > via power key press and holding the power button for a bit too short, > so that RISE an FALL IRQ flags are set before any interrupt routine > has a chance to run. > > Input subsystem will interpret it as holding down a power key for > a long time, which leads to unintended initiation of shutdown UI > on some OSes. > > [...] Applied, thanks! [1/1] mfd: rk8xx-core: Fix interrupt processing order for power key button commit: bda40bf667d8d26b157a69d821872b2ade59bfa4 -- Lee Jones [李琼斯]