summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/cpuid.h
Commit message (Collapse)AuthorAgeFilesLines
* x86/cpuid: Carve out all CPUID functionalityBorislav Petkov2022-11-291-2/+139
| | | | | | | | | Carve it out into a special header, where it belongs. No functional changes. Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20221124164150.3040-1-bp@alien8.de
* KVM: x86: Move lookup of indexed CPUID leafs to helperMichael Roth2022-04-071-0/+34
Determining which CPUID leafs have significant ECX/index values is also needed by guest kernel code when doing SEV-SNP-validated CPUID lookups. Move this to common code to keep future updates in sync. Signed-off-by: Michael Roth <michael.roth@amd.com> Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Venu Busireddy <venu.busireddy@oracle.com> Link: https://lore.kernel.org/r/20220307213356.2797205-31-brijesh.singh@amd.com