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 v2 0/6] ACPI fan _DSM support
Date: Thu, 23 Oct 2025 22:13:35 +0200 [thread overview]
Message-ID: <de8dc59e-d301-4954-b39c-f032b6aa0db9@gmx.de> (raw)
In-Reply-To: <CAJZ5v0idydJCQqnEs38KJT+1TmVJuhLeCFikypDLD1Yd_8zWhg@mail.gmail.com>
Am 23.10.25 um 21:22 schrieb Rafael J. Wysocki:
> On Thu, Oct 23, 2025 at 11:59 AM Rafael J. Wysocki <rafael@kernel.org> wrote:
>> On Wed, Oct 22, 2025 at 11:41 PM Armin Wolf <W_Armin@gmx.de> wrote:
>>> Am 08.10.25 um 01:41 schrieb Armin Wolf:
>>>
>>>> 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 patch performs a simple cleanup in order to reduce the usage
>>>> of the acpi_device struct. The second patch fixes an issue with some
>>>> 64-bit ACPI implementations where an invalid value was reported
>>>> instead of the standard ACPI placeholder value (0xFFFFFFFF). The third
>>>> patch fixes an unrelated issue inside the hwmon support code while the
>>>> next 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.
>>> Any thought on this?
>> Not yet, but I'm going to get to it today.
>>
>>> I tested it with a custom SSDT, so i can prove that those patches work.
>> OK
> I've applied two first patches for 6.19 and the third one for 6.18-rc, as a fix.
Please note that the third patch depends on the first patch! Otherwise you will
get a runtime error when acpi_fan_hwmon_read() tries to cast the platform device
to a ACPI device.
> My understanding is that patches [4-5/6] are preparations for the last
> one that needs a pointer to the MSFT documentation it is based on.
I understand, i will send a v3 series without the first three patch and this
issue being addressed.
Thanks,
Armin Wolf
next prev parent reply other threads:[~2025-10-23 20:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-07 23:41 Armin Wolf
2025-10-07 23:41 ` [PATCH v2 1/6] ACPI: fan: Use ACPI handle when retrieving _FST Armin Wolf
2025-10-07 23:41 ` [PATCH v2 2/6] ACPI: fan: Workaround for 64-bit firmware bug Armin Wolf
2025-10-07 23:41 ` [PATCH v2 3/6] ACPI: fan: Use platform device for devres-related actions Armin Wolf
2025-10-23 19:03 ` Rafael J. Wysocki
2025-10-07 23:41 ` [PATCH v2 4/6] ACPI: fan: Add basic notification support Armin Wolf
2025-10-07 23:41 ` [PATCH v2 5/6] ACPI: fan: Add hwmon " Armin Wolf
2025-10-07 23:41 ` [PATCH v2 6/6] ACPI: fan: Add support for Microsoft fan extensions Armin Wolf
2025-10-22 21:41 ` [PATCH v2 0/6] ACPI fan _DSM support Armin Wolf
2025-10-23 9:59 ` Rafael J. Wysocki
2025-10-23 19:22 ` Rafael J. Wysocki
2025-10-23 20:13 ` Armin Wolf [this message]
2025-10-24 8:35 ` Rafael J. Wysocki
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=de8dc59e-d301-4954-b39c-f032b6aa0db9@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®