Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp968847iol; Sun, 12 Jun 2022 02:23:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyMWldJqDj7tGU7Avq3/8P8tN3XW8DR59NyjtgCoEwCNJbFmQNDHXnKNwVuhhGvo4QDhgN X-Received: by 2002:a17:90b:3143:b0:1e8:64bc:f5e9 with SMTP id ip3-20020a17090b314300b001e864bcf5e9mr9353220pjb.228.1655025818902; Sun, 12 Jun 2022 02:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655025818; cv=none; d=google.com; s=arc-20160816; b=mEDrd8sptAri0A9AhP99Nmy8ViorBb8GsC9U6x/3i9u0j4oPx1T+0rvR4FuAQ78tvh aQaw3fel49JcxH0nA/izOoDp2eeMBArnF6EyHcbsiRS7ZAtkbuA/+bE7/OT7ZcVocEIo +cvQLctWrkG7aFOqa/NHUpoeIHJ2D87IhBgYuymgrs5e8xu1Busr5V/cyNBhY7ba6LG8 E+UksyAgvpbrku/QwGg9oSUri1hYkiKOtMiH3X2WfkT54EMB/4UTkXxlYgglYFxeeFd7 q3hggfqxeK7MLOZcbAOYOl1a8EFANQ5qcdcoC20uXqcQyvkYnQNTLBFNz/4jUgLFmGTH qpmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cBhKuiNPGH6f+7BaNzhnLBZckKo3zkWEoYJ/7rZxnpc=; b=D1k/TVb8pIOwI+YokzKAx5Bp6NpVDHob5Ynw1245FdGthcGYNdKQZW6C5nFmI+fits LXJss4mjI01/D0gTPQMjAspAO1huCK5Qlo73y8igllsqXFh0iTmVVNrRHufFt5jsYXwp iXXK5wvBMvHpACsbavG9juBB622NuUFeWlV6fels4ODYZHr3GccwaYQoX2XaVDH7QFGK PH7go0A99k5krvxxF6PxbYFLj4onmLKRWFmzctCYIx0vWEiPIU0LuQm2GH+JqFpFZu6W 1ub/wGW4qpWP4eIczOaVEYwSNz8kY6+8nPwoXURybfiJkixzQt8qDLjmUlCbV/bTaIUM rs6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="VyH73/00"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y37-20020a056a00182500b0050d332b93b2si6472802pfa.18.2022.06.12.02.23.02; Sun, 12 Jun 2022 02:23:38 -0700 (PDT) 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 header.i=@kernel.org header.s=k20201202 header.b="VyH73/00"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234863AbiFLI0X (ORCPT + 99 others); Sun, 12 Jun 2022 04:26:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbiFLI0V (ORCPT ); Sun, 12 Jun 2022 04:26:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAEB3193CD; Sun, 12 Jun 2022 01:26:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4F44FB80B9D; Sun, 12 Jun 2022 08:26:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC4A2C34115; Sun, 12 Jun 2022 08:26:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655022377; bh=14mzqdFI7iJLi1HTR4d5kl7ygjqohZQNeOJ6BSWdimw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VyH73/008+5LxB9Ogx25+1icpnsDGptkrbn2wN1IgxFeB18V8kkbnLsoNXfQ7t0N/ om3Njs14Jdispru2ljdbS8I0ZvbQ1mpHdyN4yJqFjVXPVRZruAYIvU/2QG8oLHqBRp G0lJ4Uv4sQqu1ZGUnhJKfhOyxWQSnSQGZRdh2ZxmLgRFAZG7HVkHaWo/NsWSBhdtdi kEdvwtzC0dZhe4b0eius39heRY5Y5AoAc0HvyHx1Dy76zdi9bm0RYIi3t0tzDaQs+I sNnoCJ1o+sCBqRQNktEWnWpXoOq5w4Jdun4IDlXzWZaZjj0aj91dtBKaDCFaHPMA8i +89xFu5KOQ9rQ== Received: by pali.im (Postfix) id 7355A93F; Sun, 12 Jun 2022 10:26:14 +0200 (CEST) Date: Sun, 12 Jun 2022 10:26:14 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Armin Wolf Cc: jdelvare@suse.com, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hwmon: (dell-smm) Add Dell XPS 13 7390 to fan control whitelist Message-ID: <20220612082614.ha47sydl5jj2k5rp@pali> References: <20220612041806.11367-1-W_Armin@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220612041806.11367-1-W_Armin@gmx.de> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Sunday 12 June 2022 06:18:06 Armin Wolf wrote: > A user reported that the program dell-bios-fan-control > worked on his Dell XPS 13 7390 to switch off automatic > fan control. > Since it uses the same mechanism as the dell_smm_hwmon > module, add this model to the fan control whitelist. > > Compile-tested only. > > Signed-off-by: Armin Wolf Acked-by: Pali Rohár > --- > drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c > index 071aa6f4e109..16c10ac84a91 100644 > --- a/drivers/hwmon/dell-smm-hwmon.c > +++ b/drivers/hwmon/dell-smm-hwmon.c > @@ -1365,6 +1365,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = { > }, > .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], > }, > + { > + .ident = "Dell XPS 13 7390", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), > + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 13 7390"), > + }, > + .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], > + }, > { } > }; > > -- > 2.30.2 >