From patchwork Tue Dec 28 16:19:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Wolf X-Patchwork-Id: 12700495 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 2FE4EC4332F for ; Tue, 28 Dec 2021 16:20:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235880AbhL1QUF (ORCPT ); Tue, 28 Dec 2021 11:20:05 -0500 Received: from mout.gmx.net ([212.227.15.18]:52269 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235803AbhL1QUE (ORCPT ); Tue, 28 Dec 2021 11:20:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640708383; bh=c91afZdekR7n/9J8hO61bQWbB88jCJyRcF24lRYg36g=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=iiO1LPfRd8dbVY0cmeVzqtjwzDSYJ7K9haOVhrhDnRzVGpzRNemw3LhEB/W+GLIAq ONeGsiWn8ZvG9UolAMk2Dnpf+PUORQ95QgC79tGvb30dWGtuaWIVK/11qEchMstZvM rN5BlgjVoKdyyXEVNzdRaGxhTHNZxkmr9dDMe2X0= 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 1MBlxW-1n9uB12ldE-00CCPG; Tue, 28 Dec 2021 17:19:43 +0100 From: Armin Wolf To: pali@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net, linux-doc@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] Documentation: admin-guide: Update i8k driver name Date: Tue, 28 Dec 2021 17:19:22 +0100 Message-Id: <20211228161924.26167-2-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211228161924.26167-1-W_Armin@gmx.de> References: <20211228161924.26167-1-W_Armin@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:oEf9xYTbx4frIdpcTOmIK+qJrksnu87+jVjkkC1Y5L8Tke8L/s7 Z49VWSRfh8kU/+bb/m0KaeiDKbyxHX/rAgTkF8BpsgS8U/ijKaCgLmr9GYJrtYrm+PI9tdh dmh16wgSC3sfe4UzdGSXrs0urorAp89pNZKcoY9H9+bJQMWO7GovDpSMCBRMDvvx7RojCZ2 xZZh+fDt//rJkdfokM1AA== X-UI-Out-Filterresults: notjunk:1;V03:K0:hXoFNjrkM3w=:vhU0OXcAe3XNLJiQ5Liudq oR+O11TVNLoWdhNQa3ij9nbxAPOLyCKsz6n5jU9Wr5UKhld8lxvwSw8rTmogxS+EyiOKlQeBF nlhjcPg7+Ox0FOMsmTDY8DQG7PWJEmqwETt2S7k9J74esZXFWSSOIx7XX5a/v0EYLTaOCGZ0E IztSDIrTX6mzc5j4A+SmfPnYune/a2DS6D/RWo4b2s2S0N2+mYgm3xWoqQbrs2f12GS+LeStn uf2umBrgjTSl8RLV/+AIAHc5OIb0Z5qY+ificmgPuXNEeboDxZf8xRancmofsPshB+Fx06Det ZXqon4kWZ9vbRc8F1+IdhVYZ3iSkD8CbS25aAv4v/QoOQ+b1P458d2tBUT2AzOzr4Ctv2sUhg YNDM6lZh4walzZrcrIVK45kYzeTW6m4Vfyk/eZFx1fHdYJQ3DnoB3gVW8jYkr7pMBc9du2Ltc 8DjM7e3dKDqksvChj0A0bDRaYrBVWdqetHLyp9vBUonr7UVabtGbXeBKzFjpm2B2z5+h5eSMr HrBXLa6EKpwmAtY77i3dvLPYhUz/+Ixe34md8MJ718svJLi9Gr148Vg6M/9p+qj7vSwauZ0OE fUMxyR+O3yxt1nWN8NJ4HnkDBZhRoNq557aZTZ/dnpeO5UXOLORhu2VQgfigKycSsFFxNwE82 UyFYAL7GpiJhoC62tqC1fp4Azlf1b8FUfzS3MxT0rB5kQ9yM4Quny39jjtcQRntZUEtdwHNdX ZD4RsIhn/tt0l/10UQDz0nrdyzUnuXT5fKjBv1TOH1SLZt39RwiBQxAZhspCEKF95INm0ByF9 ZnUvtXUv23DVPi0QmtneLoolVWXiqQTUQOaTU/v4s51zpjitOQD7yvrv5WW+gFJWLc99WzeQY 4c1EcsU2mR82ZE44/6AWY6lz2l6Dd8gf7mlRmPMK+EKb9bqLwMNVxxuBXe6Wh109bB+LRoxBA BCvb6Gp7pAwCvd4K4J7aZHYNkaZmSRMsOVfsYgwdQTd56nUCmm2EmnpJ+M+X0JICf0WxjIIYg x15+uoRqs+smNwi8u9PGB+/XD0GJVX8mDPZww2DR5jHVrvXNurrBF3AGClJU8S/7gSA/xaJU/ s6goLcNabaGZD0= 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 --- .../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..cb1331f85444 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 Tue Dec 28 16:19:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Wolf X-Patchwork-Id: 12700496 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 CA6D9C433FE for ; Tue, 28 Dec 2021 16:20:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235925AbhL1QUJ (ORCPT ); Tue, 28 Dec 2021 11:20:09 -0500 Received: from mout.gmx.net ([212.227.15.19]:58803 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235932AbhL1QUI (ORCPT ); Tue, 28 Dec 2021 11:20:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640708387; bh=qPVHr1Cdm7utmJPJfaeNrE6YdKsoKYUI7BwWZ99ZbhQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=GQFjHZNlFRWDIW9abTceTfUuj/TMntFz0HCuvGqEE/9fA1e6OxpagO8/rgxeP2B/3 Gt9zF0CDxkoGD4LBohmWvuzGYjTvny1bDvf56XOkAzLyLqqprpxZYFxQh6t5+SVsQJ h76EsP8qLLTIFquFlD5oL6T+w7dbq0O7L+cVdR4E= 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 1Mnpns-1mdZl33Dq6-00pMWC; Tue, 28 Dec 2021 17:19:47 +0100 From: Armin Wolf To: pali@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net, linux-doc@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] Documentation: admin-guide: Add Documentation for undocumented dell_smm_hwmon parameters Date: Tue, 28 Dec 2021 17:19:23 +0100 Message-Id: <20211228161924.26167-3-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211228161924.26167-1-W_Armin@gmx.de> References: <20211228161924.26167-1-W_Armin@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:baCPfdgRXByR9IIV9jZkWY838Z+n87kxe2w0CFF7mEGyZDKCNDW qjez2O64zrziipTf1hQ0Suj1Z4U3f9wScWqQqPh/o1w2Ba/SnhB70/3lWVBX/dHr31006We czcLTJerAHnYVQtsymk6R0g4Je1j8XAUxZdmKrIInOeMMvUpWLKZHDumuLtaj0ZUIUxGaAs aJNLLx1vnZyD/TC6JBYDw== X-UI-Out-Filterresults: notjunk:1;V03:K0:HK9BmJl4qlE=:7MUjprLNZPVYdgZdS1/xL/ CkDaH0Zl/VvheMRH41pASuz6d+ZiH6xEZ5xfTOMrWIrMEAbZzx6fop98AIRkwXmR88m5OyjUA kl5xbHPO5HntnNg0KeaFw/iJ0zBN3ieOakotioAdDa3sn4GUNqjs3KASn6tiwE98cO4SVVq8l 9mOZiWkVACXATj/4WtNn64NhodT9GZ5Kf34kCC7doryJtZvyXyNzCIzwXNG8RbTGTjLzkc8Fs yck3INyrK9yanh1laSAAlc+zbZhx8YSquG4X0AloFb7S3tyrjkqu5PnBm1f0F3YJL0q++u3uy k+vUemHvn7PozNYvt3GDu7kQwfBiT3M3zXcMWeCZlu0CRQDhbcdFSnfWFYaznmqZnBGFGmtaM GQ12pZw3B8wf0NsLp9msaGBQDK8QxLQ9aDVs1mflT49fUo6GnndkbVczTdAfBLw7SlJ/QBX4b TujxEEZ0dvGdisKxikAahPq4jhGVnwQLpSE83RH+y9WcZHNbvCZnXnUd3xcybI8aN92SHpl5S xD/CdCrYwEi3uISoY4Hc6jxPU29d6t5QCLkJ/lVOLHwO/BLdoPWKeyHMs5PoXF/Wf8sxegm8B aoJ2/CA+tkyNUI/MYeJJzq1l2vP2oXoE3T8RI1Q89joDOzYP7SQDaCx4hZbigJ6dZBLM/zivH 8wWjfJu2vrzXgk5aJgl72tfYi3lIbBT/73fAFXHTKJ/dKKtwXmnltfny8o8mgniO8Qaea3tvn HOH2t0BEbAdGzz0h0Pr3h/0R8OKfie3o2DWDZpa8h/1cWQZk9zHdz0WP4u3mbWKfr2i+Pf7mt XD9MiQ3NnXZ5UG8UatscOpJFNF3jzuNHP4Sn2QaBhcVI7j9BKt0GB1ITHIDNvDrxP6WDZH05d /Z+6t5dQFPvguzyo7ECkHtgookFW5NMKAJeUR03rFR6Y1J4i/ka889qYCwV2KNqq33+lNTWVR R72O175/k8yj6+h85m26kdPo0icAwN1CGH862fE/nQujGXA8fYSFCnKcZQiiFjy3I4gxA42yY SVqvEOmmHQL7FVZdw6DjuEeiiBajLRhU6sA99c9NTXsY8fX/qkI2qvLP+9AluoERa81orRc9F JJjQlnGJm9fTXk= 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 cb1331f85444..8dd07ca80934 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 Tue Dec 28 16:19:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Armin Wolf X-Patchwork-Id: 12700497 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 482FDC433FE for ; Tue, 28 Dec 2021 16:20:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236027AbhL1QUN (ORCPT ); Tue, 28 Dec 2021 11:20:13 -0500 Received: from mout.gmx.net ([212.227.15.15]:41431 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235803AbhL1QUJ (ORCPT ); Tue, 28 Dec 2021 11:20:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640708389; bh=kPS5EfnGgwXkGrSWtnVSZACxfMp0WTeu7Ps3qWfybCs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=KjO8J3gyn85/IPnMHQHgBXcgzeIH7+dhbTvo9UQ/PcMhDrNv6azFlgnXTBJ5prYGE +Y2y+30bKRUx3FjXpi9aDuS64q9qAQ+qD9FwTb33V1d9kYI4sRQChXpWUaLupM73NI d2gHOtMVFer7j5qZPAY0U3aX/nF3mKmN6+hFCD70= 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 1M7Jza-1n5WSf0DC0-007oiM; Tue, 28 Dec 2021 17:19:49 +0100 From: Armin Wolf To: pali@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net, linux-doc@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] Documentation: ABI: Add ABI file for legacy /proc/i8k interface Date: Tue, 28 Dec 2021 17:19:24 +0100 Message-Id: <20211228161924.26167-4-W_Armin@gmx.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211228161924.26167-1-W_Armin@gmx.de> References: <20211228161924.26167-1-W_Armin@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:f9Z2/X5hS/8XTReAsPXTXFV03fzmOEo5uZS/2z9Br+JK5/WlNOP GAdysDz8LRXj1qpdbqIPzDeFgXydkK01U+xlLPjq7BSqqWSznTfocX7BJ4rsL3vpal09gnV Ph+pgxJb31TxeoB5e7IOSJMFONq0SfrcSFPDAf3dwgNvuoBAzaPn6P+NR/gCrwH7x0f+WPt taqgrjc78NGXD7JsbTHrA== X-UI-Out-Filterresults: notjunk:1;V03:K0:KUoe4dz13rE=:z+COSuDiB91j4aMNysrgms MMVWUoGnTNx8loWGd1YGMk1wGHrLPtvlsSe9i9IIqBBxa7RcpyJlIr11rUIjq3jevfBiKcEpf JJJ/W4yul7LbD2Xw4pbdffTq52tz35CYAHaJJoxuNaeCu7T9Oe4YAoTYNsMZC0cX+vo+CFoUV qG99lCDjP/QGDHDwEsbahJQr89WJtHiZPtPSeQKIfbQZPabMogsnWlxRKxFppVW7XppyCjcJc MB+W9XuNv46INsdB5eJ6kVU8j7SLl/vVzbJPM8m2Ga00M26n9hoswPDInqleQhgIsDK1+g2Xp fcNFoEklPddaJ/5EMzFZ0Ef8+weXpO2DkgPkYho9RFp3ao/o9ndH1W2U6zFsMsZLi67f4L5BX W2omHzKi0bMFoRIELcKmvVEXOJq7oWPs6v4AbjmrZ1ThxyJHONOpYcRikuIdDYwukrVunypxt 7wsTUpwQ0G+AHU+vNV8zJz2JpVsRQsd7GANqZVPC93Iw9MsE0H06K0PrIZZXKJxVdoxIjZSIS 9ubFGFywP7ZhQI9YxWpQsmQR77lio5YLX3ixXzWjBR13hJ7HVcCpKGiD2rLv1FiYdr+wn9NTz c4ZfHk6jeA1GKmRp5fpa0oKUE4rmKKiCYXYv+1N8dZn4G/ke5fONebyu8VJq99YaDnqABZTnC ne7u+34/yNSYTje7DSz5W+l40cPeKb0Uxa1Eg00Fse66vUPrDgYO0k5GhknpSpUxWaNUY19o9 zri98bn1lrKyQ5uiJ0xX2CKz6YE0n06kJGQH8FlbpYymUgOw8fM0cuaDMaaV0KBW6YgP8mE8z v9s7EpVk1Txe/Epom0CiYsyOWsq3UOmv5d4QYnw8MJ0PGoVGLecXgJ5MAA+15j9ZMOaF2CSfB HbFuHcyM01TcLecxz2OJQBoHiKH87FXw+rPAzXJdsjObuMnX9vC4jdrPWWhBvErWK1B5OxPQq D/FRYAbX2ldUqG8nE605uuFj8C4slB8oCzdridq2RbNkKMyaXShCQe7qXGA1kQHw8fem01F4/ xryLVYdn+bG5OWyP6J1ayGe/+Y5zoUT5gHIk6h3+gwRBLq3L+PswrXUWTSJ6JqnwApukrW5Rm 1AQbiIFuSE+/IA= 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