Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2811913rwb; Mon, 15 Aug 2022 11:50:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR5tIONAhLwpJGI3nSOBQI9VZ+l09SxJPPXMyijp882oSmiDk2fHWaN3sM210a6KBbWy76hD X-Received: by 2002:a17:907:9710:b0:731:67b1:dc3b with SMTP id jg16-20020a170907971000b0073167b1dc3bmr11375622ejc.709.1660589413451; Mon, 15 Aug 2022 11:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660589413; cv=none; d=google.com; s=arc-20160816; b=Ys+oQrOHDEgPa2nOhuSstoxZxNo+Pk2sKh/XVs6ekn3PP3bWHSr7xqDMu1NW2m+dLD 0/hGlHwO3mLo2U29KHvp3lBso2X7USVmrxGvCj0pvdlneqUGMxwdNyHBO/aIE8ITRlYZ PeQXF9LZNZFAwC9RACHZgSniriT8BZF0qnuA8hdUygW8UYgV2iFp7zDuVfkCe1HQg9nq wxP2aa0Zw+o+uEnWf+E9xcBa+IeEk2i0bjpiWJWvEFmsPqR/LgXyJ6xgyvGAjzfvKrbQ pOP9Yq6SfcCHtSJD4eQjOEPGnrVEkCMwpXwDrA1obYsgcx/3WFxSn3c4tifbgRtr/AN4 5Cig== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3T7ZA4wjMf8X4Oop8dPvbtcq7jliDHdZrEbJ1ki6XXE=; b=qlvnBF2Lhu/5Nr+Od8lphW/4VsImiIcSRFtNnExEGHKxJao+MronfkcJd51USvfos5 EPKk9mqnEvBf7UxiUnCznjs/ZjvPOVeernQRx05mAZaI5FXHczfNAAji+EIPG2TuBPVp 71ODo2S3w38m8xPqJjyJygqInuJKbQaArRGWZWf5jXkphhhbhPJJO6qVwRTqa04OSGi6 WYcX1mNfF+1i3LM2c1SmIq8i25pH9C1gPsqDiYdt4dfyIe+9hugyBg8ShsmnSLYDg4eu 03E3/ZnEdO2j8ZyxccW08h+durxn6nOzBERrV6w40W8sprlKURatT3NwRbIm70vwY+K4 up+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YXILqoJv; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg5-20020a1709072cc500b007386a8b4cfesi1519108ejc.827.2022.08.15.11.49.47; Mon, 15 Aug 2022 11:50:13 -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=@linuxfoundation.org header.s=korg header.b=YXILqoJv; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243332AbiHOSc7 (ORCPT + 99 others); Mon, 15 Aug 2022 14:32:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243293AbiHOScO (ORCPT ); Mon, 15 Aug 2022 14:32:14 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C26033424; Mon, 15 Aug 2022 11:21:28 -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 76385B8107E; Mon, 15 Aug 2022 18:20:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA934C433C1; Mon, 15 Aug 2022 18:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587633; bh=fJlX3h+MOj3Xfe/dl4vL1uJNZJFo+EAzH1jy8cqdO+U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YXILqoJvs43UJcfrInA9w0qPXgZugcbtaM4WF6aELFbEGVQ6bLBL5G2rB/abBFM4a 2oLJOSKBHg9IJ6qdSeKX2tSpzR2bEa06GJhlvFVIcpUTHJfBnnvHb5XT31GMVk2aih 1uPaIHwmaJHoG5Olsn+qqirrGTatX63NF6a/0Y7g= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Armin Wolf , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Guenter Roeck , Sasha Levin Subject: [PATCH 5.15 145/779] hwmon: (dell-smm) Add Dell XPS 13 7390 to fan control whitelist Date: Mon, 15 Aug 2022 19:56:29 +0200 Message-Id: <20220815180343.518187007@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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 From: Armin Wolf [ Upstream commit 385e5f57053ff293282fea84c1c27186d53f66e1 ] 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 Link: https://lore.kernel.org/r/20220612041806.11367-1-W_Armin@gmx.de Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- 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 9cb1c3588038..597cbb4391bd 100644 --- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -1198,6 +1198,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.35.1