Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6003714pxb; Mon, 14 Feb 2022 12:54:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLWdBIR0JwSoduR6EwUPEx6aabBKILqBidV43bVP48SkZIZ8Jpq8E6dVdQhl4B8AfaYe80 X-Received: by 2002:a63:e64b:: with SMTP id p11mr711345pgj.566.1644872085920; Mon, 14 Feb 2022 12:54:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644872085; cv=none; d=google.com; s=arc-20160816; b=Z5hExyeuGJzm/rq9hlt3epg5H4ebRRQF82F3DwdgoycJVRy1/Zq5Nk5KsyMvvCV7qm CfGsnpcOAjrqaDKVZteKKDPWIYw5xhZRX0ZjFrMSQtB/HzJjj7i/XowmCk/v4x3vdYOh pbG0euBPBiYmb0Cxj9wocN6oMatO4njpF6M6PY0gaorTc7ut87K7UEWCIUxZUhtLGkWI gCkbpT/GHqeXwhefFg8amOeuiq5ZIyIIOKh/7zEdewNpYN+ODiy4LeZH+agcvZd6mlSJ lmPpsLtGi5JvNw7V6/fkPR6pX1KfRnY7MxkAlDl8p8wWLsuZs0zYoQBil52XJ8Qzy8Oz BLyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=6aCjQbPB/NFLPju2mWWwFjBHH6//tqesN/M2C2qyHLI=; b=qWCQtl4WIsgvNlonz+LVZe/KFPLnr1yekLRiERQlcK3eySLI4DGCWuIsyNKt5Va7Vn bPDLI1q9Mcb2J9U6TzpiVX7zMgU44RiVqIGW2umdw2FilRKGzz8VjmSMnYASFc5CH1LD l4kgFjiKLSHesD4ooH8dVWNpGoflWm/9hDC5/bZL2UQxmnfawKOo5DzodlOBjQN+hws2 aeK7h4RRsW1t0xUccA5Mob5DTzNc2nWClhR7iuAxC4m2gnB/DdjH2UewLn1gB6LI9Fl1 MlzXOU/K7tWY1hysqtbtDQWtnoxJNsl4PGXXx0Aal5M6SoDKe3EO6C2K1FuovMh4kPOr xZWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WT55gHoK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id mi9si13015575pjb.163.2022.02.14.12.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 12:54:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WT55gHoK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 431441DBF96; Mon, 14 Feb 2022 12:18:37 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236748AbiBMP2R (ORCPT + 99 others); Sun, 13 Feb 2022 10:28:17 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:41212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231319AbiBMP2Q (ORCPT ); Sun, 13 Feb 2022 10:28:16 -0500 Received: from mail-oo1-xc35.google.com (mail-oo1-xc35.google.com [IPv6:2607:f8b0:4864:20::c35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 858515D645; Sun, 13 Feb 2022 07:28:09 -0800 (PST) Received: by mail-oo1-xc35.google.com with SMTP id 189-20020a4a03c6000000b003179d7b30d8so16538248ooi.2; Sun, 13 Feb 2022 07:28:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=6aCjQbPB/NFLPju2mWWwFjBHH6//tqesN/M2C2qyHLI=; b=WT55gHoK2vkRQasLoyPgIMKw8AxAdTqaMvAvNhfU7dhu+EP+JLiBJZWXN+umLn6Pzf 1VbzgxYViebVGkC2zX6nA082IggWAe4HSwpIsj1oF2LtdFGMBwoSgyER22tlgRYQyjT2 DdkBwhtMV2UHh7g9qDeFmdu3ux/z58BQ+GSm18E68W3+8QyCYe8sw04t2SHV8lYOTJb9 ap2gtAzotGqC0nsSkV29nDyKi17GDnzph0g3HKhRt0YGSQf0IWRNMrTCFHAE7XooJj4m Lk10Rgec4/jX2hK9o24L7IAHSqU+hrBXe5hr2Vm4TbPygEGc5Yi7cZ+AvFaF4SrZD3LI J29A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=6aCjQbPB/NFLPju2mWWwFjBHH6//tqesN/M2C2qyHLI=; b=Ykj/+da7nVvkr4WBWTYjATssp183Hkdr266VKY+tZe5cmOWX3t7YHWjjducKOMuFlM y1tcaU0T8NsI7ApwrUlm5qD/wgOMMGBCl/NiXZHZVXwinyQuuJKfcdaKzApSXGaz/lt7 61X+JG9o15CHOfYMmfotxMBqifHCJsdQfMNu9Ry+KFeUah+XxzHnmLl1UPSAJ+leY8Te w223nFHO8OatFFnJSqamZQJo3oLX140vkbIQw3aTG7tTieme5VWOQDQbTQ692E08St6W orAk+7McUuwEhNL+kIsbmLI6VsTOzfqgeaz6jPRGgzhsZWKud6i6kX02O+nZtRaxjggB cJyw== X-Gm-Message-State: AOAM5326t9lYD+CxXcPbBiimF+nCDq2OZD8tNsqkfcQwG9iDw3cscjfB 2WPYtbYeB74dy23pDQdaxXZY2JLHkQQ1Tw== X-Received: by 2002:a05:6870:1487:: with SMTP id k7mr2778775oab.308.1644766089318; Sun, 13 Feb 2022 07:28:09 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id j2sm9550549ooj.2.2022.02.13.07.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Feb 2022 07:28:08 -0800 (PST) Sender: Guenter Roeck Date: Sun, 13 Feb 2022 07:28:07 -0800 From: Guenter Roeck To: Mateusz =?utf-8?Q?Jo=C5=84czyk?= Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, platform-driver-x86@vger.kernel.org, x86@kernel.org, Pali =?iso-8859-1?Q?Roh=E1r?= , Jean Delvare , Mark Gross , Hans de Goede , Randy Dunlap Subject: Re: [PATCH 2/2] dell-smm-hwmon: rewrite CONFIG_I8K description Message-ID: <20220213152807.GA4073956@roeck-us.net> References: <20220212125654.357408-1-mat.jonczyk@o2.pl> <20220212125654.357408-2-mat.jonczyk@o2.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220212125654.357408-2-mat.jonczyk@o2.pl> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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 On Sat, Feb 12, 2022 at 01:56:54PM +0100, Mateusz Jończyk wrote: > It is not the laptops, but the /proc/i8k interface that is legacy (or so > I think was the intention of the help text author). The old description > was confusing, fix this. > > The phrase "Say Y if you intend to run this kernel on old Dell laptops > or want to use userspace package i8kutils." was introduced in 2015, in > commit 039ae58503f3 ("hwmon: Allow to compile dell-smm-hwmon driver without /proc/i8k") > > I think that "old laptops" was about hotkey and Fn key support - this > driver in the 2.4 kernels' era apparently had these capabilities > (see: https://github.com/vitorafsr/i8kutils , description of > "repeat_rate" kernel module parameter). > > Signed-off-by: Mateusz Jończyk > Cc: Pali Rohár > Cc: Jean Delvare > Cc: Guenter Roeck > Cc: Mark Gross > Reviewed-by: Hans de Goede > Reviewed-by: Randy Dunlap Applied to hwmon-next. Thanks, Guenter > --- > v2: > - help text language fixes (thanks: Randy Dunlap), > - modify commit description. > --- > drivers/hwmon/Kconfig | 17 ++++++++--------- > 1 file changed, 8 insertions(+), 9 deletions(-) > > diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig > index 1ee4e5eff567..39aeecc72800 100644 > --- a/drivers/hwmon/Kconfig > +++ b/drivers/hwmon/Kconfig > @@ -506,19 +506,18 @@ config SENSORS_DELL_SMM > userspace interface for i8kutils package. > > config I8K > - bool "Dell i8k legacy laptop support" > + bool "Legacy /proc/i8k interface of Dell laptop SMM BIOS hwmon driver" > depends on SENSORS_DELL_SMM > depends on PROC_FS > help > - This option enables legacy /proc/i8k userspace interface in hwmon > - dell-smm-hwmon driver. Character file /proc/i8k reports bios version, > - temperature and allows controlling fan speeds of Dell laptops via > - System Management Mode. For old Dell laptops (like Dell Inspiron 8000) > - it reports also power and hotkey status. For fan speed control is > - needed userspace package i8kutils. > + This option enables the legacy /proc/i8k userspace interface of the > + dell-smm-hwmon driver. The character file /proc/i8k exposes the BIOS > + version, temperatures and allows control of fan speeds of some Dell > + laptops. Sometimes it also reports power and hotkey status. > > - Say Y if you intend to run this kernel on old Dell laptops or want to > - use userspace package i8kutils. > + This interface is required to run programs from the i8kutils package. > + > + Say Y if you intend to run userspace programs that use this interface. > Say N otherwise. > > config SENSORS_DA9052_ADC