Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2405801iob; Sat, 30 Apr 2022 07:44:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw84xv5aHmT5BCvQVwnOWOLjV7eYzQfu6MqeXxn1J4zBX2BVr2d48zMyy3vn92MjP2Z9b41 X-Received: by 2002:a05:6512:6cf:b0:471:fd0d:acb1 with SMTP id u15-20020a05651206cf00b00471fd0dacb1mr3131604lff.38.1651329883067; Sat, 30 Apr 2022 07:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651329883; cv=none; d=google.com; s=arc-20160816; b=SEX/ABj8GYaAIYZB7PcUb8dri9vhtjy45izLObqdQBstfsjiSX5ouEtcTgmdOZctJp vvzh1MDG4FZ22FAkwzj0DOcumOqCE1ci39YzBFYNLxDhjVWa4xq0i7GRrk8MpAm01gvK J7iqZrhRfm9ci0ONTbntelzh3l3Yj0qRK9KcMnmtP5fET27SCgeKis+D2Hy91jXNLahR DvJy9jZu8/qRhhega93VrLrLGyg3HjBrgNDJo48oEOn88f00ufe8BhfrtEnYf8Aw9LcD W/rOENR1LgwuPEwQhxKpUdP0Oinn/MyI08m9Bt88TdLRprtTkvDAOgjb6ghNEBwMgD5+ /FCQ== 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 :dkim-signature; bh=OVJgetryfXSVXe5yvSCCfrQu6gny1xdVtA3tH62iDPs=; b=nU+rG8yiZ6PT5wRxATh6UyYknOS4a/lJyLVveyrNlriXAR7LQpPIraA6dHAbuF90GA tiGcypxf3yv8nuY/EAsYamSUPlCrIaJ0xKhzNr+MhYgzXmM5DaqcvV4CxyQlpi1yXGI3 QeOFIyGiPOMbGZlg1hrV/r8GgW7OcjREuui0dBT7PGDMLfYHE3Q5srp+Pix/hGpGplZd frjvpMZYVX02/73enkP9tWpKzT1W1OwX6SU5PL4nl1XcObb0mLnjAVrP5ZKxfpM5DEcl zl65BtFFKo9Xk7Ouagwk4ywllH05eB83SB47US0ZHToTsfSmMPX1gBOgKgnTmEaHMhu2 QcOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Bl43370U; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f19-20020ac25cd3000000b0046cddf22e59si8084970lfq.10.2022.04.30.07.44.15; Sat, 30 Apr 2022 07:44:43 -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=@redhat.com header.s=mimecast20190719 header.b=Bl43370U; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235287AbiD2VRv (ORCPT + 99 others); Fri, 29 Apr 2022 17:17:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234816AbiD2VRq (ORCPT ); Fri, 29 Apr 2022 17:17:46 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E2266D3D97 for ; Fri, 29 Apr 2022 14:14:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651266867; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OVJgetryfXSVXe5yvSCCfrQu6gny1xdVtA3tH62iDPs=; b=Bl43370UAsYwe83oMk9+gPCrcHeBdlsGb74r2KcBVhZkcMtfCN2lntToSk37kzpZsTaasj vkgiygg2XQLw1o6yBLg87SdbH7Ij3JQsj17P4J7jd4x7f6oaWpePZ6PaLFSEGRtUJsf5R4 BHB9N6Hj7nFGhM5Vg1NQc/wHgnjyBhU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-558-yE_d1nJVNU2UXq_hLYQ76A-1; Fri, 29 Apr 2022 17:14:23 -0400 X-MC-Unique: yE_d1nJVNU2UXq_hLYQ76A-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2B4B7101AA42; Fri, 29 Apr 2022 21:14:23 +0000 (UTC) Received: from emerald.lyude.net (unknown [10.22.8.66]) by smtp.corp.redhat.com (Postfix) with ESMTP id B19B9111CD36; Fri, 29 Apr 2022 21:14:22 +0000 (UTC) From: Lyude Paul To: ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Hans de Goede , Mark Pearson , Henrique de Moraes Holschuh , Mark Gross Subject: [PATCH 1/2] platform/x86: thinkpad_acpi: Restore X1 Carbon 9th Gen dual fan quirk Date: Fri, 29 Apr 2022 17:14:17 -0400 Message-Id: <20220429211418.4546-2-lyude@redhat.com> In-Reply-To: <20220429211418.4546-1-lyude@redhat.com> References: <20220429211418.4546-1-lyude@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 The new method of probing dual fan support introduced in: bf779aaf56ea ("platform/x86: thinkpad_acpi: Add dual fan probe") While this commit says this works on the X1 Carbon 9th Gen, it actually just results in hiding the second fan on my local machine. Additionally, I'm fairly sure this machine powers on quite often without either of the two fans spinning. So let's fix this by adding back the dual fan quirk for the X1 Carbon 9th Gen. Signed-off-by: Lyude Paul Fixes: bf779aaf56ea ("platform/x86: thinkpad_acpi: Add dual fan probe") Cc: Mark Pearson Cc: Hans de Goede Cc: Henrique de Moraes Holschuh Cc: Mark Gross Cc: ibm-acpi-devel@lists.sourceforge.net Cc: platform-driver-x86@vger.kernel.org --- 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 c568fae56db2..9067fd0a945c 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -8699,6 +8699,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', '3', '0', TPACPI_FAN_2CTL), /* P15 (1st gen) / P15v (1st gen) */ + TPACPI_Q_LNV3('N', '3', '2', TPACPI_FAN_2CTL), /* X1 Carbon (9th gen) */ TPACPI_Q_LNV3('N', '3', '7', TPACPI_FAN_2CTL), /* T15g (2nd gen) */ TPACPI_Q_LNV3('N', '1', 'O', TPACPI_FAN_NOFAN), /* X1 Tablet (2nd gen) */ }; -- 2.35.1