Message ID | 1847933.atdPhlSkOF@kreacher |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2204884vqr; Sun, 4 Jun 2023 08:54:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ55G5zaW4UMp1j4ypedOJtRIp+fLq4N1MFtXvF+xXTBDnzFIxcSBweqw0OxeiSEoKRZSFDJ X-Received: by 2002:a9d:74cc:0:b0:6af:95c0:fe1e with SMTP id a12-20020a9d74cc000000b006af95c0fe1emr8299496otl.5.1685894098986; Sun, 04 Jun 2023 08:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685894098; cv=none; d=google.com; s=arc-20160816; b=E2oZlw9+9StiA3wZt4ChKxesLrgZNdZYyR2UhBHXEx2vb9/YA+12mSzC+S0djz3B5e 0kmpqxxs58tK7hhnaGSFWL/GomleV6RyrQ7iqKyxtgKgr5gNu0QKC7cEdPSwyJichQ4f G0ku7AOmjc6QOJWdkLRH9YeEjcNCmsMohdViCmGAUEf1SvyFRB2kjsDjJjM1yM7UnVvP ammvQ+yBaWbVMLt840qkEYGm7lbWm7aZb4E8GX6QhH9DBOFBIsyDY11VQzGqKsAqHdvi BNd5HTBI4scQarayvXajCtAy4G8IdLs47FzMXnptVgtdTjFy8HcsRonKfd/L9nhzkIRf QtiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=i5aqtHVXEXH/Yd7YfDoWd2p4MaaO6NXbpTgsoNZ4jrY=; b=EdGkzGim60OwuZKdNYs81NY7fCHsgGVvsvmxGcKwrOKOTXNOVTn/8w5O4crTh8YrII hCWGYy8l0Arlr3Fm/e+mvLBPsq70vnunfqRTumnYUzZoylMvRYkUQiCGwFk+/hTkCBxv LNRoRKku0bpRge2llv766R7anqnV/Os15A96q2u+yQjgDU3PiDXFpFSm/AgyRsLOu4xX rdwYXWJ9Q6DZ50kOsirPL1je2qZpU5MphShvZiJeIhazZkaRZWlYf1Pq3wD6mqc4PsJt ZbhngcP1hf3nTu+YJjNS40INXHUT3xOkdtIHXpp6R/sOaQUaEzG0kfq4ynUpM3hmXuCq XPTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r16-20020aa79630000000b006359be68abdsi3944299pfg.278.2023.06.04.08.54.47; Sun, 04 Jun 2023 08:54:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231757AbjFDPYr (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Sun, 4 Jun 2023 11:24:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230493AbjFDPYh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 4 Jun 2023 11:24:37 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95CBACA; Sun, 4 Jun 2023 08:24:36 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.2.0) id f4b8a39ed7b90b15; Sun, 4 Jun 2023 17:24:35 +0200 Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 9F0EE961C82; Sun, 4 Jun 2023 17:24:34 +0200 (CEST) From: "Rafael J. Wysocki" <rjw@rjwysocki.net> To: Linux ACPI <linux-acpi@vger.kernel.org> Cc: LKML <linux-kernel@vger.kernel.org>, Michal Wilczynski <michal.wilczynski@intel.com> Subject: [RFT][PATCH v1 0/4] ACPI: Install notify or event handlers in ACPI button drivers Date: Sun, 04 Jun 2023 17:17:22 +0200 Message-ID: <1847933.atdPhlSkOF@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeljedgkeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepgeffhfdujeelhfdtgeffkeetudfhtefhhfeiteethfekvefgvdfgfeeikeeigfehnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepmhhitghhrghlrdifihhltgiihihnshhkihesihhnthgvlhdrtghomh X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767788090992521405?= X-GMAIL-MSGID: =?utf-8?q?1767788090992521405?= |
Series |
ACPI: Install notify or event handlers in ACPI button drivers
|
|
Message
Rafael J. Wysocki
June 4, 2023, 3:17 p.m. UTC
Hi Folks, This series reworks the two ACPI button drivers to install notify or fixed event handlers (depending on the device type) by themselves, so the core code need not take the "fixed event handler for a button driver" case in the general driver notify handler installer. As a bonus, it separates the notify handler in the "generic" button driver into a lid notify handler and a proper button notify handler. It modifies also the core to drop the "fixed event handler for a button driver" case from there (last patch). It works for me, but I would appreciate as much testing of this as possible especially on old hardware. Obviously, it replaces https://lore.kernel.org/linux-acpi/4500594.LvFx2qVVIh@kreacher/T/#m064d4130b57cbcb0ece1bb415fae1465ebc20f42 and its followers to some extent, but I think that it's better to deal with the special case first and then take care of the rest. Thanks!