diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2021-09-09 01:58:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-18 21:17:21 +0300 |
commit | 411d939db1d05be79f29cdeef87b1f9a46a54121 (patch) | |
tree | 94a01630bab2207c58da6acfd4ea3c2cf406b767 /lib/string_helpers.c | |
parent | d1568346180023918716cc23cc58ba0ab7ca80cf (diff) | |
download | linux-411d939db1d05be79f29cdeef87b1f9a46a54121.tar.xz |
x86/sev: Add an x86 version of cc_platform_has()
commit aa5a461171f98fde0df78c4f6b5018a1e967cf81 upstream.
Introduce an x86 version of the cc_platform_has() function. This will be
used to replace vendor specific calls like sme_active(), sev_active(),
etc.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210928191009.32551-4-bp@alien8.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions