OSDN Git Service

platform/x86/amd: pmc: Add a module parameter to disable workarounds
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 20 Jan 2023 19:15:19 +0000 (13:15 -0600)
committerHans de Goede <hdegoede@redhat.com>
Tue, 24 Jan 2023 12:41:13 +0000 (13:41 +0100)
commit062c1394cbda95b0c51839b5221c7267e1e7f57e
tree9f0a31c87c3dac0c4503fc7da792b735129f21da
parent8e60615e8932167057b363c11a7835da7f007106
platform/x86/amd: pmc: Add a module parameter to disable workarounds

Some users may want to live with the bugs that exist in platform
firmware and have workarounds in AMD PMC driver.

To allow them to bypass these workarounds, introduce a module
parameter.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230120191519.15926-2-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