Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp56306rdh; Mon, 18 Dec 2023 04:23:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFByo0k7+T31uI/k5eV+I0WSLGwn6GPi9fDVHblc4EfcMf8pjPXnjx/8irulVrT3G1V9lAt X-Received: by 2002:a05:620a:4950:b0:77f:89e:986d with SMTP id vz16-20020a05620a495000b0077f089e986dmr20606767qkn.78.1702902185128; Mon, 18 Dec 2023 04:23:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702902185; cv=none; d=google.com; s=arc-20160816; b=Xpsv9gwL38kmRdd/+D8SONWc4qjlubh0LlXqk/tr10ShN26stqtP/CDsX+Q0FHOxF5 GJIYgYKb3h60pmVQcsqQuvs/Z0Hidrkb3MKP/0sD/OpGMu6xldtz5FYwI2kCDhPJ0VEB SkSQoHMH0Q58lDNNYuFKTEdmlxgUbzmRNcaUjLM723i+ebd5YuGvibb1CTING5XlU+Bn rA5KDiEuH6O8tYvuHRuHrUU1TrztvWW1GlCVNuptmAGB0B48yMbzNBAmjocLCN13mnMb bf0uO67qWNR7wU7PM/WYpPl3AMynysBTM66Qy6+gKZ+OK60z5dcK6+3AC9IHzyIgYKYP wKPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=i2SdDeSPPlV/nfiFkU1ioKbqxWQd9T9C6ET4cb22Btg=; fh=xIM4DuS7VmurYb0RJQkaTocSBZE7MGeFLujCzYfhp2I=; b=rVamSyH8n3fjcY66jqoZoMIVByXoDsg723fC9WqqrhZY5Jvu1H6CVWCTb2GNFKGkU0 9JCKS+fh6PhbbC+v+yBR/cLz0EtQhxPqUMs5GW2C88Gs2HGp4aB31gsXDt43RGK1s/0z B8Vny+stzqGfSx22A8xRv8GQJYLS6QjEXK8rAyAYluawR2Y0I8L4sXei1cOZ0oHpzDTl R79/WV4yK4ll0wqPgCuXftg4SbV0plCDhty2IghTcmHOIkeHXklFeY5e5015wV4pynz1 faIRREb3IGwQLPUS9Cmq6BZcEzBEU2C9zliFYWApP2/1rAvosqhPcn58RJB/a9dPlAaB LCqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GvOPFjeQ; spf=pass (google.com: domain of linux-kernel+bounces-3563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n8-20020a05622a040800b00426107e67adsi7602592qtx.242.2023.12.18.04.23.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:23:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GvOPFjeQ; spf=pass (google.com: domain of linux-kernel+bounces-3563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D9A821C21C42 for ; Mon, 18 Dec 2023 12:23:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33C20495DE; Mon, 18 Dec 2023 12:22:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GvOPFjeQ" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E40234F5E9 for ; Mon, 18 Dec 2023 12:22:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702902174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i2SdDeSPPlV/nfiFkU1ioKbqxWQd9T9C6ET4cb22Btg=; b=GvOPFjeQDFvzh0O1R1gnsjJhlxyqIm2jE493/rTgiiq41EsqNbWZWkIgbvm4OtBbsagz8F SXcuAlskFlxri17yWqv9RD5CzXYRm99QSMivcwCT3vFGJKufbgcUKeTXUQUrLgduJLhQYx CaWQmPHb7q8Qzj7aAwjpbr0LoOij1j8= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-326-bBVRray3MtSCA6JVSbMvRw-1; Mon, 18 Dec 2023 07:22:53 -0500 X-MC-Unique: bBVRray3MtSCA6JVSbMvRw-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a19c5cbbe86so168065466b.1 for ; Mon, 18 Dec 2023 04:22:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702902172; x=1703506972; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=i2SdDeSPPlV/nfiFkU1ioKbqxWQd9T9C6ET4cb22Btg=; b=P2CV8++y5gL7ufUYpGJyV97GqW02d2C6OwmbKf1mbh10yeOEQZUepN3juQMkR3b+4F FnJrMVdRvxPnSsFA0c1Eu0QpwvPflPsXS4l9pcCW2sps8dpxi2qHMlqyc5M2q+l6Bd8H bTmB1LOoTvUKWNY2KtZpY+mXB6qXfIaibHs2W0AkTSwPGRHsbQWkeSEycrp/2IRwufBY 8zNo2Dnb+xB3FRNdTFWSxNzE/2kr3Yr2EsEk/FxyosD/xiSGzsWhd27pP7EZvR/cyI7j c35ZMxn/06MR9yijSjoUrOc3d0n1r8/fzIxEhfunGZXc/0q9FqPaMcYyHJjqxjflxcuz lx8A== X-Gm-Message-State: AOJu0Yw6icI07Y6og7ulnPxpFTAmTWIq2XMZZCs8hzelS1SDdzSpanYK U8NV7xx/9uIhu0vgfgCQUw7m5NF3Hw3eGL5iTGGtAEdloBbf+8Pxync5rbHxZ2yOI4C9nUbxRJg uZXCrqxVD1qt/axUgLQirqx8I X-Received: by 2002:a17:906:24c:b0:a23:3361:bd0d with SMTP id 12-20020a170906024c00b00a233361bd0dmr909641ejl.10.1702902172277; Mon, 18 Dec 2023 04:22:52 -0800 (PST) X-Received: by 2002:a17:906:24c:b0:a23:3361:bd0d with SMTP id 12-20020a170906024c00b00a233361bd0dmr909639ejl.10.1702902172001; Mon, 18 Dec 2023 04:22:52 -0800 (PST) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id cu12-20020a170906ba8c00b00a10f3030e11sm14085551ejd.1.2023.12.18.04.22.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 04:22:51 -0800 (PST) Message-ID: Date: Mon, 18 Dec 2023 13:22:50 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] platform/x86: thinkpad_acpi: fix for incorrect fan reporting on some ThinkPad systems Content-Language: en-US To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Vishnu Sankar Cc: Mark Pearson , platform-driver-x86@vger.kernel.org, LKML , markgross@kernel.org, vsankar@lenovo.com References: <20231214134702.166464-1-vishnuocv@gmail.com> <702d46c3-f4a1-142e-c8a3-1e462934f9ea@linux.intel.com> From: Hans de Goede In-Reply-To: <702d46c3-f4a1-142e-c8a3-1e462934f9ea@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, On 12/14/23 15:52, Ilpo Järvinen wrote: > On Thu, 14 Dec 2023, Vishnu Sankar wrote: > >> Some ThinkPad systems ECFW use non-standard addresses for fan control >> and reporting. This patch adds support for such ECFW so that it can report >> the correct fan values. >> Tested on Thinkpads L13 Yoga Gen 2 and X13 Yoga Gen 2. >> >> Suggested-by: Mark Pearson >> Signed-off-by: Vishnu Sankar >> --- >> -Improvements to comments as requested. >> -Removed the usage of unlikely/likely while reading fan speed. >> -Improved and clearer print statements to match the current style. >> -Changed seq_puts to seq_printf of an unrelated section of the patch. >> -Improved the readability of the code. >> -Added more clearer comments. > > Nice work, thanks. > > Reviewed-by: Ilpo Järvinen Ilpo, thank you for the review. The patch looks good to me too: Reviewed-by: Hans de Goede Ilpo, do you plan on sending out one more fixes pull-req for 6.7 and if yes, can you add this patch to that; or shall I merge this into for-next so that it gets included in 6.8-rc1 ? Regards, Hans