Message ID | 20230426212848.108562-1-W_Armin@gmx.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp524031vqo; Wed, 26 Apr 2023 14:50:44 -0700 (PDT) X-Google-Smtp-Source: AKy350YZ55VgH5HQq5GlVbpUGpZJHZM+61VdCvhqNHHynzoNnKvAyhieEPvw7WRikLmf0BC2tYm6 X-Received: by 2002:a17:90b:1e4f:b0:247:96e0:2ebf with SMTP id pi15-20020a17090b1e4f00b0024796e02ebfmr22162010pjb.1.1682545843912; Wed, 26 Apr 2023 14:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682545843; cv=none; d=google.com; s=arc-20160816; b=b8fHt3X5pA999z+tKUMiTbI0tEjyIHDlt1+0HNtZI3s0bnpkgoXzxdTfv6zl5S0mF8 5UV72QOuBj9neUT7+sI3F6AnovMsLIIBuXuAo6PFJBZMD/JJwUn77S1f0LGUSIIFS57J RrxvF04+ndnt2wYTXZQ7poeV6xxbB566+VXLOEBXXMlQ/f+IRD3atVOaZitTNg3wEwXx ZTB6rPntW68Pv4GkA9DqNFtoJxjbSvFxNnIychBF35ECZGD6jphkbrFjyUCDvNvQRQYW rQ/1g0PEYyOicR08a+OnmHRUhJiZlVqJMj6B/OGOKWUJvrD/zLTgR2MGVcgB/s8VcQLq SLuw== 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=IdXfPgqsk4OZGl9ZGk8noKegKjlnPU70bQbZ3U6LL6g=; b=RaSBELUdfKt5qCj7ziI53NT1FBvdMeDMqSxxHgaCOIYkrKMRfaIbfWkntmvEqnz/Y+ GHWcECngW5fL+RFWL18jL8KRW1fqSvxcmPN+2URfnIf8bPY7umZ7TD9BpzuOCh1cyPRB Ueq7HjocbkW6H/a6GzKv+WHy5tu9oYWKBMxm+dYlTH+h34eHCDgwiEd0CPqxUJWOhrKm Tya4BXhJG881vZjZuMqegSKUpusc5PiitlvJLuFra2fvcOJf26L59Wph5WxmQDDJpsDE b/Liba73590wmnO5Fiy+SgKknp18v4btx7jXeai0CCWFKLaNCMr9UGy46J/2vxaxvO56 ILuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=MEcVvoC2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q193-20020a632aca000000b0051b781c30c3si15444448pgq.822.2023.04.26.14.50.31; Wed, 26 Apr 2023 14:50:43 -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; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=MEcVvoC2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239934AbjDZV31 (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Wed, 26 Apr 2023 17:29:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239398AbjDZV3X (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Apr 2023 17:29:23 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FC3C40E8; Wed, 26 Apr 2023 14:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1682544536; i=w_armin@gmx.de; bh=oufZCIe50wgKuLFQDyobMgjM8pxGO6eD46RTeNyc1co=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=MEcVvoC2Z7eVXYp+ULDxvM3CMO897WOcSY8vckUQGvHi35Gh35q0odgwj9eL9hhCj FoWSpn6xCb6pptJywqk9qjmHlZN5a6mgXNlJACwyFoGecJkgi0ctSBnfHrt2I3VzzZ ohxPQUx1Aaw84qDNppzGoRRPH6sjbjXtgWi7ySxiKrQanRHFnn8BqBeU1dEDAO1Una 9oEfX4hitelWAvi1qY0KnDnfRpxYMnsXYL7LzAwKom6VVgYzTL+QUEz+ghSwsxG3Xc iBaWmlbafNkODWxooQQeRp+vDV+QgsqqOg0eLXvfpkQ3egLmoSPCsREqg4h8dLC20k jFyAg3HlB5ZKA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from esprimo-mx.users.agdsn.de ([141.30.226.129]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MAwbz-1py9QU3EjZ-00BO1I; Wed, 26 Apr 2023 23:28:55 +0200 From: Armin Wolf <W_Armin@gmx.de> To: hdegoede@redhat.com, markgross@kernel.org Cc: Mario.Limonciello@amd.com, prasanth.ksr@dell.com, jorgealtxwork@gmail.com, james@equiv.tech, Dell.Client.Kernel@dell.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC v2 0/2] platform/x86: Allow retrieving the number of WMI object instances Date: Wed, 26 Apr 2023 23:28:46 +0200 Message-Id: <20230426212848.108562-1-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:UK4stO+HSR03CMHiOIHSzB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nQ4ujfTLcmtfj3V4ck0U1LMQ/CxjYv9QVg+Qd01l9JSnt646ZD8J4mjj8 VCbut1P8qywo95ZDndaly9CYF9ySv0b/hy5cPh1bFfIaEWP7XJNqOk0wk5mQI0oQbHxlMi1q8 pAuHvRKv6K9BMbcirbZ43e5b57k= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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?1764277190886001089?= X-GMAIL-MSGID: =?utf-8?q?1764277190886001089?= |
Series |
platform/x86: Allow retrieving the number of WMI object instances
|
|
Message
Armin Wolf
April 26, 2023, 9:28 p.m. UTC
This experimental patch series allows WMI drivers to retrieve the number of WMI object instances. This functionallity benefits several current and upcoming WMI drivers, the dell-wmi-sysman driver is converted to use this new API as an example. The changes are compile-tested only, the change to the dell-wmi-sysman driver also needs to be tested on real hardware. Armin Wolf (2): platform/x86: wmi: Allow retrieving the number of WMI object instances platform/x86: dell-sysman: Improve instance detection .../x86/dell/dell-wmi-sysman/sysman.c | 15 ++++--- drivers/platform/x86/wmi.c | 40 +++++++++++++++++++ include/linux/acpi.h | 2 + include/linux/wmi.h | 2 + 4 files changed, 51 insertions(+), 8 deletions(-) -- 2.30.2