/linux-master/arch/x86/kernel/ |
H A D | ftrace_32.S | 45 pushl %ecx 61 movl function_trace_op, %ecx 70 popl %ecx 128 pushl %ecx 136 movl function_trace_op, %ecx # 3rd argument: ftrace_pos 146 movl PT_EIP(%esp), %ecx 147 movl %ecx, -4(%eax) 150 movl PT_EAX(%esp), %ecx 151 movl %ecx, -8(%eax) 154 popl %ecx [all...] |
H A D | head_32.S | 66 movl pa(initial_stack),%ecx 78 leal -__PAGE_OFFSET(%ecx),%esp 86 movl $pa(__bss_stop),%ecx 87 subl %edi,%ecx 88 shrl $2,%ecx 99 movl $(PARAM_SIZE/4),%ecx 107 movl $(COMMAND_LINE_SIZE/4),%ecx 148 movl pa(initial_stack),%ecx 150 leal -__PAGE_OFFSET(%ecx),%esp 173 movl $X86_EFLAGS_ID,%ecx [all...] |
H A D | head_64.S | 72 movl $MSR_GS_BASE, %ecx 220 andl %edx, %ecx 223 btsl $X86_CR4_PSE_BIT, %ecx 229 btsl $X86_CR4_PGE_BIT, %ecx 241 movl smpboot_control(%rip), %ecx 242 testl $STARTUP_READ_APICID, %ecx 248 andl $(~STARTUP_PARALLEL_MASK), %ecx 253 mov $MSR_IA32_APICBASE, %ecx 282 mov $APIC_X2APIC_ID_MSR, %ecx 287 xorl %ecx, [all...] |
H A D | hpet.c | 922 unsigned int eax, ebx, ecx, mwait_substates; local 933 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); 935 return (ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) && 936 (ecx & CPUID5_ECX_INTERRUPT_BREAK) &&
|
H A D | process.c | 859 u32 eax, ebx, ecx, edx; local 873 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); 879 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED))
|
H A D | ptrace.c | 912 R32(ecx, cx); 985 R32(ecx, cx);
|
H A D | relocate_kernel_32.S | 63 movl 20+16(%esp), %ecx /* cpu_has_pae */ 122 testl %ecx, %ecx 162 xorl %ecx, %ecx 228 movl 4(%esp), %ecx 233 movl %ecx, %ebx 237 movl (%ebx), %ecx 242 movl %ecx, %edi 248 movl %ecx, [all...] |
H A D | relocate_kernel_64.S | 193 xorl %ecx, %ecx 295 movl $512, %ecx 300 movl $512, %ecx 305 movl $512, %ecx
|
H A D | sev-shared.c | 32 u32 ecx; member in struct:cpuid_leaf 47 u32 ecx; member in struct:snp_cpuid_fn 283 ret = ret ? : __sev_cpuid_hv(leaf->fn, GHCB_CPUID_REQ_ECX, &leaf->ecx); 316 leaf->ecx = ghcb->save.rcx; 422 leaf->ecx = e->ecx; 453 leaf->ecx |= BIT(27); 457 leaf->ecx &= ~BIT(4); 459 leaf->ecx |= BIT(4); 518 leaf->ecx [all...] |
H A D | sev.c | 2147 pr_info("index=%3d fn=0x%08x subfn=0x%08x: eax=0x%08x ebx=0x%08x ecx=0x%08x edx=0x%08x xcr0_in=0x%016llx xss_in=0x%016llx reserved=0x%016llx\n", 2148 i, fn->eax_in, fn->ecx_in, fn->eax, fn->ebx, fn->ecx,
|
H A D | smpboot.c | 1280 unsigned int eax, ebx, ecx, edx; local 1296 ecx = 0; 1297 native_cpuid(&eax, &ebx, &ecx, &edx); 1303 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED)) {
|
H A D | tsc.c | 702 unsigned int eax_base_mhz, ebx, ecx, edx; local 704 cpuid(0x16, &eax_base_mhz, &ebx, &ecx, &edx);
|
H A D | verify_cpu.S | 62 cmpl $0x444d4163,%ecx 72 cmpl $0x6c65746e,%ecx 79 movl %eax, %ecx 87 andl $0x000f00f0, %ecx # mask model and extended model 88 shrl $4, %ecx 89 cmpl $0xd, %ecx 93 movl $MSR_IA32_MISC_ENABLE, %ecx 125 movl $MSR_K7_HWCR,%ecx
|
H A D | vm86_32.c | 120 unsafe_put_user(regs->pt.cx, &user->regs.ecx, Efault_end); 258 vm86regs.pt.cx = v.regs.ecx;
|
/linux-master/arch/x86/kvm/ |
H A D | cpuid.c | 47 u32 eax, ebx, ecx, edx, offset; local 48 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); 51 offset = (ecx & 0x2) ? ALIGN(ret, 64) : ret; 185 e2[i].ecx != orig->ecx || e2[i].edx != orig->edx) 206 signature[1] = entry->ecx; 503 e2[i].ecx = e[i].ecx; 569 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); 880 &entry->eax, &entry->ebx, &entry->ecx, 1562 kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx, bool exact_only) argument 1616 u32 eax, ebx, ecx, edx; local [all...] |
H A D | cpuid.h | 33 u32 *ecx, u32 *edx, bool exact_only); 111 (is_guest_vendor_amd(best->ebx, best->ecx, best->edx) || 112 is_guest_vendor_hygon(best->ebx, best->ecx, best->edx)); 120 return best && is_guest_vendor_intel(best->ebx, best->ecx, best->edx);
|
H A D | emulate.c | 352 FOP1E(op, ecx) \ 361 FOP1EEX(op, ecx) \ 2359 u32 eax, ebx, ecx, edx; local 2361 eax = ecx = 0; 2362 ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, true); 2363 return is_guest_vendor_intel(ebx, ecx, edx); 2369 u32 eax, ebx, ecx, edx; local 2379 ecx = 0x00000000; 2380 ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx, true); 2387 if (is_guest_vendor_intel(ebx, ecx, ed 3628 u32 eax, ebx, ecx, edx; local 3836 u32 eax, ecx, edx; local [all...] |
H A D | hyperv.c | 2797 ent->ecx = signature[1]; 2893 ent->ecx = signature[1];
|
H A D | kvm_emulate.h | 222 u32 *ecx, u32 *edx, bool exact_only); 412 static inline bool is_guest_vendor_intel(u32 ebx, u32 ecx, u32 edx) argument 415 ecx == X86EMUL_CPUID_VENDOR_GenuineIntel_ecx && 419 static inline bool is_guest_vendor_amd(u32 ebx, u32 ecx, u32 edx) argument 422 ecx == X86EMUL_CPUID_VENDOR_AuthenticAMD_ecx && 425 ecx == X86EMUL_CPUID_VENDOR_AMDisbetterI_ecx && 429 static inline bool is_guest_vendor_hygon(u32 ebx, u32 ecx, u32 edx) argument 432 ecx == X86EMUL_CPUID_VENDOR_HygonGenuine_ecx &&
|
H A D | reverse_cpuid.h | 175 return &entry->ecx;
|
H A D | trace.h | 429 TP_PROTO(unsigned write, u32 ecx, u64 data, bool exception), 430 TP_ARGS(write, ecx, data, exception), 434 __field( u32, ecx ) 441 __entry->ecx = ecx; 448 __entry->ecx, __entry->data, 452 #define trace_kvm_msr_read(ecx, data) trace_kvm_msr(0, ecx, data, false) 453 #define trace_kvm_msr_write(ecx, data) trace_kvm_msr(1, ecx, dat [all...] |
/linux-master/arch/x86/kvm/svm/ |
H A D | sev.c | 2335 unsigned int eax, ebx, ecx, edx, sev_asid_count, sev_es_asid_count; local 2355 cpuid(0x8000001f, &eax, &ebx, &ecx, &edx); 2361 max_sev_asid = ecx;
|
H A D | svm.c | 2977 u32 ecx = msr->index; local 2979 switch (ecx) { 3118 kvm_pr_unimpl_wrmsr(vcpu, ecx, data); 3142 kvm_pr_unimpl_wrmsr(vcpu, ecx, data);
|
H A D | vmenter.S | 58 mov $MSR_IA32_SPEC_CTRL, %ecx 74 mov $MSR_IA32_SPEC_CTRL, %ecx 238 xor %ecx, %ecx
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | sgx.c | 183 (u32)xfrm & ~sgx_12_1->ecx || 443 u32 eax, ebx, ecx, edx; local 452 cpuid_count(0x12, 0, &eax, &ebx, &ecx, &edx); 460 cpuid_count(0x12, 1, &eax, &ebx, &ecx, &edx); 462 guest_cpuid->ecx != ecx || guest_cpuid->edx != edx)
|