Searched refs:ecx (Results 1 - 25 of 204) sorted by last modified time

123456789

/linux-master/arch/x86/kernel/
H A Dsev-shared.c32 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 Dsev.c2147 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,
/linux-master/arch/x86/kernel/cpu/
H A Damd.c1069 u32 ebx, eax, ecx, edx; local
1078 cpuid(0x80000006, &eax, &ebx, &ecx, &edx);
1088 cpuid(0x80000005, &eax, &ebx, &ecx, &edx);
1107 cpuid(0x80000005, &eax, &ebx, &ecx, &edx);
H A Dcommon.c810 unsigned int n, dummy, ebx, ecx, edx, l2size; local
815 cpuid(0x80000005, &dummy, &ebx, &ecx, &edx);
816 c->x86_cache_size = (ecx>>24) + (edx>>24);
826 cpuid(0x80000006, &dummy, &ebx, &ecx, &edx);
827 l2size = ecx >> 16;
973 u32 eax, ebx, ecx, edx; local
977 cpuid(0x00000001, &eax, &ebx, &ecx, &edx);
979 c->x86_capability[CPUID_1_ECX] = ecx;
989 cpuid_count(0x00000007, 0, &eax, &ebx, &ecx, &edx);
991 c->x86_capability[CPUID_7_ECX] = ecx;
1055 u32 eax, ebx, ecx, edx; local
[all...]
H A Dtopology_amd.c13 // ecx
19 } ecx; local
25 cpuid_leaf_reg(0x80000008, CPUID_ECX, &ecx);
27 /* If the thread bits are 0, then get the shift value from ecx.cpu_nthreads */
28 sft = ecx.apicid_coreid_len;
30 sft = get_count_order(ecx.cpu_nthreads + 1);
42 topology_set_dom(tscan, TOPO_CORE_DOMAIN, sft, ecx.cpu_nthreads + 1);
70 // ecx
/linux-master/arch/x86/kvm/
H A Dx86.c1421 u32 ecx = kvm_rcx_read(vcpu); local
1424 if (kvm_pmu_rdpmc(vcpu, ecx, &data)) {
2056 u32 ecx = kvm_rcx_read(vcpu); local
2060 r = kvm_get_msr_with_filter(vcpu, ecx, &data);
2063 trace_kvm_msr_read(ecx, data);
2069 if (kvm_msr_user_space(vcpu, ecx, KVM_EXIT_X86_RDMSR, 0,
2072 trace_kvm_msr_read_ex(ecx);
2081 u32 ecx = kvm_rcx_read(vcpu); local
2085 r = kvm_set_msr_with_filter(vcpu, ecx, data);
2088 trace_kvm_msr_write(ecx, dat
8486 emulator_get_cpuid(struct x86_emulate_ctxt *ctxt, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx, bool exact_only) argument
[all...]
H A Dcpuid.c47 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,
1541 kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx, bool exact_only) argument
1595 u32 eax, ebx, ecx, edx; local
[all...]
H A Dcpuid.h33 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 Dreverse_cpuid.h175 return &entry->ecx;
H A Dtrace.h429 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/vmx/
H A Dvmx.c6673 "movzbl (%[flush_pages], %%" _ASM_AX "), %%ecx\n\t"
6682 "movzbl (%[flush_pages], %%" _ASM_AX "), %%ecx\n\t"
6689 : "eax", "ebx", "ecx", "edx");
7701 cr4_fixed1_update(X86_CR4_VMXE, ecx, feature_bit(VMX));
7702 cr4_fixed1_update(X86_CR4_SMXE, ecx, feature_bit(SMX));
7703 cr4_fixed1_update(X86_CR4_PCIDE, ecx, feature_bit(PCID));
7704 cr4_fixed1_update(X86_CR4_OSXSAVE, ecx, feature_bit(XSAVE));
7710 cr4_fixed1_update(X86_CR4_PKE, ecx, feature_bit(PKU));
7711 cr4_fixed1_update(X86_CR4_UMIP, ecx, feature_bit(UMIP));
7712 cr4_fixed1_update(X86_CR4_LA57, ecx, feature_bi
[all...]
H A Dvmenter.S126 mov $MSR_IA32_SPEC_CTRL, %ecx
242 xor %ecx, %ecx
/linux-master/arch/x86/kvm/svm/
H A Dvmenter.S58 mov $MSR_IA32_SPEC_CTRL, %ecx
74 mov $MSR_IA32_SPEC_CTRL, %ecx
238 xor %ecx, %ecx
H A Dsvm.c2976 u32 ecx = msr->index; local
2978 switch (ecx) {
3117 kvm_pr_unimpl_wrmsr(vcpu, ecx, data);
3141 kvm_pr_unimpl_wrmsr(vcpu, ecx, data);
H A Dsev.c2198 unsigned int eax, ebx, ecx, edx, sev_asid_count, sev_es_asid_count; local
2218 cpuid(0x8000001f, &eax, &ebx, &ecx, &edx);
2224 max_sev_asid = ecx;
/linux-master/arch/x86/events/intel/
H A Dlbr.c1581 union cpuid28_ecx ecx; local
1588 cpuid(28, &eax.full, &ebx.full, &ecx.full, &unused_edx);
1604 x86_pmu.lbr_mispred = ecx.split.lbr_mispred;
1605 x86_pmu.lbr_timed_lbr = ecx.split.lbr_timed_lbr;
1606 x86_pmu.lbr_br_type = ecx.split.lbr_br_type;
1607 x86_pmu.lbr_counters = ecx.split.lbr_counters;
/linux-master/tools/arch/x86/include/uapi/asm/
H A Dkvm.h233 __u32 ecx; member in struct:kvm_cpuid_entry
251 __u32 ecx; member in struct:kvm_cpuid_entry2
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c944 unsigned int eax, ebx, ecx, edx; local
946 __cpuid(0x80000007, eax, ebx, ecx, edx);
3036 unsigned int eax, ebx, ecx, edx; local
3039 eax = ebx = ecx = edx = 0;
3040 __cpuid(1, eax, ebx, ecx, edx);
3054 eax = ebx = ecx = edx = 0;
3055 __cpuid(0x80000001, eax, ebx, ecx, edx);
3056 topology_extensions = ecx & (1 << 22);
3061 eax = ebx = ecx = edx = 0;
3062 __cpuid(0x8000001e, eax, ebx, ecx, ed
6236 unsigned int eax, ebx, ecx, edx; local
6734 unsigned int eax, ebx, ecx, edx; local
[all...]
/linux-master/include/asm-generic/
H A Dhyperv-tlfs.h833 u32 ecx; member in struct:hv_hypervisor_version_info::__anon136
/linux-master/drivers/platform/x86/
H A Dtoshiba_acpi.c2589 u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx,
2603 regs->ecx = out[2];
H A Dacer-wmi.c778 u32 ecx; member in struct:wmab_args
785 u32 ecx; member in struct:wmab_ret
879 args.ecx = args.edx = 0;
921 args.ebx = args.ecx = args.edx = 0;
984 args.ecx = args.edx = 0;
/linux-master/arch/x86/entry/
H A Dentry_64.S823 movl %ds, %ecx
826 movl %es, %ecx
829 movl %fs, %ecx
832 movl %gs, %ecx
920 movl $MSR_GS_BASE, %ecx
1038 movl %ecx, %eax /* zero extend */
1532 movl $5, %ecx
1546 sub $1, %ecx
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h621 uint32_t *ecx, uint32_t *edx)
624 *ecx = index;
629 "=c" (*ecx),
631 : "0" (*eax), "2" (*ecx)
637 uint32_t *ecx, uint32_t *edx)
639 return __cpuid(function, 0, eax, ebx, ecx, edx);
644 uint32_t eax, ebx, ecx, edx; local
646 cpuid(1, &eax, &ebx, &ecx, &edx);
663 uint32_t eax, ebx, ecx, edx; local
665 cpuid(0, &eax, &ebx, &ecx,
619 __cpuid(uint32_t function, uint32_t index, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx) argument
635 cpuid(uint32_t function, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx) argument
[all...]
/linux-master/arch/x86/include/uapi/asm/
H A Dkvm.h233 __u32 ecx; member in struct:kvm_cpuid_entry
251 __u32 ecx; member in struct:kvm_cpuid_entry2
/linux-master/arch/x86/boot/compressed/
H A Defi_mixed.S99 movl %ecx, 0x8(%rsp)
153 1: popl %ecx
154 leal (efi32_boot_args - 1b)(%ecx), %ebx
158 leal (_bss - 1b)(%ecx), %edi
159 leal (_ebss - 1b)(%ecx), %ecx
160 subl %edi, %ecx
161 shrl $2, %ecx
166 popl %ecx
197 movl $MSR_EFER, %ecx
[all...]

Completed in 383 milliseconds

123456789