diff options
author | Perry Yuan <Perry.Yuan@amd.com> | 2025-06-09 15:05:12 -0500 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-07-07 22:24:40 +0200 |
commit | bb20421c05fc0a0fd70a3f8af076319f7dec4cf1 (patch) | |
tree | 0983d3c19ce342737b379630d11b7bffca109289 /drivers/cdx/controller/cdx_controller.c | |
parent | b6ffe4d9e074561f95a728e1f822ed15e533ec6e (diff) |
platform/x86: hfi: Add online and offline callback support
There are some firmware parameters that need to be configured
when a CPU core is brought online or offline.
When a CPU is online, it will initialize the workload classification
parameters to CPU firmware which will trigger the workload class ID
updating function.
Once the CPU is going offline, it will need to disable the workload
classification function and clear the history.
Signed-off-by: Perry Yuan <Perry.Yuan@amd.com>
Co-developed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/20250609200518.3616080-8-superm1@kernel.org
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions