OSDN Git Service

platform/x86: amd-pmc: Correct usage of SMU version
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 20 Jan 2022 17:44:39 +0000 (11:44 -0600)
committerHans de Goede <hdegoede@redhat.com>
Mon, 24 Jan 2022 10:14:49 +0000 (11:14 +0100)
commitb8fb0d9b47660ddb8a8256412784aad7cee9f21a
treeca078099cb656e5cc433fd71d81631039477dc69
parentf8c28b93d2628610cf793b3528f6f40fd1c7cd5b
platform/x86: amd-pmc: Correct usage of SMU version

Yellow carp has been outputting versions like `1093.24.0`, but this
is supposed to be 69.24.0. That is the MSB is being interpreted
incorrectly.

The MSB is not part of the major version, but has generally been
treated that way thus far.  It's actually the program, and used to
distinguish between two programs from a similar family but different
codebase.

Link: https://patchwork.freedesktop.org/patch/469993/
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220120174439.12770-1-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd-pmc.c