Searched refs:boot_cpu_data (Results 1 - 25 of 206) sorted by last modified time

123456789

/linux-master/arch/x86/mm/
H A Dfault.c116 struct cpuinfo_x86 *c = &boot_cpu_data;
423 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD
424 || boot_cpu_data.x86 != 0xf)
/linux-master/arch/x86/kernel/apic/
H A Dapic.c201 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD &&
202 boot_cpu_data.x86 >= 0xf)
206 if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)
546 if (boot_cpu_data.microcode >= rev)
1216 if (modern_apic() || boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
1320 if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) &&
1321 (boot_cpu_data.x86 == 15))
1954 set_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC);
1957 if (boot_cpu_data.x86 >= 6) {
1980 if (boot_cpu_data
[all...]
/linux-master/arch/x86/include/asm/
H A Dprocessor.h181 extern struct cpuinfo_x86 boot_cpu_data;
192 #define cache_line_size() (boot_cpu_data.x86_cache_alignment)
198 return BIT_ULL(boot_cpu_data.x86_cache_bits - 1 - PAGE_SHIFT);
H A Dcpufeature.h146 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit)
154 set_cpu_cap(&boot_cpu_data, bit); \
170 * it to manifest the address of boot_cpu_data in a register, fouling
185 [cap_byte] "i" (&((const char *)boot_cpu_data.x86_capability)[bit >> 3])
205 #define boot_cpu_has_bug(bit) cpu_has_bug(&boot_cpu_data, (bit))
206 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit))
212 #define CPU_FEATURE_TYPEVAL boot_cpu_data.x86_vendor, boot_cpu_data.x86, \
213 boot_cpu_data.x86_model
/linux-master/arch/x86/xen/
H A Denlighten_pv.c1388 get_cpu_cap(&boot_cpu_data);
1398 get_cpu_address_sizes(&boot_cpu_data);
/linux-master/arch/x86/kernel/cpu/
H A Damd.c36 WARN_ONCE((boot_cpu_data.x86 != 0xf),
53 WARN_ONCE((boot_cpu_data.x86 != 0xf),
667 if (c == &boot_cpu_data)
858 switch (boot_cpu_data.x86_model) {
869 if (boot_cpu_data.microcode < good_rev)
1183 struct cpuinfo_x86 *c = &boot_cpu_data;
1206 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD)
H A Dcpuid-deps.c98 clear_cpu_cap(&boot_cpu_data, feature);
H A Dbugs.c1082 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD ||
1083 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) {
1107 if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD &&
1108 boot_cpu_data.x86_vendor != X86_VENDOR_HYGON)
1139 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) {
1508 if (cmd == SPECTRE_V2_CMD_IBRS && boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) {
1706 boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) {
1850 (boot_cpu_data.x86_vendor == X86_VENDOR_AMD ||
1851 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)) {
2426 override_cache_bits(&boot_cpu_data);
[all...]
H A Dcommon.c517 if (c == &boot_cpu_data) {
1675 early_identify_cpu(&boot_cpu_data);
1879 * On SMP, boot_cpu_data holds the common feature set between
1882 * executed, c == &boot_cpu_data.
1884 if (c != &boot_cpu_data) {
1887 boot_cpu_data.x86_capability[i] &= c->x86_capability[i];
1891 c->x86_capability[i] |= boot_cpu_data.x86_capability[i];
1936 identify_cpu(&boot_cpu_data);
1942 cpu_detect_tlb(&boot_cpu_data);
1952 BUG_ON(c == &boot_cpu_data);
[all...]
/linux-master/drivers/acpi/x86/
H A Ds2idle.c357 return boot_cpu_data.x86_vendor == X86_VENDOR_AMD;
/linux-master/arch/x86/kvm/
H A Dx86.c9684 __cr4_reserved_bits(cpu_has, &boot_cpu_data))
H A Dcpuid.c609 sizeof(boot_cpu_data.x86_capability));
611 memcpy(&kvm_cpu_caps, &boot_cpu_data.x86_capability,
1231 entry->edx &= boot_cpu_data.x86_power;
1250 g_phys_as = boot_cpu_data.x86_phys_bits;
1370 boot_cpu_data.x86_vendor != X86_VENDOR_CENTAUR)
H A Dcpuid.h157 return boot_cpu_data.x86_model == guest_cpuid_model(vcpu);
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.c2523 if (boot_cpu_data.x86 == 0x6) {
2524 switch (boot_cpu_data.x86_model) {
8506 * On pre-MKTME system, boot_cpu_data.x86_phys_bits equals to
8508 * boot_cpu_data.x86_phys_bits holds the actual physical address
8512 if (boot_cpu_data.x86_phys_bits != kvm_get_shadow_phys_bits())
8513 me_mask = rsvd_bits(boot_cpu_data.x86_phys_bits,
/linux-master/arch/x86/kvm/svm/
H A Dsvm.c516 if (osvw_len == 0 && boot_cpu_data.x86 == 0x10)
645 if (cpu_has(&boot_cpu_data, X86_FEATURE_OSVW)) {
5070 mask_bit = boot_cpu_data.x86_phys_bits;
/linux-master/arch/x86/events/intel/
H A Dlbr.c1460 if (boot_cpu_data.x86_model == 28
1461 && boot_cpu_data.x86_stepping < 10) {
/linux-master/arch/x86/events/
H A Dcore.c2062 switch (boot_cpu_data.x86_vendor) {
/linux-master/drivers/iommu/amd/
H A Dinit.c1712 if ((boot_cpu_data.x86 != 0x15) ||
1713 (boot_cpu_data.x86_model < 0x10) ||
1714 (boot_cpu_data.x86_model > 0x1f))
1743 if ((boot_cpu_data.x86 != 0x15) ||
1744 (boot_cpu_data.x86_model < 0x30) ||
1745 (boot_cpu_data.x86_model > 0x3f))
3432 (boot_cpu_data.x86 != 0x17))
3436 if (boot_cpu_data.microcode >= 0x08001205)
3439 if ((boot_cpu_data.microcode >= 0x08001126) &&
3440 (boot_cpu_data
[all...]
/linux-master/arch/mips/kernel/
H A Dptrace.c131 if (!cpu_has_watch || boot_cpu_data.watch_reg_use_cnt == 0)
145 __put_user(boot_cpu_data.watch_reg_use_cnt,
147 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) {
153 __put_user(boot_cpu_data.watch_reg_masks[i],
173 if (!cpu_has_watch || boot_cpu_data.watch_reg_use_cnt == 0)
178 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) {
197 for (i = 0; i < boot_cpu_data.watch_reg_use_cnt; i++) {
355 mask = boot_cpu_data.fpu_msk31;
377 __put_user(boot_cpu_data.fpu_id, data + 65);
450 membuf_write(&to, &boot_cpu_data
[all...]
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c1549 boot_cpu_data.x86, boot_cpu_data.x86_model);
1553 boot_cpu_data.x86, (boot_cpu_data.x86_model & 0xf0) >> 4);
/linux-master/arch/x86/kernel/
H A Dsetup.c131 struct cpuinfo_x86 boot_cpu_data __read_mostly;
132 EXPORT_SYMBOL(boot_cpu_data); variable
730 memcpy(&boot_cpu_data, &new_cpu_data, sizeof(new_cpu_data));
753 boot_cpu_data.x86_phys_bits = MAX_PHYSMEM_BITS;
816 iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1;
/linux-master/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c107 if (!((boot_cpu_data.x86_vendor == X86_VENDOR_AMD) &&
108 (boot_cpu_data.x86 >= 0x0f)))
666 high_width = (boot_cpu_data.x86_phys_bits - (32 - PAGE_SHIFT) + 3) / 4;
1028 if (mtrr_if == &generic_mtrr_ops && boot_cpu_data.x86 == 6 &&
1029 boot_cpu_data.x86_model == 1 &&
1030 boot_cpu_data.x86_stepping <= 7) {
/linux-master/arch/x86/kernel/cpu/mce/
H A Dcore.c127 m->cpuvendor = boot_cpu_data.x86_vendor;
133 m->microcode = boot_cpu_data.microcode;
1250 if (boot_cpu_data.x86_vendor == X86_VENDOR_ZHAOXIN) {
2113 if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
2115 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL)
2383 if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL ||
2384 boot_cpu_data.x86_vendor == X86_VENDOR_HYGON ||
2385 boot_cpu_data.x86_vendor == X86_VENDOR_AMD ||
2386 boot_cpu_data.x86_vendor == X86_VENDOR_ZHAOXIN)
2796 if (!mce_available(&boot_cpu_data)) {
[all...]
/linux-master/sound/soc/intel/avs/boards/
H A Des8336.c156 switch (boot_cpu_data.x86_model) {
/linux-master/arch/x86/mm/pat/
H A Dmemtype.c258 struct cpuinfo_x86 *c = &boot_cpu_data;

Completed in 336 milliseconds

123456789