Message ID | 20231210202443.646427-1-W_Armin@gmx.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp6683691vqy; Sun, 10 Dec 2023 12:26:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVA6xpdh53HqeeMYAPaQE5MBy24szNi9HJ6MSjs7hMYaxcNM0pDRq6dAu09nUc2yCw2tQ9 X-Received: by 2002:a05:6e02:1ca5:b0:35d:6916:aefa with SMTP id x5-20020a056e021ca500b0035d6916aefamr7031591ill.6.1702239977137; Sun, 10 Dec 2023 12:26:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702239977; cv=none; d=google.com; s=arc-20160816; b=eqIeGXcYl9KmZlA4rQhjl7Jf84te/t+Zwf7oCbEwQ4+A8CTNq1EBAF4mHmc8V2OIPH J15U3skywk+oH7bC3S/ufIo2A+6UD75PL0l2LLRWTdjMbihIg7edgaif+QcUkewNPczM GpJJKs+pyu0nKe8/FkcOQg2Ab3wb739Z6nK12SVJsSEQGJTxcUpy+omqKFXlzrE5wIcd OCvfxjLKYqEWxND5kFAmOhnDFVuX3PgxYf5CWPjdj9EO6vHVScylghGCufV0LbHX1Bgd T+0pc9rU65m/3ktHEWegIAcOvldVnrMVu8EszA2z3DqQFGF9yz9AQm0O+J1p3U6EARJ9 fuVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=/ijqQkVnSwwNI/avnZkSnTJu7uBEdtUmRNNdP6CJ8pU=; fh=li8yxIESWfZR7lmBO8wCmgOg4WdXsWPyQvEuWPhaOvo=; b=BFwDeAtEPiQc+fcBx+VZ9aX+rUu3i7Wm9JhrCqxsHmhhL5Mij3Jcm3/j091zNT0zno i5++a9I6G6jNIN10U939clv4ORQBPAk/U0aeFUYyFQLuLNEnkIYAevU9AkJ2ZnbD+qUo 7dmOAR7JdBf0K+Jk3QKrUnbxLnPOejZOs27gJfZXRan6TJVvQlU53k+RiMngc3eBBz6p 4fQvTqER7FujML1ODmjNO6SHeURNRSKtIj9RnlT7fWJApjfe9eL8IM5FQuahSUWy6fZI ZPouGh8D2VCPMDlLaMuz6LVH79OT/W1qZLy0KjzaPh0gLB4q8Rpi0f/sOGoLdZkqR5uK A2Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=m+JryQTU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id j14-20020a170903024e00b001d1ce46f067si5024572plh.485.2023.12.10.12.26.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 12:26:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=m+JryQTU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 5E6B08074E0E; Sun, 10 Dec 2023 12:25:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231837AbjLJUY6 (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Sun, 10 Dec 2023 15:24:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjLJUY5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 10 Dec 2023 15:24:57 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FA4FD8; Sun, 10 Dec 2023 12:25:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1702239887; x=1702844687; i=w_armin@gmx.de; bh=LHjqlwgNkufpjFeWV3ISQg5S2l9qKebnwZiqRNS6g5Y=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=m+JryQTUJ0roAUpqZ231yKKZJOR/IrqAOQXW3xruX4NBCJ8AO889lx5dzWHDiu78 ZBMIJJ+bZD0ENqlE5WBpC+8ksp8Ye4YAdStaB0ukt35hbKR+yxD5JAngvkTCNYo9V 3wiogiUthOGt9DAV0/HylYnyHQ9rfQEWS6rcaiJv+bybjlbA6yeWj13d8a7//3/GK DZYJNCc1oGEcpSl3lSZUKw0UY2a8Ie4jON1PxGWUmuAEam5AjTO65zW9m8vphuIyo 5x20Ri4E0lv7j6g1P0g6rvWg3fBJK7W6JWcZXVOhsn3Pnkig3tJHS7efpTr6/EHjF PjXmBxS53sQU2exu6g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from mx-amd-b650.users.agdsn.de ([141.30.226.129]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mv31c-1rUEFr1HQu-00r3Fd; Sun, 10 Dec 2023 21:24:47 +0100 From: Armin Wolf <W_Armin@gmx.de> To: hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com, corbet@lwn.net Cc: Dell.Client.Kernel@dell.com, linux-doc@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] platform/x86: wmi: Cleanup obsolete features Date: Sun, 10 Dec 2023 21:24:38 +0100 Message-Id: <20231210202443.646427-1-W_Armin@gmx.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:OH4a1uQzlafpzkNjmLz9Vd7n/MpwUzaBWfMgJ+C5QZzotUa+f75 CJu04BjoiatTw1eUT3Q1zChyFLHLvOg5IOcDZxBSNICPdbmYj9iB1WpBXgTVwAZ9Pk8xgTp f35u9SO83qbPk4GDsBVdJHOsUSXmFCNiUAdwwvwm1TfbLfLsZMGyl9WJ5fXCBGB8L51fo5B /4gg98V2PTogukk8sK98w== UI-OutboundReport: notjunk:1;M01:P0:9zmj4gF7VEM=;Kc5QoihwiH/63+KNyBqiLrKfmkw +saeb5FPBdAR10eqj2frrCh+0O7Txlvi4bfNF0Nbgo3HB2sT57jt2qCjDtDjcSBRh9FmoX0hw uO3Mez409sFFmgsvw4vPbUcA0wBZ2kutafK3VcUGSYwRlhA9zSfJ8XGVA2AqlUXQgP3onamSY /UN40I4HYmQUQI6kOqA7HGAYaLYKNSD275LZSl9SDnIKo4OgGPr4PEaaz5ReG6xiC5pNG9AW9 huckcCyfFN+7vvGDPM8rCw3kn9JcVVqav1o08hdfWf9vhLIiVE7fDcQtuhBemID7ml5+89EHR P0IB1NIDcByCBVnvef4ZrRKhMs8uZoNwMspl/JEzF4bbLtYPyA6uwmHbhYcgC16viPfRlhpk3 Sw9O/JQafwJbwlHZInjmWyikXxdgSlZbFqtNdpgP1VzXxnJZ9Rx4RA7kCMvEUQgO/Ghmy+aFP Oi2YXVntCtHDZrsXN7RULrCQo1Q0Cc+kxVBgFIScInNHPjnJLC1umxQsjnpRiKusG5xFKjKTG fPAo8ikgPCt/A4qRMHm4KiEfnee1h2TSr4AR+ulFgTbGhFoiUrYQHGracwo4Z2bkKPj9epKwj 4HKNVyVGAbVmCfyF/WDwvuDIjEoRhqCpjGimsTBuBr9fGxLbsusRxfNyMC1uS1ZxeG5/Sgz7y c6ctStF+Q4LLvONL1ovymqZwNOhEdtB0GVx6cpYZrSY0oQYZFORXXpYK3+qYJM+wsen0Gcccu 5FUkvnu7eK89QBqGoySLf/LuPixBAyGgl1t6X8cSx9HoncefLEBOsnwWI3y6L1QHH2PfTHe6w M2AwSWw0aiW3EdriITPaElWPto0NI3xR3EZYgWlUVPgCOse5Os0B3czHHSpoVFi0Ay13NHoCj oESVO4P1oowZxQ0hJW+0sZ2/D2DnixtuVJTjfRa5PfGQcqaJ+JnphDsrkkea25I8CS0X6REPl TzOg+fST6nAtmvgy5yNJGSM90iA= X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 10 Dec 2023 12:25:55 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784927986235958707 X-GMAIL-MSGID: 1784927986235958707 |
Series |
platform/x86: wmi: Cleanup obsolete features
|
|
Message
Armin Wolf
Dec. 10, 2023, 8:24 p.m. UTC
This patch series removes three features deemed obsolete: - the debug_dump_wdg module param: - suffers from garbled output due to pr_cont() - functionality is better provided by "fwts wmi" - the debug_event module param: - pr_cont() usage - uses the deprecated GUID-based API - largely replaced by the ACPI netlink interface - ioctl interface - used only by a single driver, no adoption otherwise - numerous design issues Since the ioctl interface is actually used by userspace programs, the only user (the dell-smbios-wmi driver) was modified to implement the necessary pieces itself so that no regressions are expected. The series depends on commit cbf54f37600e ("platform/x86: wmi: Skip blocks with zero instances"), which is currently in the "fixes" tree. All patches where tested on a Dell Inspiron 3505 and work without issues. Changes since v1: - add Reviewed-by to patches 1, 2 and 5 - drop patch adding the driver development guide - rework error handling in dell-smbios-wmi Armin Wolf (5): platform/x86: wmi: Remove debug_dump_wdg module param platform/x86: wmi: Remove debug_event module param platform/x86: dell-smbios-wmi: Use devm_get_free_pages() platform/x86: dell-smbios-wmi: Stop using WMI chardev platform/x86: wmi: Remove chardev interface drivers/platform/x86/dell/dell-smbios-wmi.c | 173 ++++++++---- drivers/platform/x86/wmi.c | 285 +------------------- include/linux/wmi.h | 8 - 3 files changed, 132 insertions(+), 334 deletions(-) -- 2.39.2
Comments
Hi, On 12/10/23 21:24, Armin Wolf wrote: > This patch series removes three features deemed obsolete: > - the debug_dump_wdg module param: > - suffers from garbled output due to pr_cont() > - functionality is better provided by "fwts wmi" > - the debug_event module param: > - pr_cont() usage > - uses the deprecated GUID-based API > - largely replaced by the ACPI netlink interface > - ioctl interface > - used only by a single driver, no adoption otherwise > - numerous design issues > > Since the ioctl interface is actually used by userspace programs, > the only user (the dell-smbios-wmi driver) was modified to implement > the necessary pieces itself so that no regressions are expected. > > The series depends on > commit cbf54f37600e ("platform/x86: wmi: Skip blocks with zero instances"), > which is currently in the "fixes" tree. > > All patches where tested on a Dell Inspiron 3505 and work without > issues. Thank you for your patch-series, I've applied the series to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > Changes since v1: > - add Reviewed-by to patches 1, 2 and 5 > - drop patch adding the driver development guide > - rework error handling in dell-smbios-wmi > > Armin Wolf (5): > platform/x86: wmi: Remove debug_dump_wdg module param > platform/x86: wmi: Remove debug_event module param > platform/x86: dell-smbios-wmi: Use devm_get_free_pages() > platform/x86: dell-smbios-wmi: Stop using WMI chardev > platform/x86: wmi: Remove chardev interface > > drivers/platform/x86/dell/dell-smbios-wmi.c | 173 ++++++++---- > drivers/platform/x86/wmi.c | 285 +------------------- > include/linux/wmi.h | 8 - > 3 files changed, 132 insertions(+), 334 deletions(-) > > -- > 2.39.2 >