]> Git Repo - linux.git/commit
platform/x86/amd/hsmp: Check HSMP support on AMD family of processors
authorSuma Hegde <[email protected]>
Mon, 3 Jun 2024 08:15:12 +0000 (08:15 +0000)
committerHans de Goede <[email protected]>
Mon, 3 Jun 2024 09:57:28 +0000 (11:57 +0200)
commit77f1972bdcf7513293e8bbe376b9fe837310ee9c
tree7bde29677a608b51bf7ceca7c36afcc3f8bd1f11
parent306aec7eea8c83e8212f4dd6e5b358c508e3e466
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 <[email protected]>
Reviewed-by: Naveen Krishna Chatradhi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
drivers/platform/x86/amd/hsmp.c
This page took 0.061983 seconds and 4 git commands to generate.