mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Armin Wolf <W_Armin@gmx.de>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: lenb@kernel.org, linux-acpi@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/3] ACPI fan _DSM support
Date: Mon, 27 Oct 2025 21:28:37 +0100	[thread overview]
Message-ID: <b90f5014-85b1-48a3-8dd4-e8216e129c9b@gmx.de> (raw)
In-Reply-To: <CAJZ5v0juvqnn0A7pwpijhWkLDZB8U31T3J96a_Cr_RPN8C88iw@mail.gmail.com>

Am 27.10.25 um 20:58 schrieb Rafael J. Wysocki:

> On Fri, Oct 24, 2025 at 8:38 PM Armin Wolf <W_Armin@gmx.de> wrote:
>> Microsoft has designed a _DSM interface for the ACPI fan device [1]
>> that allows the OS to set fan speed trip points. The ACPI firmware
>> will notify the ACPI fan device when said trip points are triggered.
>>
>> Unfortunately some device manufacturers (like HP) blindly assume that
>> the OS will use this _DSM interface and thus only update the fan speed
>> value returned by the _FST control method when sending a notification
>> to the ACPI fan device. This results in stale fan speed values being
>> reported by the ACPI fan driver [2].
>>
>> The first two patches add support for the ACPI fan notifications as
>> specified in ACPI 11.2.3. The last patch finally adds support for the
>> Microsoft _DSM interface.
>>
>> All patches where tested with a custom SSDT [3] and the acpi_call [4]
>> kernel module and appear to work just fine.
>>
>> [1] https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/design-guide
>> [2] https://github.com/lm-sensors/lm-sensors/issues/506
>> [3] https://github.com/Wer-Wolf/acpi-fan-ssdt/blob/master/ssdt-dsm.asl
>> [4] https://github.com/nix-community/acpi_call
>>
>> Changes since v2:
>> - drop already merged patches
>> - add links to the MSFT documentation in patch 3
>>
>> Changes since v1:
>> - use acpi_evaluate_dsm_typed() during _DSM initialization
>> - send ACPI netlink event when after handling a ACPI notification
>>
>> Armin Wolf (3):
>>    ACPI: fan: Add basic notification support
>>    ACPI: fan: Add hwmon notification support
>>    ACPI: fan: Add support for Microsoft fan extensions
> All applied as 6.19 material, thanks!

Thank you :)


      reply	other threads:[~2025-10-27 20:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-24 18:38 Armin Wolf
2025-10-24 18:38 ` [PATCH v3 1/3] ACPI: fan: Add basic notification support Armin Wolf
2025-10-24 18:38 ` [PATCH v3 2/3] ACPI: fan: Add hwmon " Armin Wolf
2025-10-24 18:38 ` [PATCH v3 3/3] ACPI: fan: Add support for Microsoft fan extensions Armin Wolf
2025-10-27 19:58 ` [PATCH v3 0/3] ACPI fan _DSM support Rafael J. Wysocki
2025-10-27 20:28   ` Armin Wolf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b90f5014-85b1-48a3-8dd4-e8216e129c9b@gmx.de \
    --to=w_armin@gmx.de \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®