diff options
| author | Kurt Borja <kuurtb@gmail.com> | 2025-03-29 04:32:22 -0300 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-04-11 13:04:46 +0300 |
| commit | 32b6372ddd4385a47a6a4b6ccff0c22b7be8765a (patch) | |
| tree | e643ff5314b5c43b012b1c52aa838f35432f9c01 /tools/perf/scripts/python/gecko.py | |
| parent | 77bb2ec55700ee3af0cd902398fa903363826679 (diff) | |
platform/x86: alienware-wmi-wmax: Improve platform profile probe
Get and store the AWCC system description in alienware_awcc_setup()
instead of awcc_platform_profile_probe() and get the correct offset by
iterating through each member of the system_description.
Then add a debug message for unmatched profiles and replace set_bit()
with it's non-atomic version __set_bit() because the choices bitmap only
belongs to this thread.
In the process also check for a malformed system description by defining
an arbitrary limit of resource count.
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250329-hwm-v7-5-a14ea39d8a94@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
