Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp499870lqo; Fri, 10 May 2024 06:31:38 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXsrL6mpbObHoBwRC4XOyhf15717tSCWs4LIDNx+TlLuVwrNHPgp7Hs6fFaIKqLkQWWKSsabaLiEHBEZFXTMENdHaH7cugxwJM5L1wMJw== X-Google-Smtp-Source: AGHT+IFCHXstsxXcfDKPKgDemFQjUSsgQ/i7rNSqw1FWNLEoagK47t+AouKKwQtUK2G89Bupzmow X-Received: by 2002:a17:906:c0d8:b0:a59:bbea:14e8 with SMTP id a640c23a62f3a-a5a1167bbdbmr460420566b.17.1715347898567; Fri, 10 May 2024 06:31:38 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733bec17c1si1942899a12.164.2024.05.10.06.31.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 06:31:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175828-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=kOBpZjwW; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-175828-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175828-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 125421F25A09 for ; Fri, 10 May 2024 13:31:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BAA9D12C47E; Fri, 10 May 2024 13:31:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kOBpZjwW" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 5777712C461; Fri, 10 May 2024 13:31:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715347873; cv=none; b=Vqv9V5XXqCkyME12niwDGNxgL5ckXmheTOpoarbIgDRq0XKHnTMlVwpR0e04oqIFb43i/fRXoccpVWYQ2DC9O2On/lrLuXZ/taL/QJ9dQFilMmwM9jiKyhdJhuUCPKz24GxS9iosoNdrJlCoevK3o+6oMUGe/BEe8gRxsbDEHzw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715347873; c=relaxed/simple; bh=PgyBavn/j3mxAvoBKUfmPryJchWsxnf16J829mjjMvk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZaAmSgDcPiSyjNw4Vu95ylHKdXNSYCJcCZGgpIgcEWXfopCraiTi5jeRp+xgSAKgZsXmvSJLQmehRljcv/oVuNiB8C+uJKhMwG4PVaEYVVIc55fhbqQJk1SIfPwQ0vCOx40xM/jtGFoZEg3UR4P1igheLkIr59LduqaBZB41O6c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kOBpZjwW; arc=none smtp.client-ip=209.85.218.42 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-ej1-f42.google.com with SMTP id a640c23a62f3a-a59a352bbd9so347942366b.1; Fri, 10 May 2024 06:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715347871; x=1715952671; 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=PgyBavn/j3mxAvoBKUfmPryJchWsxnf16J829mjjMvk=; b=kOBpZjwWXo0MWgFgxuyCWw6rTK4p2DIx2SHn/EosxP4vAZ5ZhnlUAcTtEVl/ypVGSd 4J4YPRMCzVxaJ+ZdEl1j0bDFur3KGE4wL1Qp7xrq1uI/rgUvlsp6qP/s9qzkNFHbmQjo BHi620w0ppzOXTFVKYNYRPLxlE2efd8shEScX91bsnOPejOdvSWgH4RzsgQol+zJ/7c6 S6zO2m4tgbtTJ0SBrSqYjwk7PtCRCvhbZsA+bRr3wrH9EVF5H6FTTvfY+d6khIyS+klM E/AbfzWET4KvHYZunT1PDj85dxCz/Gxw7WOLEHq26YUCeJqZOHNNbq/7jaYLIVgEbCaQ E1AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715347871; x=1715952671; 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=PgyBavn/j3mxAvoBKUfmPryJchWsxnf16J829mjjMvk=; b=GB4j0DpWHBuObBQDSVmtX145kJaic1fEZHmSpF/TiJAcEoR8iuXfFwZSSBrpC1J+fu xJ7huTz/yS1u7QhUrYgB1zufsby5LiB+JBaziRpbQU/Q+2zLBGyotJ+x1kUpPg0GPe8F VMTqXmkCtJbTjGbwDYDRSUB2DlJUmDnOAkpvIOkfertbGnMXDp01X6EgOXLPOoBf9WeC mIK5HsECsoGFcOlxOj0k9Xg1eFrt3fm6onVRsoq4g3Qd5IyGCuHSfO0oABYAxFrQu7bd U72paQKMBKGI3DR73oH6rrxcN5Un949WP9UMM99+9zzBJv8+6V1QOytkP4eNxU+5qB+G PFcA== X-Forwarded-Encrypted: i=1; AJvYcCUOnnnyAp7jnzx7f4o8Tf7RtaGD9EdgHyjf/EQkzFTqas8Hjy1wagW+6LQ5nPyV2TiBx4fWdAgIX63oIfX1ZJqd0Z/vWekKc9erfuYlnvhqMlovs96HxlioEtktdhCGt9o/zSADjSyi0xa1/ZUwQWspLyHcp8+KaSiaZjkcunBfu1CAEJ57J0jHA0OYqZh3A4AYt+H0C5SCcJq5Wf9OQXamsjAoIjQ9vLxb4A== X-Gm-Message-State: AOJu0YzfMlUmwZnqJAA5QwengVv2ecjp1iYdKwbW3m1qGtjsQ5OtJWPF ls7A6wsg/wv+ojLnA2P6LpR+hFitzcKv1RS9LuQEGiJ/ePsvqnCMx0HKOKct/BX6hZvPJsWo2cM +7KTlpXfbYPR1C7MFmjBFldJmROE= X-Received: by 2002:a17:906:548:b0:a59:a01e:825f with SMTP id a640c23a62f3a-a5a2d292a95mr208409266b.29.1715347870312; Fri, 10 May 2024 06:31:10 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240509221947.3118-1-W_Armin@gmx.de> In-Reply-To: <20240509221947.3118-1-W_Armin@gmx.de> From: Andy Shevchenko Date: Fri, 10 May 2024 16:30:33 +0300 Message-ID: Subject: Re: [PATCH v7] ACPI: fan: Add hwmon support To: Armin Wolf Cc: mlj@danelec.com, rafael.j.wysocki@intel.com, lenb@kernel.org, jdelvare@suse.com, linux@roeck-us.net, linux@weissschuh.net, ilpo.jarvinen@linux.intel.com, linux-acpi@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 10, 2024 at 1:19=E2=80=AFAM Armin Wolf wrote: > > Currently, the driver does only support a custom sysfs > interface to allow userspace to read the fan speed. > Add support for the standard hwmon interface so users > can read the fan speed with standard tools like "sensors". > Tested with a custom ACPI SSDT. This most likely fits the comment/changelog area and not the commit message. Also would be good to put there the link to this custom SSDT (like one of zillion of pastebin sites, or GitHub, or ...). I was under the impression that Guenter gave a tag, which is missing, but no, he just said it's okay to go. Guenter, maybe a formal Acked-by? Some cosmetic related remarks below. .. > +/* > + * Hwmon interface for the ACPI Fan driver. I would use hwmon (as it is an abbreviation based compound word which we know in small letters). > + * > + * Copyright (C) 2024 Armin Wolf > + */ .. > +#include > +#include > +#include > +#include > +#include + types.h > +#include .. The rest LGTM, FWIW, Reviewed-by: Andy Shevchenko --=20 With Best Regards, Andy Shevchenko