Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2928996rwb; Mon, 15 Aug 2022 14:14:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Xteb+I98WHQEnE5BkM6EJ+0lThwjAe2rLmZRzmsOxIV/LszBJ+YIX5wWcIwGDXvbMVODj X-Received: by 2002:a17:906:7953:b0:732:345:ef02 with SMTP id l19-20020a170906795300b007320345ef02mr11801319ejo.24.1660598080676; Mon, 15 Aug 2022 14:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660598080; cv=none; d=google.com; s=arc-20160816; b=n5C2rSWDmkjIRSCC3JDZHDOr5Prj3D2a+1BJpNl9rOecdxzYGIYy9H86Wz+6E9pMCt 8rdo3SC6+hB4ZXSaeWT0b58IZXuzOC8E8Y+GVMzgDbrrmupqAj1jkRnOIBjF8ysOeAeO VTTHCO2JJxAQ9DnV2nxsJlHBNoT7fSijO62MpHNvL4ua3vE588G6F1samqEyH5JsWfXt ap1VvmjupbJ59GnqG3Fs1PgFNUBplX5KT+bYotUMQaBHH2TvMBH9j61ZucnP+S0X2uPy o2fR2ftGTbICWuiAnEN5KmaQbetrjXGQ2UKakP+jxmm1qwluaRaqB2DD2wisk/a1twx8 i80Q== 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=AyTN4p/UwA8rZCNgzQA+NcfUZruOq6p0LAjqRoyi+aI=; b=Bb6zCsYPkiq6EUGdkzPpYWSvrjYQdw+4mfK7imM6IWHYkPObAhSf/fN+/hwDHcs8Ed bCh4ZfcSkF1otyw5JiXdI5qMYraKAwdDbl9/kOqRt11GR3nZw+Jc/PioE/cZmv5lC8i6 Cs1iU+bTz4K/x96cmn2iEs+U2iZGPlGYxLzkpEd3LYm09JSNpNFOoMQl3TS61ryKQQhK umRoLfXB9eeV2zhqgMS7Hk0S7rUl3nJDgDqYyUQNPO+koHVYHS1I5GY6W/AELaMTeUN8 nja5lMM/BEFpMzVuvdl5LfGY9l+P+YgVT0i3l8RQ8H7Eq0gCWfPbltKb75gOFlMRttHm GX5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="G/quCe+t"; 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 z6-20020a05640235c600b0043bb87a322csi9453505edc.52.2022.08.15.14.14.15; Mon, 15 Aug 2022 14:14:40 -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="G/quCe+t"; 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 S1347572AbiHOUbW (ORCPT + 99 others); Mon, 15 Aug 2022 16:31:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347172AbiHOUXg (ORCPT ); Mon, 15 Aug 2022 16:23:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 247A033A38; Mon, 15 Aug 2022 12:02:51 -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 65A3CB810A2; Mon, 15 Aug 2022 19:02:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80322C433C1; Mon, 15 Aug 2022 19:02:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590167; bh=EU74vkKkp1wsrARBHmW0R9rKUvYeRIF5kWIHuk3CaDk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G/quCe+ttvfyGFuQxzr+WP5Lp0XhwjBng6MEQsjUNKw8rfVTtdLap8Q5X40bjSgr+ yP8DY2NsjD9tDKPhxRR+pWmf8slvdVIAGc8tvI5tfUsfOkFl/xOqX/Byhy6EWw4bMU zwxSlX+T3+GHwQa0YObN3bn3pXd9QNBtIUXrInv8= 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.18 0174/1095] hwmon: (dell-smm) Add Dell XPS 13 7390 to fan control whitelist Date: Mon, 15 Aug 2022 19:52:53 +0200 Message-Id: <20220815180436.833058414@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 84cb1ede7bc0..a0df9a0abeb9 100644 --- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -1262,6 +1262,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