aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSuma Hegde <[email protected]>2024-06-03 08:15:12 +0000
committerHans de Goede <[email protected]>2024-06-03 11:57:28 +0200
commit77f1972bdcf7513293e8bbe376b9fe837310ee9c (patch)
tree7bde29677a608b51bf7ceca7c36afcc3f8bd1f11 /lib/memory-notifier-error-inject.c
parent306aec7eea8c83e8212f4dd6e5b358c508e3e466 (diff)
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]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions