lparcfg.c 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  1. /*
  2. * PowerPC64 LPAR Configuration Information Driver
  3. *
  4. * Dave Engebretsen engebret@us.ibm.com
  5. * Copyright (c) 2003 Dave Engebretsen
  6. * Will Schmidt willschm@us.ibm.com
  7. * SPLPAR updates, Copyright (c) 2003 Will Schmidt IBM Corporation.
  8. * seq_file updates, Copyright (c) 2004 Will Schmidt IBM Corporation.
  9. * Nathan Lynch nathanl@austin.ibm.com
  10. * Added lparcfg_write, Copyright (C) 2004 Nathan Lynch IBM Corporation.
  11. *
  12. * This program is free software; you can redistribute it and/or
  13. * modify it under the terms of the GNU General Public License
  14. * as published by the Free Software Foundation; either version
  15. * 2 of the License, or (at your option) any later version.
  16. *
  17. * This driver creates a proc file at /proc/ppc64/lparcfg which contains
  18. * keyword - value pairs that specify the configuration of the partition.
  19. */
  20. #include <linux/config.h>
  21. #include <linux/module.h>
  22. #include <linux/types.h>
  23. #include <linux/errno.h>
  24. #include <linux/proc_fs.h>
  25. #include <linux/init.h>
  26. #include <linux/seq_file.h>
  27. #include <asm/uaccess.h>
  28. #include <asm/iseries/hv_lp_config.h>
  29. #include <asm/lppaca.h>
  30. #include <asm/hvcall.h>
  31. #include <asm/firmware.h>
  32. #include <asm/rtas.h>
  33. #include <asm/system.h>
  34. #include <asm/time.h>
  35. #include <asm/iseries/it_exp_vpd_panel.h>
  36. #include <asm/prom.h>
  37. #include <asm/systemcfg.h>
  38. #define MODULE_VERS "1.6"
  39. #define MODULE_NAME "lparcfg"
  40. /* #define LPARCFG_DEBUG */
  41. /* find a better place for this function... */
  42. void log_plpar_hcall_return(unsigned long rc, char *tag)
  43. {
  44. if (rc == 0) /* success, return */
  45. return;
  46. /* check for null tag ? */
  47. if (rc == H_Hardware)
  48. printk(KERN_INFO
  49. "plpar-hcall (%s) failed with hardware fault\n", tag);
  50. else if (rc == H_Function)
  51. printk(KERN_INFO
  52. "plpar-hcall (%s) failed; function not allowed\n", tag);
  53. else if (rc == H_Authority)
  54. printk(KERN_INFO
  55. "plpar-hcall (%s) failed; not authorized to this function\n",
  56. tag);
  57. else if (rc == H_Parameter)
  58. printk(KERN_INFO "plpar-hcall (%s) failed; Bad parameter(s)\n",
  59. tag);
  60. else
  61. printk(KERN_INFO
  62. "plpar-hcall (%s) failed with unexpected rc(0x%lx)\n",
  63. tag, rc);
  64. }
  65. static struct proc_dir_entry *proc_ppc64_lparcfg;
  66. #define LPARCFG_BUFF_SIZE 4096
  67. #ifdef CONFIG_PPC_ISERIES
  68. /*
  69. * For iSeries legacy systems, the PPA purr function is available from the
  70. * emulated_time_base field in the paca.
  71. */
  72. static unsigned long get_purr(void)
  73. {
  74. unsigned long sum_purr = 0;
  75. int cpu;
  76. struct paca_struct *lpaca;
  77. for_each_cpu(cpu) {
  78. lpaca = paca + cpu;
  79. sum_purr += lpaca->lppaca.emulated_time_base;
  80. #ifdef PURR_DEBUG
  81. printk(KERN_INFO "get_purr for cpu (%d) has value (%ld) \n",
  82. cpu, lpaca->lppaca.emulated_time_base);
  83. #endif
  84. }
  85. return sum_purr;
  86. }
  87. #define lparcfg_write NULL
  88. /*
  89. * Methods used to fetch LPAR data when running on an iSeries platform.
  90. */
  91. static int lparcfg_data(struct seq_file *m, void *v)
  92. {
  93. unsigned long pool_id, lp_index;
  94. int shared, entitled_capacity, max_entitled_capacity;
  95. int processors, max_processors;
  96. struct paca_struct *lpaca = get_paca();
  97. unsigned long purr = get_purr();
  98. seq_printf(m, "%s %s \n", MODULE_NAME, MODULE_VERS);
  99. shared = (int)(lpaca->lppaca_ptr->shared_proc);
  100. seq_printf(m, "serial_number=%c%c%c%c%c%c%c\n",
  101. e2a(xItExtVpdPanel.mfgID[2]),
  102. e2a(xItExtVpdPanel.mfgID[3]),
  103. e2a(xItExtVpdPanel.systemSerial[1]),
  104. e2a(xItExtVpdPanel.systemSerial[2]),
  105. e2a(xItExtVpdPanel.systemSerial[3]),
  106. e2a(xItExtVpdPanel.systemSerial[4]),
  107. e2a(xItExtVpdPanel.systemSerial[5]));
  108. seq_printf(m, "system_type=%c%c%c%c\n",
  109. e2a(xItExtVpdPanel.machineType[0]),
  110. e2a(xItExtVpdPanel.machineType[1]),
  111. e2a(xItExtVpdPanel.machineType[2]),
  112. e2a(xItExtVpdPanel.machineType[3]));
  113. lp_index = HvLpConfig_getLpIndex();
  114. seq_printf(m, "partition_id=%d\n", (int)lp_index);
  115. seq_printf(m, "system_active_processors=%d\n",
  116. (int)HvLpConfig_getSystemPhysicalProcessors());
  117. seq_printf(m, "system_potential_processors=%d\n",
  118. (int)HvLpConfig_getSystemPhysicalProcessors());
  119. processors = (int)HvLpConfig_getPhysicalProcessors();
  120. seq_printf(m, "partition_active_processors=%d\n", processors);
  121. max_processors = (int)HvLpConfig_getMaxPhysicalProcessors();
  122. seq_printf(m, "partition_potential_processors=%d\n", max_processors);
  123. if (shared) {
  124. entitled_capacity = HvLpConfig_getSharedProcUnits();
  125. max_entitled_capacity = HvLpConfig_getMaxSharedProcUnits();
  126. } else {
  127. entitled_capacity = processors * 100;
  128. max_entitled_capacity = max_processors * 100;
  129. }
  130. seq_printf(m, "partition_entitled_capacity=%d\n", entitled_capacity);
  131. seq_printf(m, "partition_max_entitled_capacity=%d\n",
  132. max_entitled_capacity);
  133. if (shared) {
  134. pool_id = HvLpConfig_getSharedPoolIndex();
  135. seq_printf(m, "pool=%d\n", (int)pool_id);
  136. seq_printf(m, "pool_capacity=%d\n",
  137. (int)(HvLpConfig_getNumProcsInSharedPool(pool_id) *
  138. 100));
  139. seq_printf(m, "purr=%ld\n", purr);
  140. }
  141. seq_printf(m, "shared_processor_mode=%d\n", shared);
  142. return 0;
  143. }
  144. #endif /* CONFIG_PPC_ISERIES */
  145. #ifdef CONFIG_PPC_PSERIES
  146. /*
  147. * Methods used to fetch LPAR data when running on a pSeries platform.
  148. */
  149. /*
  150. * H_GET_PPP hcall returns info in 4 parms.
  151. * entitled_capacity,unallocated_capacity,
  152. * aggregation, resource_capability).
  153. *
  154. * R4 = Entitled Processor Capacity Percentage.
  155. * R5 = Unallocated Processor Capacity Percentage.
  156. * R6 (AABBCCDDEEFFGGHH).
  157. * XXXX - reserved (0)
  158. * XXXX - reserved (0)
  159. * XXXX - Group Number
  160. * XXXX - Pool Number.
  161. * R7 (IIJJKKLLMMNNOOPP).
  162. * XX - reserved. (0)
  163. * XX - bit 0-6 reserved (0). bit 7 is Capped indicator.
  164. * XX - variable processor Capacity Weight
  165. * XX - Unallocated Variable Processor Capacity Weight.
  166. * XXXX - Active processors in Physical Processor Pool.
  167. * XXXX - Processors active on platform.
  168. */
  169. static unsigned int h_get_ppp(unsigned long *entitled,
  170. unsigned long *unallocated,
  171. unsigned long *aggregation,
  172. unsigned long *resource)
  173. {
  174. unsigned long rc;
  175. rc = plpar_hcall_4out(H_GET_PPP, 0, 0, 0, 0, entitled, unallocated,
  176. aggregation, resource);
  177. log_plpar_hcall_return(rc, "H_GET_PPP");
  178. return rc;
  179. }
  180. static void h_pic(unsigned long *pool_idle_time, unsigned long *num_procs)
  181. {
  182. unsigned long rc;
  183. unsigned long dummy;
  184. rc = plpar_hcall(H_PIC, 0, 0, 0, 0, pool_idle_time, num_procs, &dummy);
  185. log_plpar_hcall_return(rc, "H_PIC");
  186. }
  187. static unsigned long get_purr(void);
  188. /* Track sum of all purrs across all processors. This is used to further */
  189. /* calculate usage values by different applications */
  190. static unsigned long get_purr(void)
  191. {
  192. unsigned long sum_purr = 0;
  193. int cpu;
  194. struct cpu_usage *cu;
  195. for_each_cpu(cpu) {
  196. cu = &per_cpu(cpu_usage_array, cpu);
  197. sum_purr += cu->current_tb;
  198. }
  199. return sum_purr;
  200. }
  201. #define SPLPAR_CHARACTERISTICS_TOKEN 20
  202. #define SPLPAR_MAXLENGTH 1026*(sizeof(char))
  203. /*
  204. * parse_system_parameter_string()
  205. * Retrieve the potential_processors, max_entitled_capacity and friends
  206. * through the get-system-parameter rtas call. Replace keyword strings as
  207. * necessary.
  208. */
  209. static void parse_system_parameter_string(struct seq_file *m)
  210. {
  211. int call_status;
  212. char *local_buffer = kmalloc(SPLPAR_MAXLENGTH, GFP_KERNEL);
  213. if (!local_buffer) {
  214. printk(KERN_ERR "%s %s kmalloc failure at line %d \n",
  215. __FILE__, __FUNCTION__, __LINE__);
  216. return;
  217. }
  218. spin_lock(&rtas_data_buf_lock);
  219. memset(rtas_data_buf, 0, SPLPAR_MAXLENGTH);
  220. call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
  221. NULL,
  222. SPLPAR_CHARACTERISTICS_TOKEN,
  223. __pa(rtas_data_buf));
  224. memcpy(local_buffer, rtas_data_buf, SPLPAR_MAXLENGTH);
  225. spin_unlock(&rtas_data_buf_lock);
  226. if (call_status != 0) {
  227. printk(KERN_INFO
  228. "%s %s Error calling get-system-parameter (0x%x)\n",
  229. __FILE__, __FUNCTION__, call_status);
  230. } else {
  231. int splpar_strlen;
  232. int idx, w_idx;
  233. char *workbuffer = kmalloc(SPLPAR_MAXLENGTH, GFP_KERNEL);
  234. if (!workbuffer) {
  235. printk(KERN_ERR "%s %s kmalloc failure at line %d \n",
  236. __FILE__, __FUNCTION__, __LINE__);
  237. kfree(local_buffer);
  238. return;
  239. }
  240. #ifdef LPARCFG_DEBUG
  241. printk(KERN_INFO "success calling get-system-parameter \n");
  242. #endif
  243. splpar_strlen = local_buffer[0] * 16 + local_buffer[1];
  244. local_buffer += 2; /* step over strlen value */
  245. memset(workbuffer, 0, SPLPAR_MAXLENGTH);
  246. w_idx = 0;
  247. idx = 0;
  248. while ((*local_buffer) && (idx < splpar_strlen)) {
  249. workbuffer[w_idx++] = local_buffer[idx++];
  250. if ((local_buffer[idx] == ',')
  251. || (local_buffer[idx] == '\0')) {
  252. workbuffer[w_idx] = '\0';
  253. if (w_idx) {
  254. /* avoid the empty string */
  255. seq_printf(m, "%s\n", workbuffer);
  256. }
  257. memset(workbuffer, 0, SPLPAR_MAXLENGTH);
  258. idx++; /* skip the comma */
  259. w_idx = 0;
  260. } else if (local_buffer[idx] == '=') {
  261. /* code here to replace workbuffer contents
  262. with different keyword strings */
  263. if (0 == strcmp(workbuffer, "MaxEntCap")) {
  264. strcpy(workbuffer,
  265. "partition_max_entitled_capacity");
  266. w_idx = strlen(workbuffer);
  267. }
  268. if (0 == strcmp(workbuffer, "MaxPlatProcs")) {
  269. strcpy(workbuffer,
  270. "system_potential_processors");
  271. w_idx = strlen(workbuffer);
  272. }
  273. }
  274. }
  275. kfree(workbuffer);
  276. local_buffer -= 2; /* back up over strlen value */
  277. }
  278. kfree(local_buffer);
  279. }
  280. static int lparcfg_count_active_processors(void);
  281. /* Return the number of processors in the system.
  282. * This function reads through the device tree and counts
  283. * the virtual processors, this does not include threads.
  284. */
  285. static int lparcfg_count_active_processors(void)
  286. {
  287. struct device_node *cpus_dn = NULL;
  288. int count = 0;
  289. while ((cpus_dn = of_find_node_by_type(cpus_dn, "cpu"))) {
  290. #ifdef LPARCFG_DEBUG
  291. printk(KERN_ERR "cpus_dn %p \n", cpus_dn);
  292. #endif
  293. count++;
  294. }
  295. return count;
  296. }
  297. static int lparcfg_data(struct seq_file *m, void *v)
  298. {
  299. int partition_potential_processors;
  300. int partition_active_processors;
  301. struct device_node *rootdn;
  302. const char *model = "";
  303. const char *system_id = "";
  304. unsigned int *lp_index_ptr, lp_index = 0;
  305. struct device_node *rtas_node;
  306. int *lrdrp;
  307. rootdn = find_path_device("/");
  308. if (rootdn) {
  309. model = get_property(rootdn, "model", NULL);
  310. system_id = get_property(rootdn, "system-id", NULL);
  311. lp_index_ptr = (unsigned int *)
  312. get_property(rootdn, "ibm,partition-no", NULL);
  313. if (lp_index_ptr)
  314. lp_index = *lp_index_ptr;
  315. }
  316. seq_printf(m, "%s %s \n", MODULE_NAME, MODULE_VERS);
  317. seq_printf(m, "serial_number=%s\n", system_id);
  318. seq_printf(m, "system_type=%s\n", model);
  319. seq_printf(m, "partition_id=%d\n", (int)lp_index);
  320. rtas_node = find_path_device("/rtas");
  321. lrdrp = (int *)get_property(rtas_node, "ibm,lrdr-capacity", NULL);
  322. if (lrdrp == NULL) {
  323. partition_potential_processors = _systemcfg->processorCount;
  324. } else {
  325. partition_potential_processors = *(lrdrp + 4);
  326. }
  327. partition_active_processors = lparcfg_count_active_processors();
  328. if (firmware_has_feature(FW_FEATURE_SPLPAR)) {
  329. unsigned long h_entitled, h_unallocated;
  330. unsigned long h_aggregation, h_resource;
  331. unsigned long pool_idle_time, pool_procs;
  332. unsigned long purr;
  333. h_get_ppp(&h_entitled, &h_unallocated, &h_aggregation,
  334. &h_resource);
  335. seq_printf(m, "R4=0x%lx\n", h_entitled);
  336. seq_printf(m, "R5=0x%lx\n", h_unallocated);
  337. seq_printf(m, "R6=0x%lx\n", h_aggregation);
  338. seq_printf(m, "R7=0x%lx\n", h_resource);
  339. purr = get_purr();
  340. /* this call handles the ibm,get-system-parameter contents */
  341. parse_system_parameter_string(m);
  342. seq_printf(m, "partition_entitled_capacity=%ld\n", h_entitled);
  343. seq_printf(m, "group=%ld\n", (h_aggregation >> 2 * 8) & 0xffff);
  344. seq_printf(m, "system_active_processors=%ld\n",
  345. (h_resource >> 0 * 8) & 0xffff);
  346. /* pool related entries are apropriate for shared configs */
  347. if (paca[0].lppaca.shared_proc) {
  348. h_pic(&pool_idle_time, &pool_procs);
  349. seq_printf(m, "pool=%ld\n",
  350. (h_aggregation >> 0 * 8) & 0xffff);
  351. /* report pool_capacity in percentage */
  352. seq_printf(m, "pool_capacity=%ld\n",
  353. ((h_resource >> 2 * 8) & 0xffff) * 100);
  354. seq_printf(m, "pool_idle_time=%ld\n", pool_idle_time);
  355. seq_printf(m, "pool_num_procs=%ld\n", pool_procs);
  356. }
  357. seq_printf(m, "unallocated_capacity_weight=%ld\n",
  358. (h_resource >> 4 * 8) & 0xFF);
  359. seq_printf(m, "capacity_weight=%ld\n",
  360. (h_resource >> 5 * 8) & 0xFF);
  361. seq_printf(m, "capped=%ld\n", (h_resource >> 6 * 8) & 0x01);
  362. seq_printf(m, "unallocated_capacity=%ld\n", h_unallocated);
  363. seq_printf(m, "purr=%ld\n", purr);
  364. } else { /* non SPLPAR case */
  365. seq_printf(m, "system_active_processors=%d\n",
  366. partition_potential_processors);
  367. seq_printf(m, "system_potential_processors=%d\n",
  368. partition_potential_processors);
  369. seq_printf(m, "partition_max_entitled_capacity=%d\n",
  370. partition_potential_processors * 100);
  371. seq_printf(m, "partition_entitled_capacity=%d\n",
  372. partition_active_processors * 100);
  373. }
  374. seq_printf(m, "partition_active_processors=%d\n",
  375. partition_active_processors);
  376. seq_printf(m, "partition_potential_processors=%d\n",
  377. partition_potential_processors);
  378. seq_printf(m, "shared_processor_mode=%d\n", paca[0].lppaca.shared_proc);
  379. return 0;
  380. }
  381. /*
  382. * Interface for changing system parameters (variable capacity weight
  383. * and entitled capacity). Format of input is "param_name=value";
  384. * anything after value is ignored. Valid parameters at this time are
  385. * "partition_entitled_capacity" and "capacity_weight". We use
  386. * H_SET_PPP to alter parameters.
  387. *
  388. * This function should be invoked only on systems with
  389. * FW_FEATURE_SPLPAR.
  390. */
  391. static ssize_t lparcfg_write(struct file *file, const char __user * buf,
  392. size_t count, loff_t * off)
  393. {
  394. char *kbuf;
  395. char *tmp;
  396. u64 new_entitled, *new_entitled_ptr = &new_entitled;
  397. u8 new_weight, *new_weight_ptr = &new_weight;
  398. unsigned long current_entitled; /* parameters for h_get_ppp */
  399. unsigned long dummy;
  400. unsigned long resource;
  401. u8 current_weight;
  402. ssize_t retval = -ENOMEM;
  403. kbuf = kmalloc(count, GFP_KERNEL);
  404. if (!kbuf)
  405. goto out;
  406. retval = -EFAULT;
  407. if (copy_from_user(kbuf, buf, count))
  408. goto out;
  409. retval = -EINVAL;
  410. kbuf[count - 1] = '\0';
  411. tmp = strchr(kbuf, '=');
  412. if (!tmp)
  413. goto out;
  414. *tmp++ = '\0';
  415. if (!strcmp(kbuf, "partition_entitled_capacity")) {
  416. char *endp;
  417. *new_entitled_ptr = (u64) simple_strtoul(tmp, &endp, 10);
  418. if (endp == tmp)
  419. goto out;
  420. new_weight_ptr = &current_weight;
  421. } else if (!strcmp(kbuf, "capacity_weight")) {
  422. char *endp;
  423. *new_weight_ptr = (u8) simple_strtoul(tmp, &endp, 10);
  424. if (endp == tmp)
  425. goto out;
  426. new_entitled_ptr = &current_entitled;
  427. } else
  428. goto out;
  429. /* Get our current parameters */
  430. retval = h_get_ppp(&current_entitled, &dummy, &dummy, &resource);
  431. if (retval) {
  432. retval = -EIO;
  433. goto out;
  434. }
  435. current_weight = (resource >> 5 * 8) & 0xFF;
  436. pr_debug("%s: current_entitled = %lu, current_weight = %lu\n",
  437. __FUNCTION__, current_entitled, current_weight);
  438. pr_debug("%s: new_entitled = %lu, new_weight = %lu\n",
  439. __FUNCTION__, *new_entitled_ptr, *new_weight_ptr);
  440. retval = plpar_hcall_norets(H_SET_PPP, *new_entitled_ptr,
  441. *new_weight_ptr);
  442. if (retval == H_Success || retval == H_Constrained) {
  443. retval = count;
  444. } else if (retval == H_Busy) {
  445. retval = -EBUSY;
  446. } else if (retval == H_Hardware) {
  447. retval = -EIO;
  448. } else if (retval == H_Parameter) {
  449. retval = -EINVAL;
  450. } else {
  451. printk(KERN_WARNING "%s: received unknown hv return code %ld",
  452. __FUNCTION__, retval);
  453. retval = -EIO;
  454. }
  455. out:
  456. kfree(kbuf);
  457. return retval;
  458. }
  459. #endif /* CONFIG_PPC_PSERIES */
  460. static int lparcfg_open(struct inode *inode, struct file *file)
  461. {
  462. return single_open(file, lparcfg_data, NULL);
  463. }
  464. struct file_operations lparcfg_fops = {
  465. .owner = THIS_MODULE,
  466. .read = seq_read,
  467. .open = lparcfg_open,
  468. .release = single_release,
  469. };
  470. int __init lparcfg_init(void)
  471. {
  472. struct proc_dir_entry *ent;
  473. mode_t mode = S_IRUSR | S_IRGRP | S_IROTH;
  474. /* Allow writing if we have FW_FEATURE_SPLPAR */
  475. if (firmware_has_feature(FW_FEATURE_SPLPAR)) {
  476. lparcfg_fops.write = lparcfg_write;
  477. mode |= S_IWUSR;
  478. }
  479. ent = create_proc_entry("ppc64/lparcfg", mode, NULL);
  480. if (ent) {
  481. ent->proc_fops = &lparcfg_fops;
  482. ent->data = kmalloc(LPARCFG_BUFF_SIZE, GFP_KERNEL);
  483. if (!ent->data) {
  484. printk(KERN_ERR
  485. "Failed to allocate buffer for lparcfg\n");
  486. remove_proc_entry("lparcfg", ent->parent);
  487. return -ENOMEM;
  488. }
  489. } else {
  490. printk(KERN_ERR "Failed to create ppc64/lparcfg\n");
  491. return -EIO;
  492. }
  493. proc_ppc64_lparcfg = ent;
  494. return 0;
  495. }
  496. void __exit lparcfg_cleanup(void)
  497. {
  498. if (proc_ppc64_lparcfg) {
  499. kfree(proc_ppc64_lparcfg->data);
  500. remove_proc_entry("lparcfg", proc_ppc64_lparcfg->parent);
  501. }
  502. }
  503. module_init(lparcfg_init);
  504. module_exit(lparcfg_cleanup);
  505. MODULE_DESCRIPTION("Interface for LPAR configuration data");
  506. MODULE_AUTHOR("Dave Engebretsen");
  507. MODULE_LICENSE("GPL");