From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.181 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795932032; b=KkKie5JfuBPtowGJ4rSjmoAFKR0PikZuuzIk2EuhzLjOgNxKEEfdZTqNo1Ol23eZI7Kt YgL6yz2dphdLu+YKRocXaASEeBUulbTGgcCaYLcKP356NgRH1sCV6Fn15sTorxoqAZa5/ t0kaQq3LDC3hCLL99zfBK7a/eudxOVi2wV2JoCGIz1WphEXot/rtCPiz57D9vAAj9WxIV a9ceTtWNW6sQmUNecqmFfpSCQoBlvB1UN1tahzgERo1v3CnPP/R8y7jcov2k8xiGtsxYi 8ub+M4lHTANGWCllGZGYVluY8pS8V8wnop5uWtYdA5pL22kffqPDOzwVIlzVRE20cew== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795932032; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=6YxXOZv1m/HDwR935Uhch+EjWQB5yH3k8ZjMaxcSjlY=; b=29jOpqfnFncUThIEIEo02dfSb6CNZRW4jXuCQU5GBwQ/tLD9FvraowwEJ0ykK0+zNrEm nZhar3pxwzEB/y0dbZYMOP3k5AxsL/FqS0s940FhTbA15OHr541cEVyMOVqduI8C4nENl jTMFeF+R8xf2auFSyQ003e9gw7lPUJ2VBJe3PeD6tVxxRp4mPzgcd/O/IkCtDYWtnNeBj SVKTynoMo/qv4m3dPxg8ki15jXj7M76UF3zV/lKAPH1AkdHtVwGtRM9RnSMDrmBqNFSu7 oYPWz2r31pZO/6FgJ+ZhGumAtCBkkQLAAaS2dHaYGxcaur19VKGv8HJ6AVO+cawSrng== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=HoJ8HNns; arc=none smtp.remote-ip=74.125.82.181 Received: from mail-dy1-f181.google.com (mail-dy1-f181.google.com [74.125.82.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6BE6606A31C for ; Sun, 29 Nov 2026 06:00:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C6BE6606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=HoJ8HNns Received: by mail-dy1-f181.google.com with SMTP id 5a478bee46e88-3282db206d3so9033076eec.0 for ; Sat, 28 Nov 2026 22:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795932031; x=1796536831; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=6YxXOZv1m/HDwR935Uhch+EjWQB5yH3k8ZjMaxcSjlY=; b=HoJ8HNnsysw12tHNxljR/26XDydZvaxFyAY/OOut8VE/EMMXv0vmuKUtFiRu57x4ZM wKzmqYo/LzCXVjo1Yo1YN0WFKFUWwwKk54ACrlNhRqseeddF3apgw2kRiP9KjMBl5iqj 0eYCDLSRdFNR+AZMNq8LFR8LgBLe/yMAcDSA7Zx3xI5H6xVJmrSkNpY2SkBmLqHrQkg4 asaLVsB20MvicZR0HzfUhKFOAbeAeanN5LKWSxVwSWEzwCbhK2Sf2PXdXP7nAX21hjUH y8pKJxtJXXvhpu+/35QTtfH6OTkW6wCQW9Tn/9NPLIqy6No2B4LR2qSZmsnS1M7Ol0GX 0vig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795932031; x=1796536831; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=6YxXOZv1m/HDwR935Uhch+EjWQB5yH3k8ZjMaxcSjlY=; b=wA1PHvVuq53PtowAV6f3hl8JBAr5uotw5NqG0cfhqON3TTSb1L+mqC6WornJEjEb61 nxSgMihJUrMR+k3XuOYRT8rGPM2KsUoNEsmif1lsefIFqeKfx8jij0re2ibYdPOzpb24 m644r7ErubNyqSLQe91FwuOddoDY+WXtJGrEXy9/l7YWyuuqMFvKFgZEvIzHRfrKkmjU 9AwwhaPzkG4bjB42PxejJuwIeG5YLxsh038vVK7zdFJoMeQZKiYrean9mSm/lmCw0OXb jK3DLoVKuUQlN7U4Gt4lQXnAhS6wiBSkERMFyAavkLMmscv59m7FkxByopaXR3d0AKAv 8U3g== X-Forwarded-Encrypted: i=1; AL+hErHtkq9cM/DuD8OPI1O1wlXq2kk4hczOq5Me9GVx/HvSzjwkIZHcxzKBWA2wIVR1IQmS9lA2EfTlJP+dOi4=@vger.kernel.org X-Gm-Message-State: APuU4Z9QUsoKR/KZeFfWd6MfqffGCEijMcppLqfh4g0GTemcorGZdIZG n7rw6GHFK5ELqe9Go+7UWO/I0M/D7ckIe1/uR+aJivdlxUUbF/B6Ewuv X-Gm-Gg: AZFdTZcLGK8QUKQsYGWqAcOf4tOvS4lsmeg/3K5j8/IXD50jvSOpW7kAzZnR0Pr80O8 OY5m6C96yCPx8ouzAUTp4nnGt/A2EVGWnN8P4qYQDiqInMMiWFsRe3wlMvclEnvkBn7cYmluP+R rIGbSlYWYpeQnc0bt14sYZ6CSdmP6/Xu1au7YZ7nZYZtLCJOSoALKKLTPGBmBbm+5ARnRS7CCwV JCSpp3CXahpVluPQcywdnazjDua0IZ2dXxuWMkHUbI+jXolc0laqdcMxOqey1EJPFpb88EA0QrO hPSKOaAJ43v8mm4ka91hBKqJMcKroRs9T/3rMJ+QGE9jdymvPE0gjy/hbyL7YtND9QMQu2Y/O8i DEP9gwTkOtXTTn6XeKYfIApi97ho6fhrPt5OQPpFTpuCYd1WHesZBs0v03jzXg1IYOgAmjhrDwp ntRu5P7oGHiVkFMbvzUH58OfewFU4rQ3L3QW+/b2Y4L4KQ+hrMdGpzKu/OyVhr/JYEx8e1V8DNn S7rV1Y6SVqTjwyAP8YfKPjA5B4SgXEXVPdJHRjgBIfa7jmOUffstnrlkQRB23iQKY98MIeICqIy jZj20wpbc/0i3GWu2tmtsvPTcqvJWJAXvFWT1RQQXrUA3LY0/HKmbo7ZFPCFo8qU5mvrWwhA+Op Y7/hcLwjDfI50oROw X-Received: by 2002:a05:7300:7f21:b0:386:9a67:3be with SMTP id 5a478bee46e88-3869a670d85mr26265103eec.23.1795932030634; Sat, 28 Nov 2026 22:00:30 -0800 (PST) Received: from google.com ([2a00:79e0:2ebe:8:bb1c:13e6:7cc0:289a]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e99fdsm103164766eec.5.2026.11.28.22.00.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Nov 2026 22:00:29 -0800 (PST) Date: Sat, 28 Nov 2026 22:00:27 -0800 From: Dmitry Torokhov To: Mark Pearson Cc: Henrique de Moraes Holschuh , "Derek J . Clark" , Rong Zhang , Hans de Goede , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , "platform-driver-x86@vger.kernel.org" , ibm-acpi-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/8] platform/x86: thinkpad_acpi: simplify hotkey open/close and poll setup Message-ID: References: <20261125-thinkpad-acpi-hotkey-poll-v1-0-6dee57519c2e@gmail.com> <20261125-thinkpad-acpi-hotkey-poll-v1-3-6dee57519c2e@gmail.com> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Mark, On Thu, Nov 26, 2026 at 10:28:27PM -0500, Mark Pearson wrote: > > @@ -4024,6 +4002,7 @@ static void hotkey_resume(void) > > if (hotkey_status_set(true) < 0 || > > hotkey_mask_set(hotkey_acpi_mask) < 0) > > pr_err("error while attempting to reset the event firmware interface\n"); > > + hotkey_poll_setup(false); > > } > > > > tpacpi_send_radiosw_update(); > > @@ -4033,7 +4012,6 @@ static void hotkey_resume(void) > > keyboard_attached_on_screen_notify_change(); > > hotkey_wakeup_reason_notify_change(); > > hotkey_wakeup_hotunplug_complete_notify_change(); > > - hotkey_poll_setup_safe(false); > > > > /* restore previous mode of adaptive keyboard of X1 Carbon */ > > if (tp_features.has_adaptive_kbd) { > > > > -- > > 2.56.1.839.g22a8290db9-goog > > I think this is all good. > Just to check - how much testing have you done? I'll see if I can put the series through a few platforms just in case (but I can't see any issues with the code) This just gone through manual + LLM reviews, I do not have hardware so any testing on real hardware would be great. Thanks. -- Dmitry