Hello Mohamed et al, On 05/06/2024 09.43, Luke Jones wrote: > > I am saying I would like to see ASUS_THROTTLE_THERMAL_POLICY_FULLSPEED removed, or placed somewhere else such as in <sysfs>/asus-nb-wmi/hwmon/hwmon3/pwm1_enable. > > It certainly shouldn't be included in platform_profile and I'm not keen on seeing it in thorttle_thermal_policy either. > > A lot of this reasoning is now coming from the refactor I've just done of asus-wmi and the "features" such as this one to place them under firmware_attributes class and begin deprecation of them in asus_wmi. From what I've achieved so far with it it is much *much* more suitable than this ad-hoc style of adding features I've been doing here (I'll submit this work soon, it repalces the last patch series I did). > > In light of the above I'm considering the possibility of removing throttle_thermal_policy completely to wholly favour the use of platform_profile. It doesn't make all that much sense to have two different things manipulating the same thing - and as such I don't think the "full speed fan" setting fits at all with platform_profile as it is not a performance tweak. > > Mohamed, I would be happy to include the Vivo support so long as: > 1. the fullspeed setting is removed > 2. the modes map correctly to platform_profile > > I hope this makes sense. Very sorry about the previous brief response (I was recovering from surgery trauma). I recently created my own patch to toggle this control[^1]. I thought it was an alternative fan_boost_mode because the dev_id's were one apart. But with more testing I've realized it also controls the GPU power and supporting the standard platform_profile is better, so I prefer this patch. I tested it and it works. However, it has a couple issues: 1. This dev_id isn't Vivobook specific. My Zenbook UX3404VC (2023) has this control. 2. The Zenbook only supports values 0-2 (standard, quiet and performance). Calling the method with 3 causes the KEYBOARD_KEY event to fire instead of adjusting the GPU power and fan speed. So I would suggest to remove the fullspeed setting and rename the constants, perhaps to ASUS_THROTTLE_THERMAL_POLICY2. Mohamed, if you are busy I could also create a new version of this patch with the requested fixes. I wonder if the existing fan_boost_mode should also be considered a platform_profile? ~ Dev [^1]: https://lore.kernel.org/platform-driver-x86/20240620082223.20178-1-dev@xxxxxxxxx/