]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/sev: Require the RMPREAD instruction after Zen4
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 2 Dec 2024 20:50:48 +0000 (14:50 -0600)
committerBorislav Petkov (AMD) <bp@alien8.de>
Sat, 14 Dec 2024 09:55:28 +0000 (10:55 +0100)
commit4972808d6f4a2b4c10eb3035d769f2e1a003da2f
tree48c1022ea3cf87744e967a1519c0f7b8ed594c31
parent0cbc0258415814c86eb6db50237ae3d90fbf3b3d
x86/sev: Require the RMPREAD instruction after Zen4

Limit usage of the non-architectural RMP format to Zen3/Zen4 processors.
The RMPREAD instruction, with architectural defined output, is available
and should be used for RMP access beyond Zen4.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikunj A Dadhania <nikunj@amd.com>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Reviewed-by: Ashish Kalra <ashish.kalra@amd.com>
Link: https://lore.kernel.org/r/5be0093e091778a151266ea853352f62f838eb99.1733172653.git.thomas.lendacky@amd.com
arch/x86/kernel/cpu/amd.c