Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp203602iob; Mon, 2 May 2022 17:07:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYCOqEcTUi9k0iJYLdj/Cxlv+EXfy7usxi4jZGovuklBLMnd8Wh90mG5R796wx2tfHz4gI X-Received: by 2002:a05:6a02:283:b0:342:703e:1434 with SMTP id bk3-20020a056a02028300b00342703e1434mr11511394pgb.74.1651536450380; Mon, 02 May 2022 17:07:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651536450; cv=pass; d=google.com; s=arc-20160816; b=pWVJ8d3mYdF8JPmNSf5Mo7ikAgUbPi1aPibAactWKcFfUHsq5KWvGAY/GU3p3Je7tr vSxvKd40W2ek4vVJ9F9iWLmc0B/I6A6mPDQuX9MagqxyUl4kFrnE+zGk6qAv6QIEGSUy Xf8q3Ioe8zRHOtqt7ZtRJVg7OXTuvVLbQOmVMgoyND1hSnZFhbr3wqsuZuOZV5Q6K9D7 QGOpdtVSvITcqqS2QRpAiGNOJRGSoXvzUbD5KrPmPvukkJl9FfL/dJuRLS50fvG84WpL pkoY5Ok9SjpTG0+L3Mp8R+WVSPLj/sKJtmzMqc+qFoXAwJLsofJjwkosqQxsHScx7/g+ 4Jww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=cPv7bKeMG/rz0uaufuazQ83ANBO7jSxEuLCyHmdZEpw=; b=zGk8nvziOQAcEed0LawWUTH3dVYbnxx7mDPosxUTZlGCuSFwFhXiBpv0ylzHdoqFKR cTZtNbtAXgGkIu+/KcQ9B/IoYJ/kZecRbVdXfkqoA76n1yox/0IqhVGLrar10ets2PWs NCnKwpsXGrg1P0fqdWk8jOj7uBHlIhbXzIDAQF1vGQ/rf276I+pA3CGbKO6GynQUbsWP SNFPRqtQZsp0pceM2Nbg7firgFNAuITov+1HsfUHAGmytuxgFmAD/rWOdg5PTBoZTKh6 OFw0Rt+jq6M8Btjkd7Uxl/Xtu0qhxcXREo7XPU2kblLhClhdvc7ayd1R2ju1qFGMJ0qA kHHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lenovo.com header.s=Selector header.b=X935Epm9; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lenovo.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o5-20020a654585000000b003c1cb8137fesi8109528pgq.217.2022.05.02.17.07.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:07:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@lenovo.com header.s=Selector header.b=X935Epm9; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lenovo.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC22F1DA63; Mon, 2 May 2022 17:07:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240079AbiD3B2i (ORCPT + 99 others); Fri, 29 Apr 2022 21:28:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235292AbiD3B2g (ORCPT ); Fri, 29 Apr 2022 21:28:36 -0400 Received: from mail1.bemta35.messagelabs.com (mail1.bemta35.messagelabs.com [67.219.250.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FD163207D; Fri, 29 Apr 2022 18:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lenovo.com; s=Selector; t=1651281916; i=@lenovo.com; bh=cPv7bKeMG/rz0uaufuazQ83ANBO7jSxEuLCyHmdZEpw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=X935Epm98dq6DP21kUmiCDlLzSIAaPGvt14jaTP2sOPq2DvwYRb0vTu+RQCZvMS9K gahC/9yR9+D7LGu9vXlQ+1r0Fo7RKeUqZJAso9xKSUGwjW2kwg4SPshX/R9dT6cnOZ JRz+ycH1ZKeC+RlveEE0gyqzDMaTom/G1eBt6r6UT8Qe4wkTMoRx/eLp2cfb5V9oQZ GbxCCeZS0Le0sRe6yS+JX30bgwbsg1Pq8Sw7ivr7qkVOu2FqBFxzxS3w+IN+HQF+7h 5Qst2EVo/QOsfBdtCBjeqMc+p4BOyqbHYftEe6jaDPIIY7y8WoAJniMvXqX/ZbmoiJ XdkOXAnj5/14w== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJsWRWlGSWpSXmKPExsWSoS+lr/urPyf JYPcZTYs3x6czWaz/vZLFYvZhG4v211sZLS7vmsNmMXV3P6vFganTmC1W73nB7MDh8fsAo8em VZ1sHrsXfGbyeL/vKpvH501yAaxRrJl5SfkVCawZT6+9YS/YL1Qxecsr5gbGffxdjFwcjAJLm SW2vtvGBOEsYpW41b6QDcLpZJJY1D0TzBESmM8k0XzyAyOEc5hJ4uPLXexdjJwcEgLHGSW6V7 lDJDoZJXZv/QHVMolJYumV+6wQzhNGid4lC5E4jb/A+nkFbCXWztzMBmKzCKhKnP2zihkiLih xcuYTFhBbVCBconv/flYQW1ggS2Jiz1GwemYBcYlbT+YzgdgiAoUSs1ZMZgFZwCywm1Fi+5rr YA1CAnES0y42gdlsAtoSW7b8AmvmFDCV2P7wHwvEIE2J1u2/2SFseYntb+cwQ/QqS/zqP88M8 aiixLPj/SwQdoJE85SjjBC2pMS1mxeggSErcfTsHKgaX4nZnd+henUlVr25CFWTI/FlxlomCF tO4lTvOaYJjLqzkPw8C8lvs5CcNwvJeQsYWVYx2iQVZaZnlOQmZuboGhoY6BoamoBpI2MLvcQ q3US90mLd8tTiEl0jvcTyYr3U4mK94src5JwUvbzUkk2MwMSWUpTybgfj376feocYJTmYlER5 KyxzkoT4kvJTKjMSizPii0pzUosPMWpwcAhcOXhkNqMUS15+XqqSBG9lC1CdYFFqempFWmYOM PnClEpw8CiJ8L5vB0rzFhck5hZnpkOkTjHac1zZtncvM8eDEyeB5KVDV4DktfUL9jELgU2VEu e16QNqEwBpyyjNgxsKyxaXGGWlhHkZGRgYhHgKUotyM0tQ5V8xinMwKgnzJoBM4cnMK4Hb/Qr oLCags1YWZYKcVZKIkJJqYNLb/Tt91+9Ib3aX2la7WzPPvfr8SbnCp7lUJtk/5YPIjkobpblz DNm++9caTYjg/BckwHi4wvzDJmXRuB/prYnSMx/w6n5v83/zwdZYf/Kz0m0sWWpvbCtKns3tq v7VmloVzPJgj0vCRQdV9+KZOR+f3bGeN+33yR2vL3bx7jpX1tTeuebArPZFaYpX+D6Ff/jUPO frBs7AivdbuGInr+LX1FHXkGV3kpHdw7vsR0v35il196efvV+1/3dugtLHj7wb2ed0LPuQrFo TWXcuImnmJBfOxT9lehaLP1hkl74+b8XqjSlOT+SUThtaFlTXHqwWbgqZpv/jVsDtMMXu5v97 lim2Wt9K4l2ySkmlWYmlOCPRUIu5qDgRALfPXe6RBAAA X-Env-Sender: markpearson@lenovo.com X-Msg-Ref: server-13.tower-655.messagelabs.com!1651281913!6664!1 X-Originating-IP: [104.47.26.47] X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass X-StarScan-Received: X-StarScan-Version: 9.86.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 6027 invoked from network); 30 Apr 2022 01:25:14 -0000 Received: from mail-psaapc01lp2047.outbound.protection.outlook.com (HELO APC01-PSA-obe.outbound.protection.outlook.com) (104.47.26.47) by server-13.tower-655.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 30 Apr 2022 01:25:14 -0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hOmrzbIAFkE/dGdmlbNQQ0b8W1S+unqr/sZEwER62B6t+Thpp6yO8bVcGtHaxVsWP3H6z+OEy/D63tH+Zg49YFpAxnTPO8/KyJ0E14/gZr009pAcLxJOqE7DbktyS8VZHVZNYeSrCEqXUWWV83xQzylLlOXSi5BwAM2CFyi54KP68Aw6yZuvu5mIEC4j6TAraEfhayjVTTzpeGvVetP0jHFC5KW3xfrzXNl3LIZRGVqCk7ZrKgjiQfpNAyxsTC6cngeKJ3M4oboZ9fPKFw9LOABXDq0nRozYQOKMTCaodAqDUJKE6ooRPQf7qYt9b81MLYZ0/uY3GSIHvEW9ckAagw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cPv7bKeMG/rz0uaufuazQ83ANBO7jSxEuLCyHmdZEpw=; b=n8RKVu7aWzgoTO25MmXcOBdPCJuFHUjzC5mp+NPcQtoo8miCExcAxnPQniWI47uavEu4WiZIFoZf5rCW5haiiNFUEdFXFmk7G/ZtS/pmPO2bKsOUGBtHpa2Px2lC6Ed1nR5ZZdPF0ofsxMX3EWi4z4kQ4Y/UGPJaYpHbNKbjdELqALpDWRX69VkwTcPGskNRwT2VhAKky58n11d80zvuQyNg20bz1nH8AWuKliRAJemeM6K5ZT7yebXzZyO4zWx/EbHRLdadkCBpTM8TKm5BOKxbmOO4lThRsfNkP+sLxu/vihTAJk90MQJ2hlecuDRsx/7urOxBG1CKXprGb1CweA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 104.232.225.6) smtp.rcpttodomain=redhat.com smtp.mailfrom=lenovo.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=lenovo.com; dkim=none (message not signed); arc=none Received: from TY2PR04CA0015.apcprd04.prod.outlook.com (2603:1096:404:f6::27) by HK0PR03MB4738.apcprd03.prod.outlook.com (2603:1096:203:bd::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.12; Sat, 30 Apr 2022 01:25:12 +0000 Received: from TYZAPC01FT012.eop-APC01.prod.protection.outlook.com (2603:1096:404:f6:cafe::9b) by TY2PR04CA0015.outlook.office365.com (2603:1096:404:f6::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13 via Frontend Transport; Sat, 30 Apr 2022 01:25:12 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 104.232.225.6) smtp.mailfrom=lenovo.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=lenovo.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning lenovo.com discourages use of 104.232.225.6 as permitted sender) Received: from mail.lenovo.com (104.232.225.6) by TYZAPC01FT012.mail.protection.outlook.com (10.118.152.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.12 via Frontend Transport; Sat, 30 Apr 2022 01:25:11 +0000 Received: from reswpmail01.lenovo.com (10.62.32.20) by mail.lenovo.com (10.62.123.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Fri, 29 Apr 2022 21:25:09 -0400 Received: from [10.46.196.199] (10.46.196.199) by reswpmail01.lenovo.com (10.62.32.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Fri, 29 Apr 2022 21:26:13 -0400 Message-ID: Date: Fri, 29 Apr 2022 21:25:08 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [External] [PATCH 1/2] platform/x86: thinkpad_acpi: Restore X1 Carbon 9th Gen dual fan quirk Content-Language: en-US To: Lyude Paul , , CC: , , "Hans de Goede" , Henrique de Moraes Holschuh , Mark Gross References: <20220429211418.4546-1-lyude@redhat.com> <20220429211418.4546-2-lyude@redhat.com> From: Mark Pearson In-Reply-To: <20220429211418.4546-2-lyude@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.46.196.199] X-ClientProxiedBy: reswpmail01.lenovo.com (10.62.32.20) To reswpmail01.lenovo.com (10.62.32.20) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 41fd90b0-1077-4fad-1169-08da2a484571 X-MS-TrafficTypeDiagnostic: HK0PR03MB4738:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RnPza9ZKEJXF1AWcP2c6sm6S2N/QdayAfOQMDMgX2P+GvQHdhb8ypRXZA0knWb5tg4lY6xW50WYR18kA3kas9ayGxeRdqn/lyBl0ssW7MTEX1aXbtcMznfVEiMAxvW+5lBCeWLBG82ayHwM1jNVXoP3YPvGliXkvdk2J9oPJ3YcuAP0JF6d38gXWHDs6ATUy5LctaQswqrcg2azjgQIdVuCju+QUNbudGk1w8+/PYSL6k4z45DLMVRvB0E1dicXhurl4rZlaV/wtLMd1f0FqxSCl6PIBUWJsru/gOmtXWSagOsuVUs3QqyUZdX/5rbXDvFSE1bmDz9nIullLWwRFOjt3TUNX+M67pu2V5FAAIfI+piVcnpzaPBz1v3myW89oHSEAuGk8GDayjgjRJdrJ+40tdRvLbLiGy+sZ8gZaFnpAXkmaei6jpPQkIdM6zBx3bbrHN0iPxwPFKkNklEFXqhp6t3H0z03s/De3eK+X2RjGEKW8EYLm5LkKVXlFr3l0oYSEsO/LJHIFaIep7D4K2u9Dg03CegM/tqa/z5fJNnRDwt7d6Ej6W21vaFEhI5wVVe0bUVi9qJrfwnu+uZDhNsV6MjYbxHRZI7ydl6lIuJwCBQKon+k8zATlbPBN4NCetjoSAd8VW/4D/ftBcz8W9S0mWqsNkC9PRfQA43GZvzShALZ+8iW5zBP9VQFSaQx09HHSkNkFaczYoEh3lgIJc6B2h0vGU9/qbPdPyYv2Rx/25pgDYxKrQvYbZaZG86wP5gBqn2n/3MmRUQnrhTPG1m/bLJQarEmo9FPZZOW30ZRiT67bYRw7zOR4v1YnrmAG X-Forefront-Antispam-Report: CIP:104.232.225.6;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.lenovo.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(5660300002)(8936002)(4326008)(31696002)(36756003)(16576012)(356005)(508600001)(81166007)(40460700003)(82960400001)(2906002)(316002)(2616005)(83380400001)(6666004)(110136005)(36906005)(47076005)(16526019)(54906003)(186003)(70206006)(26005)(426003)(336012)(8676002)(70586007)(53546011)(36860700001)(86362001)(31686004)(82310400005)(3940600001)(36900700001)(43740500002);DIR:OUT;SFP:1102; X-OriginatorOrg: lenovo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2022 01:25:11.3490 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 41fd90b0-1077-4fad-1169-08da2a484571 X-MS-Exchange-CrossTenant-Id: 5c7d0b28-bdf8-410c-aa93-4df372b16203 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5c7d0b28-bdf8-410c-aa93-4df372b16203;Ip=[104.232.225.6];Helo=[mail.lenovo.com] X-MS-Exchange-CrossTenant-AuthSource: TYZAPC01FT012.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR03MB4738 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 Hi Lyude On 4/29/22 17:14, Lyude Paul wrote: > 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) */ > }; I just double checked this on my X1C9 - and it's working correctly. 2nd fan is detected correctly. I'd rather understand why it's not working on your setup then just re-introduce the quirk. What happens on your system when the res = fan2_get_speed(&speed); is called? If that is failing it means your 2nd fan isn't responding and that's not supposed to happen. Could you let me know if you get an error code, if it happens every boot, etc I assume when the function is called later it works successfully? Also please confirm which BIOS and EC version you have. Thanks Mark