search for: x86_num_cor

Displaying 6 results from an estimated 6 matches for "x86_num_cor".

Did you mean: x86_num_cores
2019 May 15
1
[PATCH] Add support for Hygon Dhyana processor
...cpu_devs[X86_VENDOR_UNKNOWN] = &unknown_cpu_dev; } @@ -389,6 +395,7 @@ void generic_identify(struct cpuinfo_x86 *c) /* Detecting the number of cores */ switch (c->x86_vendor) { case X86_VENDOR_AMD: + case X86_VENDOR_HYGON: if (xlvl >= 0x80000008) { c->x86_num_cores = (cpuid_ecx(0x80000008) & 0xff) + 1; if (c->x86_num_cores & (c->x86_num_cores - 1)) -- 2.17.1
2020 Sep 16
0
[RFC PATCH] x86_64: Add support for Hygon Dhyana processor
...cpu_devs[X86_VENDOR_UNKNOWN] = &unknown_cpu_dev; } @@ -389,6 +395,7 @@ void generic_identify(struct cpuinfo_x86 *c) /* Detecting the number of cores */ switch (c->x86_vendor) { case X86_VENDOR_AMD: + case X86_VENDOR_HYGON: if (xlvl >= 0x80000008) { c->x86_num_cores = (cpuid_ecx(0x80000008) & 0xff) + 1; if (c->x86_num_cores & (c->x86_num_cores - 1)) -- 2.17.1
2010 Mar 21
0
[PATCH] gpllib: fix call to CPUID function 4
...a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c index fa21204..f33e895 100644 --- a/com32/gpllib/cpuid.c +++ b/com32/gpllib/cpuid.c @@ -232,8 +232,10 @@ void generic_identify(struct cpuinfo_x86 *c) } break; case X86_VENDOR_INTEL: - cpuid(0x4, &eax, &ebx, &ecx, &edx); - c->x86_num_cores = ((eax & 0xfc000000) >> 26) + 1; + if (c->cpuid_level >= 0x00000004) { + cpuid(0x4, &eax, &ebx, &ecx, &edx); + c->x86_num_cores = ((eax & 0xfc000000) >> 26) + 1; + } break; default: c->x86_num_cores = 1;
2011 Apr 02
2
[patch] ~420 seconds in cpu_detect
...->x86_vendor]->c_vendor, sizeof(cpu->vendor)); */ strlcpy(cpu->model, c->x86_vendor_id, sizeof(cpu->vendor)); strlcpy(cpu->model, c->x86_model_id, sizeof(cpu->model)); print_timer(et, "family-vendor strings"); cpu->num_cores = c->x86_num_cores; cpu->l1_data_cache_size = c->x86_l1_data_cache_size; cpu->l1_instruction_cache_size = c->x86_l1_instruction_cache_size; cpu->l2_cache_size = c->x86_l2_cache_size; print_timer(et, "cores-cachesizes"); } -------------- next part -------------- A non-tex...
2011 Apr 02
2
[patch] ~420 seconds in cpu_detect
...->x86_vendor]->c_vendor, sizeof(cpu->vendor)); */ strlcpy(cpu->model, c->x86_vendor_id, sizeof(cpu->vendor)); strlcpy(cpu->model, c->x86_model_id, sizeof(cpu->model)); print_timer(et, "family-vendor strings"); cpu->num_cores = c->x86_num_cores; cpu->l1_data_cache_size = c->x86_l1_data_cache_size; cpu->l1_instruction_cache_size = c->x86_l1_instruction_cache_size; cpu->l2_cache_size = c->x86_l2_cache_size; print_timer(et, "cores-cachesizes"); } -------------- next part -------------- A non-tex...
2006 Feb 24
2
r56 - trunk/debian
...tup.c 2006-02-17 00:45:18.203526012 +0100 ++++ linux-2.6.12-xen/arch/x86_64/kernel/setup.c 2006-02-25 00:12:30.026558792 +0100 @@ -729,8 +729,6 @@ static void __init amd_detect_cmp(struct int cpu = smp_processor_id(); int node = 0; @@ -7192,7 +7192,7 @@ while ((1 << bits) < c->x86_num_cores) diff -Nurp pristine-linux-2.6.12/arch/x86_64/kernel/smpboot.c linux-2.6.12-xen/arch/x86_64/kernel/smpboot.c --- pristine-linux-2.6.12/arch/x86_64/kernel/smpboot.c 2005-06-17 21:48:29.000000000 +0200 -+++ linux-2.6.12-xen/arch/x86_64/kernel/smpboot.c 2006-02-17 00:45:18.205525707 +0100 ++++ lin...