Skip to content

asus-wmi: add platform_profile support

Luke D. Jones lkml platform-driver-x86 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest1 patch 3 repliesIn review
  2. v41 patch 2 repliesSuperseded
  3. v31 patch 11 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch0 repliesSuperseded
v11 patch12 repliesSuperseded

Changelog from the cover letter · 16 lines

- V2
+ Correctly unregister from platform_profile if throttle_thermal_policy fails
+ Do platform_profile_notify() in both throttle_thermal_policy_store() and in throttle_thermal_policy_switch_next()
+ Remove unnecessary prep for possible fan-boost modes as this doesn't match expected platform_profile behaviour
- V3
+ Add missing declaration for err in throttle_thermal_policy_switch_next
- V4
+ Update some return codes to use -ENODATA
+ Switch pr_info() to dev_info()
+ Restructure some if/else blocks
+ Add "select ACPI_PLATFORM_PROFILE" to ASUS_WMI kconfig
- V5
+ Remove unrequired include asm-generic/errno.h
+ Collapse if blocks with only one line (remove parens)
+ Remove unrequired throttle_thermal_policy checks
+ Remove leftover comment from previous versions

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1asus-wmi: Add support for platform_profiledrivers/platform/x86/Kconfig drivers/platform/x86/asus-wmi.c+127 -43 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/1] asus-wmi: add platform_profile support

Changelog:
- V2
+ Correctly unregister from platform_profile if throttle_thermal_policy fails
+ Do platform_profile_notify() in both throttle_thermal_policy_store() and in throttle_thermal_policy_switch_next()
+ Remove unnecessary prep for possible fan-boost modes as this doesn't match expected platform_profile behaviour
- V3
+ Add missing declaration for err in throttle_thermal_policy_switch_next
- V4
+ Update some return codes to use -ENODATA
+ Switch pr_info() to dev_info()
+ Restructure some if/else blocks
+ Add "select ACPI_PLATFORM_PROFILE" to ASUS_WMI kconfig
- V5
+ Remove unrequired include asm-generic/errno.h
+ Collapse if blocks with only one line (remove parens)
+ Remove unrequired throttle_thermal_policy checks
+ Remove leftover comment from previous versions

Luke D. Jones (1):
asus-wmi: Add support for platform_profile

 drivers/platform/x86/Kconfig    |   1 +
 drivers/platform/x86/asus-wmi.c | 130 +++++++++++++++++++++++++++++++-
 2 files changed, 127 insertions(+), 4 deletions(-)
Signature · 1 line
2.31.1