Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6325436rdb; Thu, 14 Dec 2023 15:15:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+qVkzPnQpO8DuAkO7HZi8rw9ZJD4T6IQ/RvuZ+4ULc8UP52NAEHEE1qNpYpt5pmwE+6fW X-Received: by 2002:a17:906:c302:b0:a19:a1ba:8cdc with SMTP id s2-20020a170906c30200b00a19a1ba8cdcmr4546647ejz.122.1702595740708; Thu, 14 Dec 2023 15:15:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702595740; cv=none; d=google.com; s=arc-20160816; b=gDqx4FyrtRJ9zQjNbuzyzKQ8ox3vfezOjlQVAul5BIcps4nz6Djc/iQoZqa951LD8l sq3QpBo1oHaUGvXmRiYmnz6JwyjmG22NtrvObIFoK+haXjWgfVidG/+h5wI7hcpHYZIF deqAzokMz8qxB8/Pog4Mkh+HIdZDsynWfsSV296oIKjcpn8WtjEgMN0+mf539hvjL4Zx 2PCX3EnU8CyC/sJOiStZAcBiBrlYfPqEoQm6oRNumCSAKtimn8TWf6fpkBCB4zhAGTFR TKCIkl+HwwPk9mj6bDoXuRZFwk+ka9KPEcI1QJ8Mm8Op8T/Nm/wDw5a9lTP3WBKhwf2E TDfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=j3/uJiT9TQ0Tlop4JkaKoN9q1vVnNppY7dZy/9puybk=; fh=8WgwsiEXugZvrdmO3Jy7iYr/PLwZaRX+Q6rZJO4c/+8=; b=ifuqrURfqEjk+gm8Wvi/GU0Co5b0wf39qh2clsPJ0xKn+D5BPF/AQdMaZcxbG0kRnR 32g20CKnjs9+zx1MyL0x0INmrpPu8YBUEXDgibFMVQdVSyidkmprw1Y53wq+Uj3w4Ipv qZSQJFckDt5yr9cnNh3hb77bFQFPY5xaKs7vlkqWxIwH9GUVgOqCKcRsnv3iDPWzEBfF AtU1cH4/BP7lGQYVNh2hDk90QXWGabWyFVPKwGfQw3h/RwLnXn1ynKqgkRVQwr4wCKiC VQy9kHB2PhBKCayd3M8T03cs4p1Nlex+HzB0sYsqAoNV71YZ+lrZtUVMKt6+RNtF7t9t lF8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BUQ7LYxB; spf=pass (google.com: domain of linux-kernel+bounces-237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-237-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k11-20020a1709067acb00b00a1d42df69c6si6408976ejo.847.2023.12.14.15.15.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 15:15:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BUQ7LYxB; spf=pass (google.com: domain of linux-kernel+bounces-237-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-237-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 744941F229E5 for ; Thu, 14 Dec 2023 23:15:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E37266C6D1; Thu, 14 Dec 2023 23:15:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BUQ7LYxB" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oa1-f52.google.com (mail-oa1-f52.google.com [209.85.160.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7B756C6C0; Thu, 14 Dec 2023 23:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-20308664c13so58289fac.3; Thu, 14 Dec 2023 15:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702595731; x=1703200531; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=j3/uJiT9TQ0Tlop4JkaKoN9q1vVnNppY7dZy/9puybk=; b=BUQ7LYxBjuGQXNA5D43CytBbZD1jcBcrlcGU2diSK3jvHf0Hgj6qRU59kzGbtmZ7W1 Bl7ykf2ykjAEw9H4N0Y5kVkX96dSUAMborNxCe4e7Kls9KRdTvmfI8okaTY42are8dMC XURwNW3DfWGupd8Jlf5oItF+CPKcxdupnuQiRAdUI02QwC1guESbvC2CAkCry4TkMEgA qMIs9bQFjY/gQYB/CWA73YmiNOEiCTHPYOsLlnHHJEGvb3h18j1Vm1KJGg0gyorO4pUN h7N+RyxHnHsgG7RrctNFDtANU8OL90SYfYJg8Bn7a11KTq1vL93Bahl7Wc6CXcxQ7jXt 4M3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702595731; x=1703200531; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j3/uJiT9TQ0Tlop4JkaKoN9q1vVnNppY7dZy/9puybk=; b=Da2ZJM6fuvgpYxR8pgyDiU479m1HLfNdYb9MHU3/Hhe7EIVmBt3kpATiOrT+0jZh2l l3bER1E1tpD0jOR22hC2BNJpv4N5JCLXg9ngUON2/2J8dQg1L3xSu54Q+B0v7OqwmltN Fn6nLLsqjmn5yfImDTmfpQHsKErK6GLf88YCy+lc2DpjWlLvhrC+7CubuMHjFHtRILtF 9vH7GD8+necZd5cFrlSlL0EpnlQkR1vXwjpahyQqdvV0QeY42orFUA1HqMmiALUYskzC yNFZGXPANefFJpNyaMhKQh2dy9lJCnK4LBM4H4rrCFiItmnlSCtpGUyCy7fMLtkP46Dp YH3g== X-Gm-Message-State: AOJu0Yw5Xj4QxEltjn5FrRgR+jhAZAQd8twlnzGxF6beHNmS9xmNhVhX T5q1Jv074SXFs/76B6tqyBedJ3e0ptcMhLzgFlk= X-Received: by 2002:a05:6870:b289:b0:203:200e:bf00 with SMTP id c9-20020a056870b28900b00203200ebf00mr4061756oao.87.1702595730658; Thu, 14 Dec 2023 15:15:30 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231214134702.166464-1-vishnuocv@gmail.com> <702d46c3-f4a1-142e-c8a3-1e462934f9ea@linux.intel.com> In-Reply-To: <702d46c3-f4a1-142e-c8a3-1e462934f9ea@linux.intel.com> From: Vishnu Sankar Date: Fri, 15 Dec 2023 08:14:53 +0900 Message-ID: Subject: Re: [PATCH v2] platform/x86: thinkpad_acpi: fix for incorrect fan reporting on some ThinkPad systems To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Cc: Hans de Goede , Mark Pearson , platform-driver-x86@vger.kernel.org, LKML , markgross@kernel.org, vsankar@lenovo.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ilpo, Thank you for the review. Vishnu On Thu, Dec 14, 2023 at 11:53=E2=80=AFPM Ilpo J=C3=A4rvinen 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 rep= ort > > 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=C3=A4rvinen > > > -- > i. --=20 Regards, Vishnu Sankar +817015150407 (Japan)