Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3021442rwb; Mon, 15 Aug 2022 16:18:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR6OZmFUay27gDHUGAifsP8DVVtnnbGRzx9cYZB60A086NCxSB4yXRQs37WcZPkMh2C4Nvfr X-Received: by 2002:a05:6402:27ca:b0:43e:ce64:ca07 with SMTP id c10-20020a05640227ca00b0043ece64ca07mr16985654ede.66.1660605525359; Mon, 15 Aug 2022 16:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605525; cv=none; d=google.com; s=arc-20160816; b=WDJBLuM3WTd+dqqFepAchWPMOoQFydbrtWff14g4X4y69M8jJVjRiZmgzSACltNe/K H9bn9v1ROQXXi6pqR4dFZyfBRFXDXpOml43yMDUDoUq67lCxyviWwxg1nzljB+yHlW97 UtPOhUVGEEbXj94VjvSuwJhTS9wcZaqhwcoNAb4zsnbV5nC7awmF/f8hdzP8I334fUYx xvMNODQXW2HTxYK9zAjdXD7CQENBk2KzntxCCFA8T91cc+5+WOb+oGWvJHSpy92co4Wc 2l+FgiHMtOYde0vNzTLKWdn2qY9PTsTLfYuuuStLfvhNHogceWM8lCmdBK8hrrkAairZ sfsg== 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=fUjnKBMFdPLE0I8fkRyyBhE7E2nzh1wkbQLxmwCvymQ=; b=FprVZ09XgSoqaS7L4Ds+0lR2r2zpR/Rs8LkIAjNhPuHzUHQ0NKolKs8caR5pADOrAc LzFtehXpNntxfHJOnrIE+X2nlzlOpZf3Ky85BE0DTIbrmfzKwrbnGMco+/kpz2Xpc6lS a5nn+jUPuhyawxQQ5hCbLlmT78uvWT0tOlytaZzvHo5rJAF5ynOgQKaItVTzohi6Tjzi +SImmPK/h8d0Wxg2g4Zp7fE0xRA1xEaIp0eVA238fAU4YGxBefoSGJMgTF7VyVN7zWGs B10ZLTDSWsBNyjFw5mc3yG+ucIRA0K67mEiXb+Izi4P6Rwrvb7KT5ehLy59RlK3HEdnR gHQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2haALHJw; 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 bv18-20020a170906b1d200b0072aef5bb6fesi7808148ejb.183.2022.08.15.16.18.19; Mon, 15 Aug 2022 16:18:45 -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=2haALHJw; 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 S1350316AbiHOWjK (ORCPT + 99 others); Mon, 15 Aug 2022 18:39:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348730AbiHOWcl (ORCPT ); Mon, 15 Aug 2022 18:32:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55EEC7170C; Mon, 15 Aug 2022 12:49:17 -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 dfw.source.kernel.org (Postfix) with ESMTPS id AECF160FD8; Mon, 15 Aug 2022 19:48:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D106C433C1; Mon, 15 Aug 2022 19:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660592927; bh=rWb1f1Z+DT94vEc9LqkW7nYkUu054H+aCua9enkzrAc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2haALHJw/512D73GNEjKs8+92UKIfbigBQBTtHnxhj71wR6/eiElhSkI1ZXYIFms6 5GzmHd7fjpsC+nruAZSupnR/Fu0d07GYTpukEqhTP9t7GBOCpdROe/tJ6ycwzQ7jw+ s8hA5QDlO+N7J4gd4nLAyCkDryuaEtMoH+yS54y4= 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.19 0188/1157] hwmon: (dell-smm) Add Dell XPS 13 7390 to fan control whitelist Date: Mon, 15 Aug 2022 19:52:24 +0200 Message-Id: <20220815180447.271361589@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 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.35.1