]> git.baikalelectronics.ru Git - kernel.git/commit
virt: sevguest: Change driver name to reflect generic SEV support
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 20 Apr 2022 14:14:13 +0000 (09:14 -0500)
committerBorislav Petkov <bp@suse.de>
Thu, 21 Apr 2022 09:48:24 +0000 (11:48 +0200)
commit0296c89f20332d43102f1397ff278e3834a3aaec
tree795262f066a0700d17988258d9bb17332ffeccea
parentc12ca479fdbd10e962f6e72ff9e12abc56917db0
virt: sevguest: Change driver name to reflect generic SEV support

During patch review, it was decided the SNP guest driver name should not
be SEV-SNP specific, but should be generic for use with anything SEV.
However, this feedback was missed and the driver name, and many of the
driver functions and structures, are SEV-SNP name specific. Rename the
driver to "sev-guest" (to match the misc device that is created) and
update some of the function and structure names, too.

While in the file, adjust the one pr_err() message to be a dev_err()
message so that the message, if issued, uses the driver name.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/307710bb5515c9088a19fd0b930268c7300479b2.1650464054.git.thomas.lendacky@amd.com
arch/x86/include/asm/sev.h
arch/x86/kernel/sev.c
drivers/virt/coco/sevguest/sevguest.c