Skip to contentSkip to conversation

New: [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

Bug 221150 [email protected] 1 participant 12 messages Feb 27 – Jun 22 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=221150

            Bug ID: 221150
           Summary: [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) –
                    verification of platform_profile and EC register
                    behavior
           Product: Drivers
           Version: 2.5
          Hardware: Intel
                OS: Linux
            Status: NEW
          Severity: low
          Priority: P3
         Component: Platform_x86
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 309485
--> https://bugzilla.kernel.org/attachment.cgi?id=309485&action=edit
EC dump,dmesg_full,acpidump.

Hardware:
Laptop: HP OMEN Laptop 16-k0xxx (Omen 8 Pro)
Board ID: 8A4D
CPU: Intel Core i7-12700H
BIOS Version: F.28 (2025-08-13)
Software:
Distro: CachyOS
Kernel: 6.19.3-2-cachyos
Problem summary:
The hp-wmi driver registers correctly as a platform profile handler on this
board (8A4D). I am providing baseline diagnostics including an EC dump and dmesg logs to help maintainers verify if the current WMI query implementation correctly maps to this specific model's thermal and performance profiles. Actual Results:
The platform_profile file accepts the input, but there is no change in fan
RPM or thermal management behavior. No audible fan ramp is observed even when "performance" is selected.
❯ cat /sys/firmware/acpi/platform_profile_choices
cool quiet balanced performance
Expected Results:
Switching to "performance" should trigger the firmware's high-performance
thermal map and increase fan aggressiveness, similar to the "Performance Mode" in the OMEN Command Center on Windows.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #1 from wudd_maya ([email protected]) --- Created attachment 309486
--> https://bugzilla.kernel.org/attachment.cgi?id=309486&action=edit
Acpidump

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #2 from wudd_maya ([email protected]) --- Created attachment 309487
--> https://bugzilla.kernel.org/attachment.cgi?id=309487&action=edit
dmidecode

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #3 from wudd_maya ([email protected]) --- Created attachment 309488
--> https://bugzilla.kernel.org/attachment.cgi?id=309488&action=edit
windows omen gaming hub log

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

Krishna Chomal ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Krishna Chomal ([email protected]) --- Hi,

Your board, 8A4D is not currently present in any whitelist in the hp-wmi driver. As a result, it defaults to legacy Omen WMI interface to register the platform-profile.

From your Omen Gaming Hub logs and EC dump, it is evident that your board requires the newer Victus S style WMI queries for platform-profile switching (and fan related activities), instead of the legacy queries.

Can you please apply the below patch and test the following:
1. Check dmesg for successful registration message:
"hp_wmi: Registered as platform profile handler"

2. Verify that fan RPM is readable and controllable via sysfs (/sys/devices/platform/hp-wmi/hwmon/*).

3. Verify that on changing platform profile, and it does physically change the amount of power drawn in the CPU/GPU.

(quoted diff) +0 -0

b/drivers/platform/x86/hp/hp-wmi.c
index 304d9ac63c8a..756b94ac4a35 100644

drivers/platform/x86/hp/hp-wmi.c +0 -0
@@ -120,6 +120,13 @@ static const struct thermal_profile_params

omen_v1_thermal_params = {
.ec_tp_offset = HP_VICTUS_S_EC_THERMAL_PROFILE_OFFSET,
};

+static const struct thermal_profile_params omen_hybrid_thermal_params = {

+       .performance    = HP_OMEN_V1_THERMAL_PROFILE_PERFORMANCE,
+       .balanced       = HP_OMEN_V1_THERMAL_PROFILE_DEFAULT,
+       .low_power      = HP_OMEN_V1_THERMAL_PROFILE_DEFAULT,
+       .ec_tp_offset   = HP_OMEN_EC_THERMAL_PROFILE_OFFSET,

+};
+
/*
* A generic pointer for the currently-active board's thermal profile
* parameters.
@@ -173,6 +180,10 @@ static const char * const victus_thermal_profile_boards[] = {

/* DMI Board names of Victus 16-r and Victus 16-s laptops */ static const struct dmi_system_id victus_s_thermal_profile_boards[]
__initconst = {
+ {
+ .matches = { DMI_MATCH(DMI_BOARD_NAME, "8A4D") },
+ .driver_data = (void *)&omen_hybrid_thermal_params,
+ },

        {
                .matches = { DMI_MATCH(DMI_BOARD_NAME, "8BBE") },
                .driver_data = (void *)&victus_s_thermal_params,
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #5 from wudd_maya ([email protected]) --- (In reply to Krishna Chomal from comment #4)

Quoted 46 lines

你好,

你的主板8A4D目前没有出现在hp-wmi驱动的任何白名单中。因此,它默认使用传统的Omen WMI接口来注册平台配置文件。

从你在 Omen Gaming Hub 的日志和 EC 转储来看,很明显你的主板需要更新的 Victus S 风格的 WMI 查询来切换平台配置文件(以及与粉丝相关的活动),而不是传统查询。

请您应用以下补丁并测试以下内容:
1. 查看dmesg是否成功注册信息:
“hp_wmi:注册为平台配置文件管理员”

2. 确认风扇转速可通过sysfs(/sys/devices/platform/hp-wmi/hwmon/*)读取和控制。

3. 在更改平台配置文件时验证这一点,它确实会物理上改变CPU/GPU的耗电量。

drivers/platform/x86/hp/hp-wmi.c +0 -0

索引304D9AC63C8A..756b94ac4a35 100644

drivers/platform/x86/hp/hp-wmi.c +7 -0
@@ -120,6 +120,13 @@ static const struct thermal_profile_params
 omen_v1_thermal_params = {
      .ec_tp_offset = HP_VICTUS_S_EC_THERMAL_PROFILE_OFFSET,
 };
 
+static const struct thermal_profile_params omen_hybrid_thermal_params = {
+ .性能 = HP_OMEN_V1_THERMAL_PROFILE_PERFORMANCE,
+ .平衡 = HP_OMEN_V1_THERMAL_PROFILE_DEFAULT,
+ .low_power = HP_OMEN_V1_THERMAL_PROFILE_DEFAULT,
+ .ec_tp_offset = HP_OMEN_EC_THERMAL_PROFILE_OFFSET,
+};
+
 /*
  * 当前活跃电路板散热曲线的通用指针

* 参数。

drivers/platform/x86/hp/hp-wmi.c +4 -0
@@ -173,6 +180,10 @@ 静态 const char * const victus_thermal_profile_boards[] =
 {
 
 /* Victus 16-r 和 Victus 16-s 笔记本的 DMI 板名称 */
 静态 const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst
 = {
+     {
+ .匹配 = { DMI_MATCH(DMI_BOARD_NAME,“8A4D”)},
+ .driver_data = (空 *)&omen_hybrid_thermal_params,
+     },
      {
Quoted 2 lines

.matches = { DMI_MATCH(DMI_BOARD_NAME, “8BBE”) }, .driver_data = (空 *)&victus_s_thermal_params,

Hello Krishna,

I successfully applied the patch to the mainline RC kernel and thoroughly tested it on my board (8A4D). The results are fantastic:
❯ echo 255 | sudo tee /sys/class/hwmon/hwmon6/pwm1
255

~
❯ sudo dmesg | grep hp_wmi

[    4.677350] hp_wmi: Registered as platform profile handler
[    6.492857]  processor_thermal_device_pci kvm processor_thermal_device

snd_hwdep snd_soc_core processor_thermal_wt_hint snd_hda_core r8169 platform_temperature_control snd_intel_dspcfg processor_thermal_soc_slider snd_compress snd_intel_sdw_acpi realtek uvcvideo btusb processor_thermal_rfim irqbypass mdio_devres intel_rapl_msr processor_thermal_rapl ghash_clmulni_intel btrtl snd_pcm videobuf2_vmalloc intel_rapl_common iwlwifi aesni_intel libphy processor_thermal_wt_req videobuf2_memops btintel rapl spi_nor hp_wmi hid_multitouch snd_timer mei_me intel_cstate btbcm processor_thermal_power_floor uvc intel_pmc_core sparse_keymap i2c_i801 intel_uncore wmi_bmof platform_profile mtd pcspkr intel_ish_ipc cfg80211 videobuf2_v4l2 mdio_bus processor_thermal_mbox i2c_smbus btmtk mei snd pmt_telemetry i2c_hid_acpi intel_ishtp int340x_thermal_zone thunderbolt igen6_edac soundcore videodev i2c_hid bluetooth pmt_discovery videobuf2_common pmt_class pinctrl_tigerlake soc_button_array joydev acpi_pad mc intel_oc_wdt

~
❯ cat /sys/devices/platform/hp-wmi/hwmon/hwmon*/fan*_input 5800
5800

~
Sysfs nodes are populated correctly (performance, balanced, low-power).
Switching to the "performance" profile works flawlessly and successfully unlocks the hardware power limits—I can confirm the CPU reaches 115W under full load!

The patch brings full and essential support for the Omen 8A4D board. Thank you so much for your hard work!

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #6 from Krishna Chomal ([email protected]) --- Glad to hear everything is working as intended.

I will send this patch to the LKML soon, could you please share your full name and email ID which you would like to be shown in the patch's Reported-by and Tested-by tags?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #7 from wudd_maya ([email protected]) --- (In reply to Krishna Chomal from comment #6)

Quoted 5 lines

Glad to hear everything is working as intended.

I will send this patch to the LKML soon, could you please share your full name and email ID which you would like to be shown in the patch's Reported-by and Tested-by tags?

Hi Krishna,

That's great news! Please use the following information for the tags:

Name: Qinfeng Wu
Email: [email protected]

Thank you for your amazing work on this patch. I'm glad I could contribute to the testing process for the 8A4D board!

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #8 from Krishna Chomal ([email protected]) --- I have submitted the patch to the maintainers. You can track its progress and the mailing list discussion here:
https://lore.kernel.org/platform-driver-x86/[email protected]/

Thank you for your help :)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

--- Comment #9 from Krishna Chomal ([email protected]) --- Hi Qinfeng Wu,

The patch for this board has been merged into the mainline kernel. You can find the commit here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=435da773966c80e1b2b6aea75460ef0e893fd9e9

It should show up in the next release (likely 7.0 or a 6.x stable backport). Since the patch is upstream, feel free to close this report as "Resolved Fixed".

Thanks

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#10 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

wudd_maya ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#11 lore raw

[Bug 221150] [BUG] hp-wmi: OMEN 16-k0xxx (board 8A4D) – verification of platform_profile and EC register behavior

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=221150

wudd_maya ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugzilla.kernel.org
                   |                            |/show_bug.cgi?id=221680
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.