[FROM-ML] platform/x86: asus-armoury: gate PPT writes behind active fan curve#52
Open
Ghoul4500 wants to merge 1 commit into
Open
[FROM-ML] platform/x86: asus-armoury: gate PPT writes behind active fan curve#52Ghoul4500 wants to merge 1 commit into
Ghoul4500 wants to merge 1 commit into
Conversation
KyleGospo
approved these changes
May 15, 2026
5c8183d to
b6fcb17
Compare
KyleGospo
approved these changes
May 15, 2026
b6fcb17 to
1ee713e
Compare
a2dc619 to
c8b18bb
Compare
1ee713e to
3d85167
Compare
3d85167 to
1303056
Compare
Member
Author
|
I'll bring some slight changes to this according to Mario's review comments on LKML |
003e56d to
58d1f40
Compare
…an curve
On models flagged with requires_fan_curve in the DMI power_data table
(30 entries), the BIOS ACPI method SPLX only writes PPT values to the
EC when the fan mode is set to Manual (FANM=4). FANM is set to 4 by
the DEFC method when a custom fan curve is written. Without an active
custom fan curve, the WMI DEVS call returns success but the firmware
silently ignores the PPT value, so userspace observes no effect from
its write.
Gate writes to ASUS_WMI_DEVID_PPT_{PL1_SPL,PL2_SPPT,PL3_FPPT,APU_SPPT,
PLAT_SPPT} on a check of asus_wmi_custom_fan_curve_is_enabled(), and
return -EBUSY with a pr_warn_once() when no fan curve is active on an
affected model. Export the helper from asus-wmi so asus-armoury can
call it across module boundaries.
Signed-off-by: Ahmed Yaseen <yaseen@ghoul.dev>
58d1f40 to
3a0a399
Compare
KyleGospo
approved these changes
May 20, 2026
pastaq
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://lore.kernel.org/platform-driver-x86/20260519181155.46044-1-yaseen@ghoul.dev/T/#t