Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp787096rdb; Thu, 30 Nov 2023 20:18:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0s7wJR+ItFgKgreIzHPswKbfJ563YwFimbh6clKGjAmoWVJTl1Ps0cwYBiQNV0WLTQPK9 X-Received: by 2002:a05:6358:a57:b0:170:5f9:9cd9 with SMTP id 23-20020a0563580a5700b0017005f99cd9mr1530436rwb.2.1701404284785; Thu, 30 Nov 2023 20:18:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701404284; cv=none; d=google.com; s=arc-20160816; b=Q/zXMETQsfbYfYCRmEbpWvWdiu2vbCy6XjqeqQDNNbqnwgP4R/VP/IvTse9kIEzekD oVyW92YFpOV7bVq3iOsX2B4oBHWzxzE9YcxT4O6jl/ukWMTBxTiL56x5Q4i/dJPTQ+qY 1KQvr89W9AAF+j4J73v+dGPKEvCRwI0UwbEpCFGedCYivlMuy7WX2bh2YvdNqK3cn9Eq tp4Bhg71nayHvX4xqnx4IW7AwLH0P/MYjPiwRl5CcVAL3pRtvYpbqwFFDvgWzWVGMItt CRQOsUOdTqI4/1J+zuMM+yFk2gJlp6dMDiw818Y21Vua3EeVhwU+AtftXd1j3wQILA1G Ogkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=TDN/fGOxF3LJOJ9JO74US7YL4e/4RmultsA3vElIFMQ=; fh=WqLHvl8AcV5tMhhg1SgkccwK4iqfW81DKqb6rKZCaBY=; b=CsEyU/fyHIPSIiD/VabDhgj/iXxjkyy9Hzcpekcy0PvC6rn83sxu8TfNFU/IyhzpEl eiG7ODTvr8TgQtnfCzjwXDj+7t0XEW5eG/pyVaruRve2hgKTRDShV5vXHj20vAB5jvck wZsIwF3xEWTuQmd17/i81wciX95jwpIqKpTaZ4/4+I4ZaZcIL2K+wvnoc4Qn1gQb3+gT sD73rNvhd0wlFpFf5wsMLlyVDGYB7OpbI+Ru5JHJPmjYUrH0eaBG6eTdAHLg3eMw2GqL x5MovCM4weNm2VKnf0qneAGsRJs6JxX+54TFWNrhlAqRL2lq0mpyOzdObJk38Hd7JVF1 ou6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O2qp1y3z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id g123-20020a636b81000000b005c1b2ec799fsi2611054pgc.469.2023.11.30.20.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 20:18:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O2qp1y3z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 91E2980DECE8; Thu, 30 Nov 2023 20:18:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230121AbjLAERx (ORCPT + 99 others); Thu, 30 Nov 2023 23:17:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjLAERw (ORCPT ); Thu, 30 Nov 2023 23:17:52 -0500 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F6651716; Thu, 30 Nov 2023 20:17:58 -0800 (PST) Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-1fadb9ac169so76189fac.0; Thu, 30 Nov 2023 20:17:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701404277; x=1702009077; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=TDN/fGOxF3LJOJ9JO74US7YL4e/4RmultsA3vElIFMQ=; b=O2qp1y3zYcW6ad17DURukxXwTNSJaPZrQz/nfQh63hnFR4YpfpD2ltAKmIJFKM2Ryy 8x89ypoldW6i9umgq7i10SEecMZQEDtzyRbjryRJHeSIPoWuZY2mJBubOfHbpIiLjYzH rfVo26W74b3tOtGkWtIORAmqci674T48KveMMfLdZzgY1aT0jD3StYyRJ9AqmZfyBLsm PUr1oVbCsDhyvXcIdpNoFyGUuK/7ZgF0prBYpZ/JFHLJiLobaDQOd6tYwXuWVkQxiGSz 1VfqeuLodHMfY9KyO3kYOMWSH/6LZ3N7p9q6zsU8cvL/i7mCoEueBVSRQKkc+aWOgtTP 0Cew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701404277; x=1702009077; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TDN/fGOxF3LJOJ9JO74US7YL4e/4RmultsA3vElIFMQ=; b=REejF98N4lXYlGMXCsS7jSIHpDm1Du7nkCz5v73ydulpeSSjSnCL5DxH0vCLWT/hiN N8UgUkWFBAC9CMrxFErjh/F03NuYW7PiJmPLqF1NGO0JLpvH2VyzEAx0fdIQJ3Yrb59t i/GtVxE2NiOxUEcwO9k+0VIGgrfPBbv9jAeUAfjBMzpoZbHtNchsv8HNT1LO+O3jE78M LNipB+DMJdxqMidZu/Gwfk2lv+BbtAQM6ILxtmKuWjMrIK3S+FZ2jAJsqDvfHbOljtud zJ4oAXRWKPsOrD5Q/RC8hAJYqd4nRdAheqT8vK1zny2r3cKoiwefgicMWhHY6D719kWO tQFg== X-Gm-Message-State: AOJu0YxZRP+UIGSPcHd4RXnagNvz8rHZcFS6LS9aMtNomcQ+S7l/te/e IhkfsdioR83hSlPi8NvTWSQ= X-Received: by 2002:a05:6870:d88d:b0:1fa:25df:4031 with SMTP id oe13-20020a056870d88d00b001fa25df4031mr26189358oac.4.1701404277629; Thu, 30 Nov 2023 20:17:57 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id gb17-20020a056870671100b001f9fe9e05desm621658oab.36.2023.11.30.20.17.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Nov 2023 20:17:57 -0800 (PST) Sender: Guenter Roeck Message-ID: <13fb95af-bf92-4539-bece-b3d1fecaadc3@roeck-us.net> Date: Thu, 30 Nov 2023 20:17:55 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/9] hwmon: (dell-smm) Add support for WMI SMM interface Content-Language: en-US To: Armin Wolf , pali@kernel.org Cc: jdelvare@suse.com, hdegoede@redhat.com, markgross@kernel.org, ilpo.jarvinen@linux.intel.com, platform-driver-x86@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231123004820.50635-1-W_Armin@gmx.de> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2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qTRZjm9z+qQe/T0HQpmiPTqQcIaG/edgKVTUjITfA7AJMKLQHgp04Vylb+G6jocnQQX JqvvP09whbqrABEBAAHCwWUEGAECAA8CGwwFAlVcpi8FCRmg08MACgkQyx8mb86fmYHNRQ/+ J0OZsBYP4leJvQF8lx9zif+v4ZY/6C9tTcUv/KNAE5leyrD4IKbnV4PnbrVhjq861it/zRQW cFpWQszZyWRwNPWUUz7ejmm9lAwPbr8xWT4qMSA43VKQ7ZCeTQJ4TC8kjqtcbw41SjkjrcTG wF52zFO4bOWyovVAPncvV9eGA/vtnd3xEZXQiSt91kBSqK28yjxAqK/c3G6i7IX2rg6pzgqh hiH3/1qM2M/LSuqAv0Rwrt/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <20231123004820.50635-1-W_Armin@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 30 Nov 2023 20:18:03 -0800 (PST) On 11/22/23 16:48, Armin Wolf wrote: > This patch series adds support for an alternative SMM calling > backend to the dell-smm-hwmon driver. The reason for this is > that on some modern machines, the legacy SMM calling interface > does not work anymore and the SMM handler can be called over > ACPI WMI instead. > > The first four patches prepare the driver by allowing to > specify different SMM calling backends, and by moving most of > the DMI handling into i8k_init() so that the DMI tables can > keep their __initconst attributes (the WMI SMM backend driver > does not probe at module init time). The fifth patch does some > minor cleanup, while the next three patches implement the new > WMI SMM calling backend. The last patch adds the machine of > the user who requested and tested the changes to the fan control > whitelist. > > If the driver does not detect the legacy SMM interface, either > because the machine is not whitelisted or because the SMM handler > does not react, it registers an WMI driver which will then bound > to the WMI SMM interface and do the remaining initialization. > > The deprecated procfs interface is not supported when using the > WMI SMM calling backend for the following reason: the WMI driver > can potentially be instantiated multiple times while the deprectated > procfs interface cannot. This should not cause any regressions > because on machines supporting only the WMI SMM interface, the > driver would, until now, not load anyway. > > All patches where tested on a Dell Inspiron 3505 and a Dell > OptiPlex 7000. > Series applied. Thanks, Guenter