Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5570117pxb; Mon, 14 Feb 2022 02:14:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/wSL7vUCimAx3UmC/1HF1ySAJQ5pK8RAzhmKLcPFShsXmOWQqPbUJQEn0wPHTIdjTqjPx X-Received: by 2002:a17:902:da84:: with SMTP id j4mr13451907plx.108.1644833640252; Mon, 14 Feb 2022 02:14:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644833640; cv=none; d=google.com; s=arc-20160816; b=Wv4vJf48Cx5SoMUT0ELhH/GsKniXRcesqYM0PXYhKjlpRCzaQ4wMgYlny5gtVHwrCT zjaJHKvRcg8YjZC5b+2ksNP/jixAL1eVb83HnYjwO1MtFKo99KdQvQUsIJWoMLmfoFm6 d1FpEfTero6DUTFOU7h9U7UTeQFr/kUMi+RkLuaVO/JAOd0utr9r0HU4OIUWiTCp3kl0 6PJmpf0xfT/4LYrS/jdWMc9uVhvkVXgnL8om+ukW1lzazmPK6Bz1pczQSCfLc3OTiWQT aZ1yw22Ayomuw9h+oQKs6zd7jNWw9CpspxrvLiD1bYEl1m+QfnZaEZbioryYUd/DQzyf gaKw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Hnc+Qdesfn7FUkkcgRMr4KZpAlSMn5aE+vkE9mocejA=; b=rdnsbpKkZVlUXoqX95icthIRbFao6vEQOfYlAGRSkTtzBqXQ5yrL1q0FK3hR8Ltm7i zi/SxqczRHTqWAull0PPFOEqCcfntUwdhvpxlgYoCI7OFzT8LfJPuL+kGcYBRJ4wlE/q fPHDesRhkHtZx5rEifNnNLziifBtsxjv3wGcjajjTUQO76gEcFXWeag+JGmLiR5qgzX7 SFjhfV7J9CaYc5BXhVnaY8PUzXPZs+WpURewc5ndIZiJh5/jUZfGmcdK6Ye8r9jG9GK+ OqAZ0nu1rN06Z2J3cNGqAxrh4fsDkUMUdJ7TEbDHuK790a9BoFl/P55c0GCnJwudOxhj Bwlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@o2.pl header.s=1024a header.b="Z8Q/Kt/Y"; 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=o2.pl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k189si4129153pgd.200.2022.02.14.02.13.45; Mon, 14 Feb 2022 02:14:00 -0800 (PST) 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 (test mode) header.i=@o2.pl header.s=1024a header.b="Z8Q/Kt/Y"; 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=o2.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235113AbiBLM53 (ORCPT + 99 others); Sat, 12 Feb 2022 07:57:29 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbiBLM50 (ORCPT ); Sat, 12 Feb 2022 07:57:26 -0500 Received: from mx-out.tlen.pl (mx-out.tlen.pl [193.222.135.148]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BBBE26543 for ; Sat, 12 Feb 2022 04:57:22 -0800 (PST) Received: (wp-smtpd smtp.tlen.pl 29251 invoked from network); 12 Feb 2022 13:57:20 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1644670640; bh=Hnc+Qdesfn7FUkkcgRMr4KZpAlSMn5aE+vkE9mocejA=; h=From:To:Cc:Subject; b=Z8Q/Kt/YF4VuS14b/kC1g44cW8Ofdo8diPajVufzEgLdKTbE6/mipKHP39j8AbL2P g8hWmTMFTmK+fIGYELdEi88Pyol/dWX12IrHXSMG5zly+BjkP3f7VTrh+MQRu33a6q chfq05jKQCTi+1nGmI2Lhfwss+DBRS4wwPCLNK4Q= Received: from aaem217.neoplus.adsl.tpnet.pl (HELO localhost.localdomain) (mat.jonczyk@o2.pl@[83.4.116.217]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with SMTP for ; 12 Feb 2022 13:57:20 +0100 From: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= To: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, platform-driver-x86@vger.kernel.org, x86@kernel.org Cc: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Jean Delvare , Guenter Roeck , Mark Gross , Hans de Goede , Randy Dunlap Subject: [PATCH 2/2] dell-smm-hwmon: rewrite CONFIG_I8K description Date: Sat, 12 Feb 2022 13:56:54 +0100 Message-Id: <20220212125654.357408-2-mat.jonczyk@o2.pl> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220212125654.357408-1-mat.jonczyk@o2.pl> References: <20220212125654.357408-1-mat.jonczyk@o2.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-WP-MailID: df653e025b1fcc69e7e35d166c0b1581 X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [AXM0] X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.25.1