]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: hfi: Add power management callback
authorPerry Yuan <Perry.Yuan@amd.com>
Mon, 9 Jun 2025 20:05:13 +0000 (15:05 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 7 Jul 2025 20:26:37 +0000 (22:26 +0200)
commit263e66f9c35922d0cfd961df6d7a492820143792
treeaf74f1638ca048c02c4117ecd3d2ee9cb177ffaf
parentbb20421c05fc0a0fd70a3f8af076319f7dec4cf1
platform/x86: hfi: Add power management callback

Introduce power management callbacks for the `amd_hfi` driver.  Specifically,
add the `suspend` and `resume` callbacks to handle the necessary operations
during system low power states and wake-up.

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-9-superm1@kernel.org
drivers/platform/x86/amd/hfi/hfi.c