From patchwork Sun Jan 9 21:42:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Wolf X-Patchwork-Id: 12707973 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90E14C4332F for ; Sun, 9 Jan 2022 21:43:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237172AbiAIVn2 (ORCPT ); Sun, 9 Jan 2022 16:43:28 -0500 Received: from mout.gmx.net ([212.227.15.19]:53371 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237166AbiAIVn1 (ORCPT ); Sun, 9 Jan 2022 16:43:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641764576; bh=ya9Bsaklh3s8y+uei3uvaHAV5bFUoBRNM50qZnB/OTI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Mz830yC5K5Z5HU2V7AxizqnF2jXjojFiauwJep5ABpJRnRDEyscbUoaAWoaCJrqHO MSolwbERN8iA5B24GrlUZFfwoGZ4f2/QCLhEY7egkcec02dcgewPLHQIbfGBqiAmcJ 7siuvJ8BQdd/Y7//RqirEYvly/dR2V/NS+qeg+cc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from esprimo-mx.fritz.box ([91.137.126.34]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N9dsV-1mLBZt2W6H-015bgf; Sun, 09 Jan 2022 22:42:56 +0100 From: Armin Wolf To: pali@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net, rdunlap@infradead.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/3] Documentation: admin-guide: Update i8k driver name Date: Sun, 9 Jan 2022 22:42:46 +0100 Message-Id: <20220109214248.61759-2-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220109214248.61759-1-W_Armin@gmx.de> References: <20220109214248.61759-1-W_Armin@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:HkGcuEhonPWgkx/Bdh5ku/XiW0odT7eYwVlzJd1IFE2UutpCtsh 9+fimn+CJrRIcYgH3yuOsgzXKU7mDc1Oz+xPS3LPVYsWi4if7n2QCsybxonjMByMATOMZMY 9Rkct3scclOEw0tcumSZhbAzNT6sJV5S8/TpHpYdgjtDbaitPcJdBWRwecCfVaAur0mrvxn 04l29arh5dzonS+mUSKow== X-UI-Out-Filterresults: notjunk:1;V03:K0:E8ADvt6FE70=:qvgPE3EtQyZwhdWlZNf62g 9mTgNdSxtF135Nw7zlb9jVWCBTSOfdw1epgUceyXeqa9UkCvAsOiikpDFpqmR0rkOFtHDkSfH 9kBX74SIfaxGQAgVHjTggdcG2l/CZLHobQPY0vEgbY04ACcbkXiiPjkdGSs12lnq7kwQVt5eK k21bJ51tyW+0IzaEibsSd3c4y0sDdrPvqqVtvATTqoKfY7i8GiuhWzYttQ2KGlv+FW+yIAjG/ 3xFdyTPw5H45icHdRFidBeAcufKS0b9XtdI/GhEGL9vd5fUp3K+7ssB5h+DZfbF7elDd3GRcd GeUKk1+EbFp3lZOVkr8ri7SYJNd4ZVHAuXsE6Ofaa6/9UIq9gJdBqM+VAS3Qd8/0oXRSXoqgz GkD1AuUj7Ge4PqWlxiOtCdPmMFXIsHWZS8JYdUpew/R7Vor9YWzm+REs7e02QC+2zSAuOk9zR WBRAzQUcaa7XARQxGnyKFtiVUh0CtgmtXhQn6iGgXiSsVSW/SHserHRTMrQee7ssa4XOOJwAX xeJNYqDVsTLcXtL5Mem3j+6CfWaS8es7SaQhjIaRP+rCak8p3+FDoir0/UCVbeKtX/dysUDjC JuJ59PMZ9DdwsrSNY3IC059mpS/uGklZP6O88pHtVCYsB+Pi/itkoJjPXZCVASsf3xQdV412F sg9fw7MpOZinUMiKDaNhGFQs69tfot+2DdM6DYaFgUsXgvflO8CRRlqkBnePI8svJ14Jlehe8 J8nQTL75xgs/ukyiWFvYSZiYdE3231AG8LUViaZpZpsKJIgjWsRvs5x4Cow++8x56EPCeGkkO QcMrypoUhAskwtQNHW0IOz/N80S3vQl8m+njmBg30v38G2V9Co11gCc3/vAsmalhR9i6wdAKa RJxJhHzIBoXilDAJ6izcUYCXrygriwGoiBzJITv5CRswGWhKXhiZpwsCiBIT93J0IogPaQC0o /Pc65cCq3qJ7AgrqUUk4WCDu00vntjL8p+knmxaftrFUljSdzYUjSMniFwYSJmwGTCk3JWRv4 b/ULhlibAuBwbk3QQcb0++3ByAVcsui1JPfWkiZX7W4xJwo31jz0O5KJWCzMI4DxQI/6oW9ot 6MQTOkQ5DWhyNo= Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org The driver should be called dell_smm_hwmon, i8k is only an alias now. Signed-off-by: Armin Wolf Acked-by: Randy Dunlap --- .../admin-guide/kernel-parameters.txt | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) -- 2.30.2 diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 2fba82431efb..52de7cd06858 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -935,6 +935,24 @@ dump out devices still on the deferred probe list after retrying. + dell_smm_hwmon.ignore_dmi= + [HW] Continue probing hardware even if DMI data + indicates that the driver is running on unsupported + hardware. + + dell_smm_hwmon.force= + [HW] Activate driver even if SMM BIOS signature does + not match list of supported models and enable otherwise + blacklisted features. + + dell_smm_hwmon.power_status= + [HW] Report power status in /proc/i8k + (disabled by default). + + dell_smm_hwmon.restricted= + [HW] Allow controlling fans only if SYS_ADMIN + capability is set. + dfltcc= [HW,S390] Format: { on | off | def_only | inf_only | always } on: s390 zlib hardware support for compression on @@ -1694,17 +1712,6 @@ i810= [HW,DRM] - i8k.ignore_dmi [HW] Continue probing hardware even if DMI data - indicates that the driver is running on unsupported - hardware. - i8k.force [HW] Activate i8k driver even if SMM BIOS signature - does not match list of supported models. - i8k.power_status - [HW] Report power status in /proc/i8k - (disabled by default) - i8k.restricted [HW] Allow controlling fans only if SYS_ADMIN - capability is set. - i915.invert_brightness= [DRM] Invert the sense of the variable that is used to set the brightness of the panel backlight. Normally a From patchwork Sun Jan 9 21:42:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Wolf X-Patchwork-Id: 12707971 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF5E6C433EF for ; Sun, 9 Jan 2022 21:43:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237151AbiAIVnZ (ORCPT ); Sun, 9 Jan 2022 16:43:25 -0500 Received: from mout.gmx.net ([212.227.15.15]:33045 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232433AbiAIVnY (ORCPT ); Sun, 9 Jan 2022 16:43:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641764578; bh=dt9wXy3a+jM1zFlz+Y/QypeIPptP01fG1Tfyyobg9Co=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=U9sYRWBuSXkk7E9wBWO23V/EMLrVXFu9vuna5YirWBRk0RW+IS2qH5AzdDpdLiP5K 8U1Mm9RXBwmuW3VcBJMs+V7TMhjaRj5DFco79QGT6yFn6b20betuGy7i0LmsmkB+7R CEusBxkSgiaHeo2s/fijgLds21eLmq9phj+HcNAE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from esprimo-mx.fritz.box ([91.137.126.34]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MNt0M-1miOr345pA-00OKSy; Sun, 09 Jan 2022 22:42:58 +0100 From: Armin Wolf To: pali@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net, rdunlap@infradead.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] Documentation: admin-guide: Add Documentation for undocumented dell_smm_hwmon parameters Date: Sun, 9 Jan 2022 22:42:47 +0100 Message-Id: <20220109214248.61759-3-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220109214248.61759-1-W_Armin@gmx.de> References: <20220109214248.61759-1-W_Armin@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:V5RKSJu05REciv9/JJj9A61gzsSso2AK9Ssd0Be2fWxY/EwcmFu LfcPyYpwXl8pgKpOslwJbLBRzc4ckdC0XYe5X7ZQwkm/UXY0wB42xTCYFFjsGn3ZpWJkwLy X+GEAP7n8UYdko0B72Tdfl+gXeRWxqmkmT34bNd1lgHInsk/G94vnGnSXXfpBKspkU4EFs/ 96MHQmwfrZ6Q9zE8bU32A== X-UI-Out-Filterresults: notjunk:1;V03:K0:RQHfK5d0WNY=:A9NH+pfufKGnTyaEet5a6F G8o3tBco58mvH68Sgi7c2Qq6wlW620CRlKeHxjcUBLsH/469n97IjRgimUQWebEqr86xm/Ayl MwwQ5UNFs+ngeREVOZCxGXE8Pg5hQWNBvgphM5FgQxP9ToMEh0M69JODpKqmWCgLx01seqAq/ 4Hg6d0RhnGsyTUgs95ESz53dRtNl8HVRlN7ISiWQx6abEfhmIrwpRYNVG9ky2K6YimDBIeKfF LbzVr9JJCG6q91uxLUplUJznPlENgwl8WMUEsZGX5QXvhLdcQaUKw20on/5oG99+uw8D60dLE PlusJFSN5pvx0bWGUfIQ4Z2mOEPPtLTcl+PCqorKH/GV3cXimjlon8G2QCMulI5GUIeqA/4+P BS1OMIazGZkgntAsikQ2UJA8LfTWCiTAqSMP1OtavrYF2Mcbf98w74bZ17PB8fvCysVkmXUSd xtAcEpywZ7AmFNgtN2wu0sT37dtLrevSjoDZVjrOkjnRu8Eo91jDfQsd4vvDaQPVHQE7y89zz qd3qiYwyvHfFn26g3s/0tCy1/emE2Rc4NUd1uoweU9atOvlOb9Lar1x3G2g5UsfcjfxK973ce 9WSUCaIS2TOY6Xl4+jtXCBN/iIcA1HMt0wmPPdo8Cualyd7tZ3CDxT9RSQu+k9lZBWYInMCSn SprkpCWJLmjbYQ5T9ZTucXkAp8Q+prjhHgmVcNqdDmtw+WcH1/qKJXuRt9fjo+HYjLBJNDtln eGdd9GEq20/HlZIJJQEngvZEjjZYv0bdl0udbs8+T3bhRrjTbOqMGczbmndBooe79Y40N45GE ma8oOWRfNqNouNItUrbb23XMrvTIllColGdtp5QVr0BKiFtbm+qvgrRorCTqTGVWHqPmU5Nq2 tz15BsXa/NtEzO7bnLL2xIYVJPOAX2nOZytJLH5hOSorK0OxjTFRfrDQ1s77UIjYR9DNvAKQi yi5X2S5trfqBLVoaoucPpunYTDHhs7ThaNqO3j55atIQJjuxKCN35+/dZM72ojTEejdV26VfZ raAGm/B/ojn2SQlobHvYpFuUn2LqtbgKfBruc5QVvzRp5jbSALOvwDlSIdEqOd4YlG/jbC1Tm EM6eqW1QWVlQHU= Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Add documentation for fan_mult and fan_max. Signed-off-by: Armin Wolf --- Documentation/admin-guide/kernel-parameters.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.30.2 diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 52de7cd06858..5baf4df501e0 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -953,6 +953,12 @@ [HW] Allow controlling fans only if SYS_ADMIN capability is set. + dell_smm_hwmon.fan_mult= + [HW] Factor to multiply fan speed with. + + dell_smm_hwmon.fan_max= + [HW] Maximum configurable fan speed. + dfltcc= [HW,S390] Format: { on | off | def_only | inf_only | always } on: s390 zlib hardware support for compression on From patchwork Sun Jan 9 21:42:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Armin Wolf X-Patchwork-Id: 12707972 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B1E0C433FE for ; Sun, 9 Jan 2022 21:43:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237168AbiAIVn2 (ORCPT ); Sun, 9 Jan 2022 16:43:28 -0500 Received: from mout.gmx.net ([212.227.15.15]:33883 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237142AbiAIVnZ (ORCPT ); Sun, 9 Jan 2022 16:43:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641764580; bh=kPS5EfnGgwXkGrSWtnVSZACxfMp0WTeu7Ps3qWfybCs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=EargdCVjrW8hyz0hpJDLEpIyEyyrzJYx5Wt2VlQkWG2+ETVlsB5MURrXnTJR58/BE Uctqj4nBb4Oopw8pVAptW3KCinm3avYW1SJxtTvJNVrFhRXfSFvM6lRBYRPs6Op/nx b2+iO6Uodg017Qolnv4Ltqv3be5qDZQkHVgWcgtc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from esprimo-mx.fritz.box ([91.137.126.34]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mk0JW-1meG1k2AZM-00kQwh; Sun, 09 Jan 2022 22:43:00 +0100 From: Armin Wolf To: pali@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net, rdunlap@infradead.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/3] Documentation: ABI: Add ABI file for legacy /proc/i8k interface Date: Sun, 9 Jan 2022 22:42:48 +0100 Message-Id: <20220109214248.61759-4-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220109214248.61759-1-W_Armin@gmx.de> References: <20220109214248.61759-1-W_Armin@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:n+Gp0jcMptB/ibifqTC4swiyOJdkSR41SHtq4gEjSHmAcNhIidl OAtn9CKXGhfaBRpTAD7s6VVky/QEU8rgxiZGOgs4zw7h+yeaB3HsYkaDzhVofQakJ68nN0E qtTe/yvOR4iXk7D8kWE47xtVsZ+CnodaChGmee85gWUda4SzmizJxYtUozy3zQpWVjg14AW 3w3eaJFpgFyhfFY3fSeBw== X-UI-Out-Filterresults: notjunk:1;V03:K0:e0yMiVrNWQk=:hkKPhYwmbYC+3p3i7+msaT NR4RwYHXMncPXYKUEbqsQJobPwSrqZy8mWuq46TSrGX8fOspF8jyp/QRfTmz2nSGXOmMs7axR oiGNg23KJxIIS57Ch7H784K6CMsJyVtSCkGKh+b47Jpv9qT7nr1F1uceAJaUnYObwNw0AaDDp TgHY9/uIvMmsulGB0LwgDFugd0G0/9r9Rwr1tXUjHQlvwpMvXhLZHwXrFB4lEVqErloEO2Un/ YTxpzh5Ikk+RfCUhBjb6dsvzl1Zidck1qc3ErLvvgHiUwAaVAYVPjcGYYbXCNmTVRIPGPoRuo nCvB0cEkKE5uovf+ll0/WKU2jc9vRJw3Tfnat8K71Ch+Rsq9qsFR0hpSFPMRage2M37jKysxE aS6W0/NykJE0bccFyrYDHNdhHPbGaC2GCRcTVaJlPpihucje9cPNMeyGmgjs25Oy2i3CASCum Xac6TzDr7Tgyzm1JNXy24MX7AHXZbBm6ZmwazdlSlRBHuImncz+NfwDlf62rSE3cVJE/VhQ8Y DchhWe+ebWIFinOEmy/jRxdNSgdtI7y/l9v+E8/D56SmtKkZ4OnmdMkfUDLZikopJUskAqS5R GW7ZHi/+SOqJ5hTNBDVuIZmo8qtaMPGxn+GKdxHYpobqRj4zPuQkdG6/KjKG7EVJmplTLESe7 mn0Np34lE9VrL67FklIq3bODdV5jaBXTXLgbxZ2K6yGQh5ESedqiO7QUU9meiak0nORY2O0OS E8Q6icgB5ogIdUZsZ7UNFaXuKsAs3qYq+0sQM9AUnNZCokAdb9RvLkyrnuieQp+6pJtEKDW06 CrIBx//GtIiMNV9JHmHMUN0h/+Dcly3I5YZNXqhI1mTpkTstd7ZmojTgusqenAbr+rX+3LYuo fC28Bj1Cb9eKH9FYIfsSegT7mk0vpBgI58BaTgQT8AX07rUVL8/qY0NYypUglLbYv8LijJnnH PylwMBiiasFyFGKnlUVWMnzOQEKZAHgUI0h6i1c/cbnFbdVKnYocc3JU7LG+wy5Xjl1CmXb30 SaKI32Ec0Snd2vu31lQQ60NGtcSPk/+axrJ7DgrRtjDhZvwLF8Lkf/JsIXy9LDyI6yQSD9qkS lBDJHciJHfPrA8= Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Add ABI file for informing remaining users of the deprecation of the legacy /proc/i8k interface. Signed-off-by: Armin Wolf --- Documentation/ABI/obsolete/procfs-i8k | 10 ++++++++++ MAINTAINERS | 1 + 2 files changed, 11 insertions(+) create mode 100644 Documentation/ABI/obsolete/procfs-i8k -- 2.30.2 diff --git a/Documentation/ABI/obsolete/procfs-i8k b/Documentation/ABI/obsolete/procfs-i8k new file mode 100644 index 000000000000..32df4d5bdd15 --- /dev/null +++ b/Documentation/ABI/obsolete/procfs-i8k @@ -0,0 +1,10 @@ +What: /proc/i8k +Date: November 2001 +KernelVersion: 2.4.14 +Contact: Pali Rohár +Description: Legacy interface for getting/setting sensor information like + fan speed, temperature, serial number, hotkey status etc + on Dell Laptops. + Since the driver is now using the standard hwmon sysfs interface, + the procfs interface is deprecated. +Users: https://github.com/vitorafsr/i8kutils diff --git a/MAINTAINERS b/MAINTAINERS index e7e40563498f..468ee16ee778 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5365,6 +5365,7 @@ F: drivers/platform/x86/dell/dell-rbtn.* DELL LAPTOP SMM DRIVER M: Pali Rohár S: Maintained +F: Documentation/ABI/obsolete/procfs-i8k F: drivers/hwmon/dell-smm-hwmon.c F: include/uapi/linux/i8k.h