OSDN Git Service

platform/x86/amd: pmc: Write dummy postcode into the STB DRAM
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Mon, 6 Feb 2023 15:08:53 +0000 (20:38 +0530)
committerHans de Goede <hdegoede@redhat.com>
Fri, 10 Feb 2023 16:16:51 +0000 (17:16 +0100)
commitb0d4bb973539f5e60fff37ea0f211598cac614a8
tree15ab5a1e8d6f65e28bd67755a14d59cb446e5bc6
parent1ecfd30960d4377c2d85181608936dedd35bb171
platform/x86/amd: pmc: Write dummy postcode into the STB DRAM

Based on the recommendation from the PMFW team in order to get the
recent telemetry data present on the STB DRAM the driver is required
to send one dummy write to the STB buffer, so it internally triggers
the PMFW to emit the latest telemetry data in the STB DRAM region.

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