aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2022-10-20 06:37:49 -0500
committerHans de Goede <[email protected]>2022-10-24 11:27:35 +0200
commit0b6e6e149c136677f1cc859d4185b5a2db50ffbf (patch)
tree79dfcd57a5aeecc85ebff3d9b1b668dab4fdc506 /lib/mpi/mpi-sub-ui.c
parenta10d50983f7befe85acf95ea7dbf6ba9187c2d70 (diff)
platform/x86/amd: pmc: Read SMU version during suspend on Cezanne systems
commit b0c07116c894 ("platform/x86: amd-pmc: Avoid reading SMU version at probe time") adjusted the behavior for amd-pmc to avoid reading the SMU version at startup but rather on first use to improve boot time. However the SMU version is also used to decide whether to place a timer based wakeup in the OS_HINT message. If the idlemask hasn't been read before this message was sent then the SMU version will not have been cached. Ensure the SMU version has been read before deciding whether or not to run this codepath. Cc: [email protected] # 6.0 Reported-by: You-Sheng Yang <[email protected]> Tested-by: Anson Tsao <[email protected]> Fixes: b0c07116c894 ("platform/x86: amd-pmc: Avoid reading SMU version at probe time") Signed-off-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions