]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: amd-pmc: Check s0i3 cycle status
authorSanket Goswami <Sanket.Goswami@amd.com>
Thu, 16 Sep 2021 12:41:30 +0000 (18:11 +0530)
committerHans de Goede <hdegoede@redhat.com>
Thu, 16 Sep 2021 13:26:36 +0000 (15:26 +0200)
commitc5d600e455879d24b4ecef3230bafb40f70f8034
tree2d4565d5de1d3322c1f7fcccce1b877aed5efbc3
parenta6f75d15a4e7f0a1816b13e59ccee86089df1bfd
platform/x86: amd-pmc: Check s0i3 cycle status

As the PM firmware returns the status of the last s0i3 in the smu_metrics
structure, the existing name "s0i3_cyclecount" seems to be a misnomer.
Change it accordingly to "s0i3_last_entry_status".

Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://lore.kernel.org/r/20210916124130.2581-1-Sanket.Goswami@amd.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd-pmc.c