diff options
author | Suma Hegde <suma.hegde@amd.com> | 2024-06-03 10:15:12 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-06-03 11:57:28 +0200 |
commit | 77f1972bdcf7513293e8bbe376b9fe837310ee9c (patch) | |
tree | 7bde29677a608b51bf7ceca7c36afcc3f8bd1f11 /kernel/watchdog_buddy.c | |
parent | platform/x86: dell-smbios: Simplify error handling (diff) | |
download | linux-77f1972bdcf7513293e8bbe376b9fe837310ee9c.tar.xz linux-77f1972bdcf7513293e8bbe376b9fe837310ee9c.zip |
platform/x86/amd/hsmp: Check HSMP support on AMD family of processors
HSMP interface is supported only on few x86 processors from AMD.
Accessing HSMP registers on rest of the platforms might cause
unexpected behaviour. So add a check.
Also unavailability of this interface on rest of the processors
is not an error. Hence, use pr_info() instead of the pr_err() to
log the message.
Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20240603081512.142909-1-suma.hegde@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'kernel/watchdog_buddy.c')
0 files changed, 0 insertions, 0 deletions