]> www.infradead.org Git - users/hch/dma-mapping.git/commit
platform/x86: amd-pmc: call dump registers only once
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Tue, 29 Jun 2021 08:47:59 +0000 (14:17 +0530)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jul 2021 13:09:19 +0000 (15:09 +0200)
commit162b937a8064029ed22cd1039d4dcf7f1721f940
tree2b110860d0d6188eb1a63db6dc7e7e33e56d46e5
parent4c06d35dfedf4c1fd03702e0f05292a69d020e21
platform/x86: amd-pmc: call dump registers only once

Currently amd_pmc_dump_registers() routine is being called at
multiple places. The best to call it is after command submission
to SMU.

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