speedstep-centrino.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  1. /*
  2. * cpufreq driver for Enhanced SpeedStep, as found in Intel's Pentium
  3. * M (part of the Centrino chipset).
  4. *
  5. * Since the original Pentium M, most new Intel CPUs support Enhanced
  6. * SpeedStep.
  7. *
  8. * Despite the "SpeedStep" in the name, this is almost entirely unlike
  9. * traditional SpeedStep.
  10. *
  11. * Modelled on speedstep.c
  12. *
  13. * Copyright (C) 2003 Jeremy Fitzhardinge <jeremy@goop.org>
  14. */
  15. #include <linux/kernel.h>
  16. #include <linux/module.h>
  17. #include <linux/init.h>
  18. #include <linux/cpufreq.h>
  19. #include <linux/sched.h> /* current */
  20. #include <linux/delay.h>
  21. #include <linux/compiler.h>
  22. #include <linux/gfp.h>
  23. #include <asm/msr.h>
  24. #include <asm/processor.h>
  25. #include <asm/cpufeature.h>
  26. #define PFX "speedstep-centrino: "
  27. #define MAINTAINER "cpufreq@vger.kernel.org"
  28. #define dprintk(msg...) \
  29. cpufreq_debug_printk(CPUFREQ_DEBUG_DRIVER, "speedstep-centrino", msg)
  30. #define INTEL_MSR_RANGE (0xffff)
  31. struct cpu_id
  32. {
  33. __u8 x86; /* CPU family */
  34. __u8 x86_model; /* model */
  35. __u8 x86_mask; /* stepping */
  36. };
  37. enum {
  38. CPU_BANIAS,
  39. CPU_DOTHAN_A1,
  40. CPU_DOTHAN_A2,
  41. CPU_DOTHAN_B0,
  42. CPU_MP4HT_D0,
  43. CPU_MP4HT_E0,
  44. };
  45. static const struct cpu_id cpu_ids[] = {
  46. [CPU_BANIAS] = { 6, 9, 5 },
  47. [CPU_DOTHAN_A1] = { 6, 13, 1 },
  48. [CPU_DOTHAN_A2] = { 6, 13, 2 },
  49. [CPU_DOTHAN_B0] = { 6, 13, 6 },
  50. [CPU_MP4HT_D0] = {15, 3, 4 },
  51. [CPU_MP4HT_E0] = {15, 4, 1 },
  52. };
  53. #define N_IDS ARRAY_SIZE(cpu_ids)
  54. struct cpu_model
  55. {
  56. const struct cpu_id *cpu_id;
  57. const char *model_name;
  58. unsigned max_freq; /* max clock in kHz */
  59. struct cpufreq_frequency_table *op_points; /* clock/voltage pairs */
  60. };
  61. static int centrino_verify_cpu_id(const struct cpuinfo_x86 *c,
  62. const struct cpu_id *x);
  63. /* Operating points for current CPU */
  64. static DEFINE_PER_CPU(struct cpu_model *, centrino_model);
  65. static DEFINE_PER_CPU(const struct cpu_id *, centrino_cpu);
  66. static struct cpufreq_driver centrino_driver;
  67. #ifdef CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE
  68. /* Computes the correct form for IA32_PERF_CTL MSR for a particular
  69. frequency/voltage operating point; frequency in MHz, volts in mV.
  70. This is stored as "index" in the structure. */
  71. #define OP(mhz, mv) \
  72. { \
  73. .frequency = (mhz) * 1000, \
  74. .index = (((mhz)/100) << 8) | ((mv - 700) / 16) \
  75. }
  76. /*
  77. * These voltage tables were derived from the Intel Pentium M
  78. * datasheet, document 25261202.pdf, Table 5. I have verified they
  79. * are consistent with my IBM ThinkPad X31, which has a 1.3GHz Pentium
  80. * M.
  81. */
  82. /* Ultra Low Voltage Intel Pentium M processor 900MHz (Banias) */
  83. static struct cpufreq_frequency_table banias_900[] =
  84. {
  85. OP(600, 844),
  86. OP(800, 988),
  87. OP(900, 1004),
  88. { .frequency = CPUFREQ_TABLE_END }
  89. };
  90. /* Ultra Low Voltage Intel Pentium M processor 1000MHz (Banias) */
  91. static struct cpufreq_frequency_table banias_1000[] =
  92. {
  93. OP(600, 844),
  94. OP(800, 972),
  95. OP(900, 988),
  96. OP(1000, 1004),
  97. { .frequency = CPUFREQ_TABLE_END }
  98. };
  99. /* Low Voltage Intel Pentium M processor 1.10GHz (Banias) */
  100. static struct cpufreq_frequency_table banias_1100[] =
  101. {
  102. OP( 600, 956),
  103. OP( 800, 1020),
  104. OP( 900, 1100),
  105. OP(1000, 1164),
  106. OP(1100, 1180),
  107. { .frequency = CPUFREQ_TABLE_END }
  108. };
  109. /* Low Voltage Intel Pentium M processor 1.20GHz (Banias) */
  110. static struct cpufreq_frequency_table banias_1200[] =
  111. {
  112. OP( 600, 956),
  113. OP( 800, 1004),
  114. OP( 900, 1020),
  115. OP(1000, 1100),
  116. OP(1100, 1164),
  117. OP(1200, 1180),
  118. { .frequency = CPUFREQ_TABLE_END }
  119. };
  120. /* Intel Pentium M processor 1.30GHz (Banias) */
  121. static struct cpufreq_frequency_table banias_1300[] =
  122. {
  123. OP( 600, 956),
  124. OP( 800, 1260),
  125. OP(1000, 1292),
  126. OP(1200, 1356),
  127. OP(1300, 1388),
  128. { .frequency = CPUFREQ_TABLE_END }
  129. };
  130. /* Intel Pentium M processor 1.40GHz (Banias) */
  131. static struct cpufreq_frequency_table banias_1400[] =
  132. {
  133. OP( 600, 956),
  134. OP( 800, 1180),
  135. OP(1000, 1308),
  136. OP(1200, 1436),
  137. OP(1400, 1484),
  138. { .frequency = CPUFREQ_TABLE_END }
  139. };
  140. /* Intel Pentium M processor 1.50GHz (Banias) */
  141. static struct cpufreq_frequency_table banias_1500[] =
  142. {
  143. OP( 600, 956),
  144. OP( 800, 1116),
  145. OP(1000, 1228),
  146. OP(1200, 1356),
  147. OP(1400, 1452),
  148. OP(1500, 1484),
  149. { .frequency = CPUFREQ_TABLE_END }
  150. };
  151. /* Intel Pentium M processor 1.60GHz (Banias) */
  152. static struct cpufreq_frequency_table banias_1600[] =
  153. {
  154. OP( 600, 956),
  155. OP( 800, 1036),
  156. OP(1000, 1164),
  157. OP(1200, 1276),
  158. OP(1400, 1420),
  159. OP(1600, 1484),
  160. { .frequency = CPUFREQ_TABLE_END }
  161. };
  162. /* Intel Pentium M processor 1.70GHz (Banias) */
  163. static struct cpufreq_frequency_table banias_1700[] =
  164. {
  165. OP( 600, 956),
  166. OP( 800, 1004),
  167. OP(1000, 1116),
  168. OP(1200, 1228),
  169. OP(1400, 1308),
  170. OP(1700, 1484),
  171. { .frequency = CPUFREQ_TABLE_END }
  172. };
  173. #undef OP
  174. #define _BANIAS(cpuid, max, name) \
  175. { .cpu_id = cpuid, \
  176. .model_name = "Intel(R) Pentium(R) M processor " name "MHz", \
  177. .max_freq = (max)*1000, \
  178. .op_points = banias_##max, \
  179. }
  180. #define BANIAS(max) _BANIAS(&cpu_ids[CPU_BANIAS], max, #max)
  181. /* CPU models, their operating frequency range, and freq/voltage
  182. operating points */
  183. static struct cpu_model models[] =
  184. {
  185. _BANIAS(&cpu_ids[CPU_BANIAS], 900, " 900"),
  186. BANIAS(1000),
  187. BANIAS(1100),
  188. BANIAS(1200),
  189. BANIAS(1300),
  190. BANIAS(1400),
  191. BANIAS(1500),
  192. BANIAS(1600),
  193. BANIAS(1700),
  194. /* NULL model_name is a wildcard */
  195. { &cpu_ids[CPU_DOTHAN_A1], NULL, 0, NULL },
  196. { &cpu_ids[CPU_DOTHAN_A2], NULL, 0, NULL },
  197. { &cpu_ids[CPU_DOTHAN_B0], NULL, 0, NULL },
  198. { &cpu_ids[CPU_MP4HT_D0], NULL, 0, NULL },
  199. { &cpu_ids[CPU_MP4HT_E0], NULL, 0, NULL },
  200. { NULL, }
  201. };
  202. #undef _BANIAS
  203. #undef BANIAS
  204. static int centrino_cpu_init_table(struct cpufreq_policy *policy)
  205. {
  206. struct cpuinfo_x86 *cpu = &cpu_data(policy->cpu);
  207. struct cpu_model *model;
  208. for(model = models; model->cpu_id != NULL; model++)
  209. if (centrino_verify_cpu_id(cpu, model->cpu_id) &&
  210. (model->model_name == NULL ||
  211. strcmp(cpu->x86_model_id, model->model_name) == 0))
  212. break;
  213. if (model->cpu_id == NULL) {
  214. /* No match at all */
  215. dprintk("no support for CPU model \"%s\": "
  216. "send /proc/cpuinfo to " MAINTAINER "\n",
  217. cpu->x86_model_id);
  218. return -ENOENT;
  219. }
  220. if (model->op_points == NULL) {
  221. /* Matched a non-match */
  222. dprintk("no table support for CPU model \"%s\"\n",
  223. cpu->x86_model_id);
  224. dprintk("try using the acpi-cpufreq driver\n");
  225. return -ENOENT;
  226. }
  227. per_cpu(centrino_model, policy->cpu) = model;
  228. dprintk("found \"%s\": max frequency: %dkHz\n",
  229. model->model_name, model->max_freq);
  230. return 0;
  231. }
  232. #else
  233. static inline int centrino_cpu_init_table(struct cpufreq_policy *policy)
  234. {
  235. return -ENODEV;
  236. }
  237. #endif /* CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE */
  238. static int centrino_verify_cpu_id(const struct cpuinfo_x86 *c,
  239. const struct cpu_id *x)
  240. {
  241. if ((c->x86 == x->x86) &&
  242. (c->x86_model == x->x86_model) &&
  243. (c->x86_mask == x->x86_mask))
  244. return 1;
  245. return 0;
  246. }
  247. /* To be called only after centrino_model is initialized */
  248. static unsigned extract_clock(unsigned msr, unsigned int cpu, int failsafe)
  249. {
  250. int i;
  251. /*
  252. * Extract clock in kHz from PERF_CTL value
  253. * for centrino, as some DSDTs are buggy.
  254. * Ideally, this can be done using the acpi_data structure.
  255. */
  256. if ((per_cpu(centrino_cpu, cpu) == &cpu_ids[CPU_BANIAS]) ||
  257. (per_cpu(centrino_cpu, cpu) == &cpu_ids[CPU_DOTHAN_A1]) ||
  258. (per_cpu(centrino_cpu, cpu) == &cpu_ids[CPU_DOTHAN_B0])) {
  259. msr = (msr >> 8) & 0xff;
  260. return msr * 100000;
  261. }
  262. if ((!per_cpu(centrino_model, cpu)) ||
  263. (!per_cpu(centrino_model, cpu)->op_points))
  264. return 0;
  265. msr &= 0xffff;
  266. for (i = 0;
  267. per_cpu(centrino_model, cpu)->op_points[i].frequency
  268. != CPUFREQ_TABLE_END;
  269. i++) {
  270. if (msr == per_cpu(centrino_model, cpu)->op_points[i].index)
  271. return per_cpu(centrino_model, cpu)->
  272. op_points[i].frequency;
  273. }
  274. if (failsafe)
  275. return per_cpu(centrino_model, cpu)->op_points[i-1].frequency;
  276. else
  277. return 0;
  278. }
  279. /* Return the current CPU frequency in kHz */
  280. static unsigned int get_cur_freq(unsigned int cpu)
  281. {
  282. unsigned l, h;
  283. unsigned clock_freq;
  284. rdmsr_on_cpu(cpu, MSR_IA32_PERF_STATUS, &l, &h);
  285. clock_freq = extract_clock(l, cpu, 0);
  286. if (unlikely(clock_freq == 0)) {
  287. /*
  288. * On some CPUs, we can see transient MSR values (which are
  289. * not present in _PSS), while CPU is doing some automatic
  290. * P-state transition (like TM2). Get the last freq set
  291. * in PERF_CTL.
  292. */
  293. rdmsr_on_cpu(cpu, MSR_IA32_PERF_CTL, &l, &h);
  294. clock_freq = extract_clock(l, cpu, 1);
  295. }
  296. return clock_freq;
  297. }
  298. static int centrino_cpu_init(struct cpufreq_policy *policy)
  299. {
  300. struct cpuinfo_x86 *cpu = &cpu_data(policy->cpu);
  301. unsigned freq;
  302. unsigned l, h;
  303. int ret;
  304. int i;
  305. /* Only Intel makes Enhanced Speedstep-capable CPUs */
  306. if (cpu->x86_vendor != X86_VENDOR_INTEL ||
  307. !cpu_has(cpu, X86_FEATURE_EST))
  308. return -ENODEV;
  309. if (cpu_has(cpu, X86_FEATURE_CONSTANT_TSC))
  310. centrino_driver.flags |= CPUFREQ_CONST_LOOPS;
  311. if (policy->cpu != 0)
  312. return -ENODEV;
  313. for (i = 0; i < N_IDS; i++)
  314. if (centrino_verify_cpu_id(cpu, &cpu_ids[i]))
  315. break;
  316. if (i != N_IDS)
  317. per_cpu(centrino_cpu, policy->cpu) = &cpu_ids[i];
  318. if (!per_cpu(centrino_cpu, policy->cpu)) {
  319. dprintk("found unsupported CPU with "
  320. "Enhanced SpeedStep: send /proc/cpuinfo to "
  321. MAINTAINER "\n");
  322. return -ENODEV;
  323. }
  324. if (centrino_cpu_init_table(policy)) {
  325. return -ENODEV;
  326. }
  327. /* Check to see if Enhanced SpeedStep is enabled, and try to
  328. enable it if not. */
  329. rdmsr(MSR_IA32_MISC_ENABLE, l, h);
  330. if (!(l & MSR_IA32_MISC_ENABLE_ENHANCED_SPEEDSTEP)) {
  331. l |= MSR_IA32_MISC_ENABLE_ENHANCED_SPEEDSTEP;
  332. dprintk("trying to enable Enhanced SpeedStep (%x)\n", l);
  333. wrmsr(MSR_IA32_MISC_ENABLE, l, h);
  334. /* check to see if it stuck */
  335. rdmsr(MSR_IA32_MISC_ENABLE, l, h);
  336. if (!(l & MSR_IA32_MISC_ENABLE_ENHANCED_SPEEDSTEP)) {
  337. printk(KERN_INFO PFX
  338. "couldn't enable Enhanced SpeedStep\n");
  339. return -ENODEV;
  340. }
  341. }
  342. freq = get_cur_freq(policy->cpu);
  343. policy->cpuinfo.transition_latency = 10000;
  344. /* 10uS transition latency */
  345. policy->cur = freq;
  346. dprintk("centrino_cpu_init: cur=%dkHz\n", policy->cur);
  347. ret = cpufreq_frequency_table_cpuinfo(policy,
  348. per_cpu(centrino_model, policy->cpu)->op_points);
  349. if (ret)
  350. return (ret);
  351. cpufreq_frequency_table_get_attr(
  352. per_cpu(centrino_model, policy->cpu)->op_points, policy->cpu);
  353. return 0;
  354. }
  355. static int centrino_cpu_exit(struct cpufreq_policy *policy)
  356. {
  357. unsigned int cpu = policy->cpu;
  358. if (!per_cpu(centrino_model, cpu))
  359. return -ENODEV;
  360. cpufreq_frequency_table_put_attr(cpu);
  361. per_cpu(centrino_model, cpu) = NULL;
  362. return 0;
  363. }
  364. /**
  365. * centrino_verify - verifies a new CPUFreq policy
  366. * @policy: new policy
  367. *
  368. * Limit must be within this model's frequency range at least one
  369. * border included.
  370. */
  371. static int centrino_verify (struct cpufreq_policy *policy)
  372. {
  373. return cpufreq_frequency_table_verify(policy,
  374. per_cpu(centrino_model, policy->cpu)->op_points);
  375. }
  376. /**
  377. * centrino_setpolicy - set a new CPUFreq policy
  378. * @policy: new policy
  379. * @target_freq: the target frequency
  380. * @relation: how that frequency relates to achieved frequency
  381. * (CPUFREQ_RELATION_L or CPUFREQ_RELATION_H)
  382. *
  383. * Sets a new CPUFreq policy.
  384. */
  385. static int centrino_target (struct cpufreq_policy *policy,
  386. unsigned int target_freq,
  387. unsigned int relation)
  388. {
  389. unsigned int newstate = 0;
  390. unsigned int msr, oldmsr = 0, h = 0, cpu = policy->cpu;
  391. struct cpufreq_freqs freqs;
  392. int retval = 0;
  393. unsigned int j, k, first_cpu, tmp;
  394. cpumask_var_t covered_cpus;
  395. if (unlikely(!zalloc_cpumask_var(&covered_cpus, GFP_KERNEL)))
  396. return -ENOMEM;
  397. if (unlikely(per_cpu(centrino_model, cpu) == NULL)) {
  398. retval = -ENODEV;
  399. goto out;
  400. }
  401. if (unlikely(cpufreq_frequency_table_target(policy,
  402. per_cpu(centrino_model, cpu)->op_points,
  403. target_freq,
  404. relation,
  405. &newstate))) {
  406. retval = -EINVAL;
  407. goto out;
  408. }
  409. first_cpu = 1;
  410. for_each_cpu(j, policy->cpus) {
  411. int good_cpu;
  412. /* cpufreq holds the hotplug lock, so we are safe here */
  413. if (!cpu_online(j))
  414. continue;
  415. /*
  416. * Support for SMP systems.
  417. * Make sure we are running on CPU that wants to change freq
  418. */
  419. if (policy->shared_type == CPUFREQ_SHARED_TYPE_ANY)
  420. good_cpu = cpumask_any_and(policy->cpus,
  421. cpu_online_mask);
  422. else
  423. good_cpu = j;
  424. if (good_cpu >= nr_cpu_ids) {
  425. dprintk("couldn't limit to CPUs in this domain\n");
  426. retval = -EAGAIN;
  427. if (first_cpu) {
  428. /* We haven't started the transition yet. */
  429. goto out;
  430. }
  431. break;
  432. }
  433. msr = per_cpu(centrino_model, cpu)->op_points[newstate].index;
  434. if (first_cpu) {
  435. rdmsr_on_cpu(good_cpu, MSR_IA32_PERF_CTL, &oldmsr, &h);
  436. if (msr == (oldmsr & 0xffff)) {
  437. dprintk("no change needed - msr was and needs "
  438. "to be %x\n", oldmsr);
  439. retval = 0;
  440. goto out;
  441. }
  442. freqs.old = extract_clock(oldmsr, cpu, 0);
  443. freqs.new = extract_clock(msr, cpu, 0);
  444. dprintk("target=%dkHz old=%d new=%d msr=%04x\n",
  445. target_freq, freqs.old, freqs.new, msr);
  446. for_each_cpu(k, policy->cpus) {
  447. if (!cpu_online(k))
  448. continue;
  449. freqs.cpu = k;
  450. cpufreq_notify_transition(&freqs,
  451. CPUFREQ_PRECHANGE);
  452. }
  453. first_cpu = 0;
  454. /* all but 16 LSB are reserved, treat them with care */
  455. oldmsr &= ~0xffff;
  456. msr &= 0xffff;
  457. oldmsr |= msr;
  458. }
  459. wrmsr_on_cpu(good_cpu, MSR_IA32_PERF_CTL, oldmsr, h);
  460. if (policy->shared_type == CPUFREQ_SHARED_TYPE_ANY)
  461. break;
  462. cpumask_set_cpu(j, covered_cpus);
  463. }
  464. for_each_cpu(k, policy->cpus) {
  465. if (!cpu_online(k))
  466. continue;
  467. freqs.cpu = k;
  468. cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
  469. }
  470. if (unlikely(retval)) {
  471. /*
  472. * We have failed halfway through the frequency change.
  473. * We have sent callbacks to policy->cpus and
  474. * MSRs have already been written on coverd_cpus.
  475. * Best effort undo..
  476. */
  477. for_each_cpu(j, covered_cpus)
  478. wrmsr_on_cpu(j, MSR_IA32_PERF_CTL, oldmsr, h);
  479. tmp = freqs.new;
  480. freqs.new = freqs.old;
  481. freqs.old = tmp;
  482. for_each_cpu(j, policy->cpus) {
  483. if (!cpu_online(j))
  484. continue;
  485. cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
  486. cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
  487. }
  488. }
  489. retval = 0;
  490. out:
  491. free_cpumask_var(covered_cpus);
  492. return retval;
  493. }
  494. static struct freq_attr* centrino_attr[] = {
  495. &cpufreq_freq_attr_scaling_available_freqs,
  496. NULL,
  497. };
  498. static struct cpufreq_driver centrino_driver = {
  499. .name = "centrino", /* should be speedstep-centrino,
  500. but there's a 16 char limit */
  501. .init = centrino_cpu_init,
  502. .exit = centrino_cpu_exit,
  503. .verify = centrino_verify,
  504. .target = centrino_target,
  505. .get = get_cur_freq,
  506. .attr = centrino_attr,
  507. .owner = THIS_MODULE,
  508. };
  509. /**
  510. * centrino_init - initializes the Enhanced SpeedStep CPUFreq driver
  511. *
  512. * Initializes the Enhanced SpeedStep support. Returns -ENODEV on
  513. * unsupported devices, -ENOENT if there's no voltage table for this
  514. * particular CPU model, -EINVAL on problems during initiatization,
  515. * and zero on success.
  516. *
  517. * This is quite picky. Not only does the CPU have to advertise the
  518. * "est" flag in the cpuid capability flags, we look for a specific
  519. * CPU model and stepping, and we need to have the exact model name in
  520. * our voltage tables. That is, be paranoid about not releasing
  521. * someone's valuable magic smoke.
  522. */
  523. static int __init centrino_init(void)
  524. {
  525. struct cpuinfo_x86 *cpu = &cpu_data(0);
  526. if (!cpu_has(cpu, X86_FEATURE_EST))
  527. return -ENODEV;
  528. return cpufreq_register_driver(&centrino_driver);
  529. }
  530. static void __exit centrino_exit(void)
  531. {
  532. cpufreq_unregister_driver(&centrino_driver);
  533. }
  534. MODULE_AUTHOR ("Jeremy Fitzhardinge <jeremy@goop.org>");
  535. MODULE_DESCRIPTION ("Enhanced SpeedStep driver for Intel Pentium M processors.");
  536. MODULE_LICENSE ("GPL");
  537. late_initcall(centrino_init);
  538. module_exit(centrino_exit);