]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c5a25510164397cf2852f8825ef19672f90e8d3
treeca078099cb656e5cc433fd71d81631039477dc69
parent53b671736bfc7d579a39c7798c6f6b148ad98f3f
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