When the CPU SMT changes on the fly, send the message to pmfw to notify the SMT status changed. Changes in v2: 1/. Embed the smt notifer callback into "struct smu_context" structure. 2/. Correct the PPSMC_Message_Count value. 3./ Improve several code styles and others. Wenyou Yang (3): cpu/smt: add a notifier to notify the SMT changes drm/amd/pm: send the SMT enable message to pmfw drm/amd/pm: vangogh: support to send SMT enable message drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 39 +++++++++++++++++++ drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 7 ++++ .../pm/swsmu/inc/pmfw_if/smu_v11_5_ppsmc.h | 3 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 3 +- .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 8 ++++ include/linux/cpu.h | 5 +++ kernel/cpu.c | 10 ++++- 7 files changed, 72 insertions(+), 3 deletions(-) -- 2.39.2