]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/amd/pmc: Send OS_HINT command for new AMD platform
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Thu, 18 Jul 2024 15:01:19 +0000 (20:31 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 30 Jul 2024 12:33:46 +0000 (15:33 +0300)
commit426463d94d45d37c233e480231a40b9b35f10e49
tree16d7dbd2c37379cfb86debbfcf4628017461dbcd
parent4c83ee4bf32ea8e57ae2321906c067d69ad7c41b
platform/x86/amd/pmc: Send OS_HINT command for new AMD platform

To initiate the HW deep state transition, the OS_HINT command has to be
sent to the PMFW. Add this support to the platforms that belong to family
1Ah model 60h series.

Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240718150119.3427190-1-Shyam-sundar.S-k@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/pmc/pmc.c
drivers/platform/x86/amd/pmc/pmc.h