From mboxrd@z Thu Jan 1 00:00:00 1970 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 BD16FC61DA4 for ; Mon, 30 Jan 2023 15:12:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237993AbjA3PMT (ORCPT ); Mon, 30 Jan 2023 10:12:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238003AbjA3PMO (ORCPT ); Mon, 30 Jan 2023 10:12:14 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B643038B62 for ; Mon, 30 Jan 2023 07:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675091486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JIrJgo/c+ZFtDvr4payH+0TXcSm3O3nwdwQfk2QniEA=; b=OUyzqoa8VynbNyS++XZE7RkDac14Z+Z2uBeL81k0W8O9zlTBJg9ZPxzvMIXeHHZJenJ5uE QpW2403HnYJ59U0N/Jc1HTEtNJlsJcrcNJJ4/8OxIe9eP9Di83vJgBNUA1mUwLdlTr+nZ8 TPLhfRjzClXUAuNjczycg4mdpjiTFGQ= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-582-ewxn-BwCMMW5Vxoc1CIuRg-1; Mon, 30 Jan 2023 10:11:24 -0500 X-MC-Unique: ewxn-BwCMMW5Vxoc1CIuRg-1 Received: by mail-ed1-f71.google.com with SMTP id v8-20020a056402348800b0049e1913bd43so8510241edc.20 for ; Mon, 30 Jan 2023 07:11:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JIrJgo/c+ZFtDvr4payH+0TXcSm3O3nwdwQfk2QniEA=; b=ZmF1ih8Dlu2cFmCzHGkPk9GoL+klbCuQ0gOFCV2LeHxfBFRU0Lmb9Lgu6kMhQa297t hx8XJljv40hJaU8cgHCXJrNnvLYGez6GAmuA+dqHop+4sB1LoZJXeu3IJaTUfWQrwrHH iYeFO7aHh2pmcQ8F8OLbY3O06cu+/TC0RRexHYrH1kBj0gWqR8UPLJQGbkguoCApZgVe 2zaC4gUbDQaPeBUgjql4hc7NeSABwr+fIgpvj7ZjFr5IAm6XLGIlfm8tD8QhYO56jaJB 9koUF/bv3mxNv7grjIKUBG3mqs3qMCHhM6fRkTgSJQV/6hpxF09mrHkElZLajxspkPqk o3fA== X-Gm-Message-State: AO0yUKV4FfQ+lxRmKjfI3LvM9RolII+M9tgjdQFOcnpOzOsk02uhrc82 XgZBZllu1LB1Mx2aOdLHeSSrFIuLCW38MewfFQKN8rWDa1bI0Ky90aCmyrdfT/BaiIE60dSNM+D ZisAhdM3IkdwNXhFPIAVidbY= X-Received: by 2002:a17:906:dc3:b0:87f:d17:66db with SMTP id p3-20020a1709060dc300b0087f0d1766dbmr10309772eji.52.1675091483456; Mon, 30 Jan 2023 07:11:23 -0800 (PST) X-Google-Smtp-Source: AK7set+57HYbmhDApH0Uah5nfXgOEm07VqcuWTqyKF67t+Z6K88j0EiMZ1np6hd2PV6s0wfSY5kVXA== X-Received: by 2002:a17:906:dc3:b0:87f:d17:66db with SMTP id p3-20020a1709060dc300b0087f0d1766dbmr10309755eji.52.1675091483283; Mon, 30 Jan 2023 07:11:23 -0800 (PST) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id hz17-20020a1709072cf100b0087879f8c65asm6612723ejc.89.2023.01.30.07.11.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Jan 2023 07:11:22 -0800 (PST) Message-ID: Date: Mon, 30 Jan 2023 16:11:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH 4/5] platform/x86: dell-ddv: Add "force" module param Content-Language: en-US From: Hans de Goede To: Armin Wolf , markgross@kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, platform-driver-x86@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230126194021.381092-1-W_Armin@gmx.de> <20230126194021.381092-5-W_Armin@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Hi again... On 1/30/23 16:09, Hans de Goede wrote: > Hi again, > > On 1/26/23 20:40, Armin Wolf wrote: >> Until now, the dell-wmi-ddv driver needs to be manually >> patched and compiled to test compatibility with unknown >> DDV WMI interface versions. >> Add a module param to allow users to force loading even >> when a unknown interface version was detected. Since this >> might cause various unwanted side effects, the module param >> is marked as unsafe. >> Also update kernel-parameters.txt. >> >> Signed-off-by: Armin Wolf >> --- >> Documentation/admin-guide/kernel-parameters.txt | 3 +++ >> drivers/platform/x86/dell/dell-wmi-ddv.c | 13 +++++++++++-- >> 2 files changed, 14 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt >> index 6cfa6e3996cf..9bbff5113427 100644 >> --- a/Documentation/admin-guide/kernel-parameters.txt >> +++ b/Documentation/admin-guide/kernel-parameters.txt >> @@ -1024,6 +1024,9 @@ >> dell_smm_hwmon.fan_max= >> [HW] Maximum configurable fan speed. >> >> + dell_wmi_ddv.force= >> + [HW] Do not check for supported WMI interface versions. >> + >> dfltcc= [HW,S390] >> Format: { on | off | def_only | inf_only | always } >> on: s390 zlib hardware support for compression on > > In my previous email I forgot to add that I have dropped this bit. I appreciate > the effort to document this parameter, but if we add documentation for all > existing parameters to Documentation/admin-guide/kernel-parameters.txt then > the file will become quite unyielding / unusable. > > So in general we only add new parameters which we expect to be important for > a large group of users or necessary to debug serious problems like machines > not booting. > > I realize that a bunch of parameters in there do not match this, like > e.g. dell_smm_hwmon.fan_max, these are just from older times when > there were just less parameters, so listing them all was still ok. > > So I have merged this patch, but with the Documentation/admin-guide/kernel-parameters.txt > bit dropped. I forgot to add: and these days it is really easy to find all the supported parameters for a module by just doing "modinfo Regards, Hans