Searched refs:cpuid_leaf (Results 1 – 6 of 6) sorted by relevance
| /linux/arch/x86/kernel/cpu/ |
| H A D | bhyve.c | 42 unsigned int cpuid_leaf = bhyve_cpuid_base | CPUID_BHYVE_FEATURES; in bhyve_features() local 44 if (bhyve_cpuid_max < cpuid_leaf) in bhyve_features() 47 return cpuid_eax(cpuid_leaf); in bhyve_features()
|
| H A D | topology_amd.c | 82 cpuid_leaf(0x8000001e, &leaf); in parse_8000_001e()
|
| /linux/arch/x86/boot/startup/ |
| H A D | sev-shared.c | 169 static int __sev_cpuid_hv_msr(struct cpuid_leaf *leaf) in __sev_cpuid_hv_msr() 262 snp_cpuid_get_validated_func(struct cpuid_leaf *leaf) in snp_cpuid_get_validated_func() 297 static void snp_cpuid_hv_msr(void *ctx, struct cpuid_leaf *leaf) in snp_cpuid_hv_msr() 304 snp_cpuid_postprocess(void (*cpuid_fn)(void *ctx, struct cpuid_leaf *leaf), in snp_cpuid_postprocess() 305 void *ctx, struct cpuid_leaf *leaf) in snp_cpuid_postprocess() 307 struct cpuid_leaf leaf_hv = *leaf; in snp_cpuid_postprocess() 399 int snp_cpuid(void (*cpuid_fn)(void *ctx, struct cpuid_leaf *leaf), in snp_cpuid() 400 void *ctx, struct cpuid_leaf *leaf) in snp_cpuid() 447 struct cpuid_leaf leaf; in do_vc_no_ghcb()
|
| /linux/arch/x86/include/asm/cpuid/ |
| H A D | api.h | 139 #define cpuid_leaf(leaf, regs) { \ macro 231 cpuid_leaf(0x2, regs); in cpuid_leaf_0x2()
|
| /linux/arch/x86/include/asm/ |
| H A D | sev.h | 546 struct cpuid_leaf { struct 557 int snp_cpuid(void (*cpuid_fn)(void *ctx, struct cpuid_leaf *leaf), argument 558 void *ctx, struct cpuid_leaf *leaf);
|
| /linux/arch/x86/coco/sev/ |
| H A D | vc-shared.c | 463 static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf) in __sev_cpuid_hv_ghcb() 501 static void snp_cpuid_hv_ghcb(void *p, struct cpuid_leaf *leaf) in snp_cpuid_hv_ghcb() 513 struct cpuid_leaf leaf; in vc_handle_cpuid_snp()
|