summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/amd-pmc.c
diff options
context:
space:
mode:
authorSanket Goswami <Sanket.Goswami@amd.com>2021-09-21 17:30:20 +0530
committerHans de Goede <hdegoede@redhat.com>2021-09-28 16:24:09 +0200
commit7dbcaf743df5a0b51694c9b070e30d702fdb3fe6 (patch)
treec635bebd638980efbcbe7676c17b6f524a8cc517 /drivers/platform/x86/amd-pmc.c
parent9c93f8f4fc8cd938bc0ee8d121809c6941e03347 (diff)
platform/x86: amd-pmc: Add a message to print resume time info
Add a message to print the resume time information obtained from the smu_metrics structure. Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com> Link: https://lore.kernel.org/r/20210921120020.19454-1-Sanket.Goswami@amd.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/amd-pmc.c')
-rw-r--r--drivers/platform/x86/amd-pmc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/amd-pmc.c b/drivers/platform/x86/amd-pmc.c
index d4d2ba886f4e..548432a2ea65 100644
--- a/drivers/platform/x86/amd-pmc.c
+++ b/drivers/platform/x86/amd-pmc.c
@@ -217,6 +217,8 @@ static int smu_fw_info_show(struct seq_file *s, void *unused)
"Unknown/Fail");
seq_printf(s, "Time (in us) to S0i3: %lld\n", table.timeentering_s0i3_lastcapture);
seq_printf(s, "Time (in us) in S0i3: %lld\n", table.timein_s0i3_lastcapture);
+ seq_printf(s, "Time (in us) to resume from S0i3: %lld\n",
+ table.timeto_resume_to_os_lastcapture);
seq_puts(s, "\n=== Active time (in us) ===\n");
for (idx = 0 ; idx < SOC_SUBSYSTEM_IP_MAX ; idx++) {