search for: cpu_devs

Displaying 4 results from an estimated 4 matches for "cpu_devs".

2019 May 15
1
[PATCH] Add support for Hygon Dhyana processor
...thenticAMD"} }; +static struct cpu_dev hygon_cpu_dev = { + .c_vendor = "Hygon", + .c_ident = {"HygonGenuine"} +}; + static struct cpu_dev intel_cpu_dev = { .c_vendor = "Intel", .c_ident = {"GenuineIntel"} @@ -149,6 +154,7 @@ void init_cpu_devs(void) cpu_devs[X86_VENDOR_RISE] = &rise_cpu_dev; cpu_devs[X86_VENDOR_TRANSMETA] = &transmeta_cpu_dev; cpu_devs[X86_VENDOR_NSC] = &nsc_cpu_dev; + cpu_devs[X86_VENDOR_HYGON] = &hygon_cpu_dev; cpu_devs[X86_VENDOR_UNKNOWN] = &unknown_cpu_dev; } @@ -389,6 +3...
2020 Sep 16
0
[RFC PATCH] x86_64: Add support for Hygon Dhyana processor
...thenticAMD"} }; +static struct cpu_dev hygon_cpu_dev = { + .c_vendor = "Hygon", + .c_ident = {"HygonGenuine"} +}; + static struct cpu_dev intel_cpu_dev = { .c_vendor = "Intel", .c_ident = {"GenuineIntel"} @@ -149,6 +154,7 @@ void init_cpu_devs(void) cpu_devs[X86_VENDOR_RISE] = &rise_cpu_dev; cpu_devs[X86_VENDOR_TRANSMETA] = &transmeta_cpu_dev; cpu_devs[X86_VENDOR_NSC] = &nsc_cpu_dev; + cpu_devs[X86_VENDOR_HYGON] = &hygon_cpu_dev; cpu_devs[X86_VENDOR_UNKNOWN] = &unknown_cpu_dev; } @@ -389,6 +3...
2011 Apr 02
2
[patch] ~420 seconds in cpu_detect
...gt;stepping = c->x86_mask; print_timer(et, "family-vendor-model-stepping"); /* THIS TAKES 420 seconds it blows up cuz c->x86_vendor is 255, > X86_VENDOR_NUM, so code is overrunning memory - lucky result wasnt more severe. strlcpy(cpu->vendor, cpu_devs[c->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-&g...
2011 Apr 02
2
[patch] ~420 seconds in cpu_detect
...gt;stepping = c->x86_mask; print_timer(et, "family-vendor-model-stepping"); /* THIS TAKES 420 seconds it blows up cuz c->x86_vendor is 255, > X86_VENDOR_NUM, so code is overrunning memory - lucky result wasnt more severe. strlcpy(cpu->vendor, cpu_devs[c->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-&g...