Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp487357pxu; Thu, 3 Dec 2020 05:34:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJza6WwR7HIdng49gjukGavjnlS3prvLZvAB24KPoWBPP/1vz4YJ6e9DzP7uCi6sTjR536+s X-Received: by 2002:a17:906:3081:: with SMTP id 1mr2680143ejv.162.1607002453087; Thu, 03 Dec 2020 05:34:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607002453; cv=none; d=google.com; s=arc-20160816; b=ZwuTD/fvpz5p+rJyd1i1OMXd86XBy4fd0fIDQsnNhFZrZBLAg/YXP87MN1ppl2UTYa JJQ14ZPoFbINFELkKQmYnoSKZNoeZxT9mOvLzLgt8jRGkCtT5tsP5Nz5QMbkMGS8Clca kNT4EcpPfeJGenAdCOIZvgCRRxAYnYIOw81T5OqNg3lx3cwpaJp24WtylVI8XelmAEi9 jdpwH3zQVm9SBVn+YqZjuUhUm1VXA4bApzrW9SJDuazUruZ/z1dYyiQNxFB34jVpfbeo xz2WzRQa3Vv0yEXKBBk864snaDkjJ+QnWW2C31TgsClWjiCXZngzS8MdGG+GqXgx9+aX Wq/A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=OFRT+5jwbqnYFs5L353OIKSPpAYwI0hyYCoMe69M+/k=; b=XgVejVO4a2ROlbzULxfR+cW7xUCoELKn8qHtwivdVRRjWIRiIcnkbqTqFHvN+04/mk 3hXhn2+fvgC4t9n59AfY7Mlvhm25VrEVCD7Qo9ZYrHKrBM2+riM1YsFTZgqyR9TXLA2m EuY1tIVV7pZmG13i3P/kJdksmhByRcRPGgGMT8gXL1m1x4eoG2+FXXTCKs26oH//OB8y 586zO4d67ARhwPRzJ9Ony1inJBLhWCj+Yuol44Ne2tAImdxsdqdRYiBtOrATXaOXM27p NwCptfpa2oaP/eGm792xuKHiN7v8N4o5ORK3QzpmLKeEgCBQk5akLkamMDN3PGBqrm+A Lz4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si987626edq.317.2020.12.03.05.33.48; Thu, 03 Dec 2020 05:34:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2436826AbgLCNbB (ORCPT + 99 others); Thu, 3 Dec 2020 08:31:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:49134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436755AbgLCNau (ORCPT ); Thu, 3 Dec 2020 08:30:50 -0500 From: Sasha Levin Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Matthias Maier , Hans de Goede , Sasha Levin , ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org Subject: [PATCH AUTOSEL 5.9 33/39] platform/x86: thinkpad_acpi: Whitelist P15 firmware for dual fan control Date: Thu, 3 Dec 2020 08:28:27 -0500 Message-Id: <20201203132834.930999-33-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201203132834.930999-1-sashal@kernel.org> References: <20201203132834.930999-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Maier [ Upstream commit 80a8c3185f5047dc7438ed226b72385bf93b4071 ] This commit enables dual fan control for the following new Lenovo models: P15, P15v. Signed-off-by: Matthias Maier Link: https://lore.kernel.org/r/20201126000416.2459645-2-tamiko-ibm-acpi-devel@43-1.org Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/thinkpad_acpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index c7e9c0d29ed93..55a94a2dc562e 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -8777,6 +8777,7 @@ static const struct tpacpi_quirk fan_quirk_table[] __initconst = { TPACPI_Q_LNV3('N', '2', 'E', TPACPI_FAN_2CTL), /* P1 / X1 Extreme (1st gen) */ TPACPI_Q_LNV3('N', '2', 'O', TPACPI_FAN_2CTL), /* P1 / X1 Extreme (2nd gen) */ TPACPI_Q_LNV3('N', '2', 'V', TPACPI_FAN_2CTL), /* P1 / X1 Extreme (3nd gen) */ + TPACPI_Q_LNV3('N', '3', '0', TPACPI_FAN_2CTL), /* P15 (1st gen) / P15v (1st gen) */ }; static int __init fan_init(struct ibm_init_struct *iibm) -- 2.27.0