speedstep-centrino.c 15 KB

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