main.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. /*
  2. *
  3. * Intel Management Engine Interface (Intel MEI) Linux driver
  4. * Copyright (c) 2003-2012, Intel Corporation.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms and conditions of the GNU General Public License,
  8. * version 2, as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope it will be useful, but WITHOUT
  11. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  13. * more details.
  14. *
  15. */
  16. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  17. #include <linux/module.h>
  18. #include <linux/moduleparam.h>
  19. #include <linux/kernel.h>
  20. #include <linux/device.h>
  21. #include <linux/fs.h>
  22. #include <linux/errno.h>
  23. #include <linux/types.h>
  24. #include <linux/fcntl.h>
  25. #include <linux/aio.h>
  26. #include <linux/pci.h>
  27. #include <linux/poll.h>
  28. #include <linux/init.h>
  29. #include <linux/ioctl.h>
  30. #include <linux/cdev.h>
  31. #include <linux/sched.h>
  32. #include <linux/uuid.h>
  33. #include <linux/compat.h>
  34. #include <linux/jiffies.h>
  35. #include <linux/interrupt.h>
  36. #include <linux/miscdevice.h>
  37. #include <linux/mei.h>
  38. #include "mei_dev.h"
  39. #include "hw-me.h"
  40. #include "client.h"
  41. /**
  42. * mei_open - the open function
  43. *
  44. * @inode: pointer to inode structure
  45. * @file: pointer to file structure
  46. e
  47. * returns 0 on success, <0 on error
  48. */
  49. static int mei_open(struct inode *inode, struct file *file)
  50. {
  51. struct miscdevice *misc = file->private_data;
  52. struct pci_dev *pdev;
  53. struct mei_cl *cl;
  54. struct mei_device *dev;
  55. int err;
  56. if (!misc->parent)
  57. return -ENODEV;
  58. pdev = container_of(misc->parent, struct pci_dev, dev);
  59. dev = pci_get_drvdata(pdev);
  60. if (!dev)
  61. return -ENODEV;
  62. mutex_lock(&dev->device_lock);
  63. cl = NULL;
  64. err = -ENODEV;
  65. if (dev->dev_state != MEI_DEV_ENABLED) {
  66. dev_dbg(&dev->pdev->dev, "dev_state != MEI_ENABLED dev_state = %s\n",
  67. mei_dev_state_str(dev->dev_state));
  68. goto err_unlock;
  69. }
  70. err = -ENOMEM;
  71. cl = mei_cl_allocate(dev);
  72. if (!cl)
  73. goto err_unlock;
  74. /* open_handle_count check is handled in the mei_cl_link */
  75. err = mei_cl_link(cl, MEI_HOST_CLIENT_ID_ANY);
  76. if (err)
  77. goto err_unlock;
  78. file->private_data = cl;
  79. mutex_unlock(&dev->device_lock);
  80. return nonseekable_open(inode, file);
  81. err_unlock:
  82. mutex_unlock(&dev->device_lock);
  83. kfree(cl);
  84. return err;
  85. }
  86. /**
  87. * mei_release - the release function
  88. *
  89. * @inode: pointer to inode structure
  90. * @file: pointer to file structure
  91. *
  92. * returns 0 on success, <0 on error
  93. */
  94. static int mei_release(struct inode *inode, struct file *file)
  95. {
  96. struct mei_cl *cl = file->private_data;
  97. struct mei_cl_cb *cb;
  98. struct mei_device *dev;
  99. int rets = 0;
  100. if (WARN_ON(!cl || !cl->dev))
  101. return -ENODEV;
  102. dev = cl->dev;
  103. mutex_lock(&dev->device_lock);
  104. if (cl == &dev->iamthif_cl) {
  105. rets = mei_amthif_release(dev, file);
  106. goto out;
  107. }
  108. if (cl->state == MEI_FILE_CONNECTED) {
  109. cl->state = MEI_FILE_DISCONNECTING;
  110. dev_dbg(&dev->pdev->dev,
  111. "disconnecting client host client = %d, "
  112. "ME client = %d\n",
  113. cl->host_client_id,
  114. cl->me_client_id);
  115. rets = mei_cl_disconnect(cl);
  116. }
  117. mei_cl_flush_queues(cl);
  118. dev_dbg(&dev->pdev->dev, "remove client host client = %d, ME client = %d\n",
  119. cl->host_client_id,
  120. cl->me_client_id);
  121. if (dev->open_handle_count > 0) {
  122. clear_bit(cl->host_client_id, dev->host_clients_map);
  123. dev->open_handle_count--;
  124. }
  125. mei_cl_unlink(cl);
  126. /* free read cb */
  127. cb = NULL;
  128. if (cl->read_cb) {
  129. cb = mei_cl_find_read_cb(cl);
  130. /* Remove entry from read list */
  131. if (cb)
  132. list_del(&cb->list);
  133. cb = cl->read_cb;
  134. cl->read_cb = NULL;
  135. }
  136. file->private_data = NULL;
  137. mei_io_cb_free(cb);
  138. kfree(cl);
  139. out:
  140. mutex_unlock(&dev->device_lock);
  141. return rets;
  142. }
  143. /**
  144. * mei_read - the read function.
  145. *
  146. * @file: pointer to file structure
  147. * @ubuf: pointer to user buffer
  148. * @length: buffer length
  149. * @offset: data offset in buffer
  150. *
  151. * returns >=0 data length on success , <0 on error
  152. */
  153. static ssize_t mei_read(struct file *file, char __user *ubuf,
  154. size_t length, loff_t *offset)
  155. {
  156. struct mei_cl *cl = file->private_data;
  157. struct mei_cl_cb *cb_pos = NULL;
  158. struct mei_cl_cb *cb = NULL;
  159. struct mei_device *dev;
  160. int rets;
  161. int err;
  162. if (WARN_ON(!cl || !cl->dev))
  163. return -ENODEV;
  164. dev = cl->dev;
  165. mutex_lock(&dev->device_lock);
  166. if (dev->dev_state != MEI_DEV_ENABLED) {
  167. rets = -ENODEV;
  168. goto out;
  169. }
  170. if (length == 0) {
  171. rets = 0;
  172. goto out;
  173. }
  174. if (cl == &dev->iamthif_cl) {
  175. rets = mei_amthif_read(dev, file, ubuf, length, offset);
  176. goto out;
  177. }
  178. if (cl->read_cb) {
  179. cb = cl->read_cb;
  180. /* read what left */
  181. if (cb->buf_idx > *offset)
  182. goto copy_buffer;
  183. /* offset is beyond buf_idx we have no more data return 0 */
  184. if (cb->buf_idx > 0 && cb->buf_idx <= *offset) {
  185. rets = 0;
  186. goto free;
  187. }
  188. /* Offset needs to be cleaned for contiguous reads*/
  189. if (cb->buf_idx == 0 && *offset > 0)
  190. *offset = 0;
  191. } else if (*offset > 0) {
  192. *offset = 0;
  193. }
  194. err = mei_cl_read_start(cl, length);
  195. if (err && err != -EBUSY) {
  196. dev_dbg(&dev->pdev->dev,
  197. "mei start read failure with status = %d\n", err);
  198. rets = err;
  199. goto out;
  200. }
  201. if (MEI_READ_COMPLETE != cl->reading_state &&
  202. !waitqueue_active(&cl->rx_wait)) {
  203. if (file->f_flags & O_NONBLOCK) {
  204. rets = -EAGAIN;
  205. goto out;
  206. }
  207. mutex_unlock(&dev->device_lock);
  208. if (wait_event_interruptible(cl->rx_wait,
  209. MEI_READ_COMPLETE == cl->reading_state ||
  210. mei_cl_is_transitioning(cl))) {
  211. if (signal_pending(current))
  212. return -EINTR;
  213. return -ERESTARTSYS;
  214. }
  215. mutex_lock(&dev->device_lock);
  216. if (mei_cl_is_transitioning(cl)) {
  217. rets = -EBUSY;
  218. goto out;
  219. }
  220. }
  221. cb = cl->read_cb;
  222. if (!cb) {
  223. rets = -ENODEV;
  224. goto out;
  225. }
  226. if (cl->reading_state != MEI_READ_COMPLETE) {
  227. rets = 0;
  228. goto out;
  229. }
  230. /* now copy the data to user space */
  231. copy_buffer:
  232. dev_dbg(&dev->pdev->dev, "buf.size = %d buf.idx= %ld\n",
  233. cb->response_buffer.size, cb->buf_idx);
  234. if (length == 0 || ubuf == NULL || *offset > cb->buf_idx) {
  235. rets = -EMSGSIZE;
  236. goto free;
  237. }
  238. /* length is being truncated to PAGE_SIZE,
  239. * however buf_idx may point beyond that */
  240. length = min_t(size_t, length, cb->buf_idx - *offset);
  241. if (copy_to_user(ubuf, cb->response_buffer.data + *offset, length)) {
  242. rets = -EFAULT;
  243. goto free;
  244. }
  245. rets = length;
  246. *offset += length;
  247. if ((unsigned long)*offset < cb->buf_idx)
  248. goto out;
  249. free:
  250. cb_pos = mei_cl_find_read_cb(cl);
  251. /* Remove entry from read list */
  252. if (cb_pos)
  253. list_del(&cb_pos->list);
  254. mei_io_cb_free(cb);
  255. cl->reading_state = MEI_IDLE;
  256. cl->read_cb = NULL;
  257. out:
  258. dev_dbg(&dev->pdev->dev, "end mei read rets= %d\n", rets);
  259. mutex_unlock(&dev->device_lock);
  260. return rets;
  261. }
  262. /**
  263. * mei_write - the write function.
  264. *
  265. * @file: pointer to file structure
  266. * @ubuf: pointer to user buffer
  267. * @length: buffer length
  268. * @offset: data offset in buffer
  269. *
  270. * returns >=0 data length on success , <0 on error
  271. */
  272. static ssize_t mei_write(struct file *file, const char __user *ubuf,
  273. size_t length, loff_t *offset)
  274. {
  275. struct mei_cl *cl = file->private_data;
  276. struct mei_cl_cb *write_cb = NULL;
  277. struct mei_device *dev;
  278. unsigned long timeout = 0;
  279. int rets;
  280. int id;
  281. if (WARN_ON(!cl || !cl->dev))
  282. return -ENODEV;
  283. dev = cl->dev;
  284. mutex_lock(&dev->device_lock);
  285. if (dev->dev_state != MEI_DEV_ENABLED) {
  286. rets = -ENODEV;
  287. goto out;
  288. }
  289. id = mei_me_cl_by_id(dev, cl->me_client_id);
  290. if (id < 0) {
  291. rets = -ENODEV;
  292. goto out;
  293. }
  294. if (length == 0) {
  295. rets = 0;
  296. goto out;
  297. }
  298. if (length > dev->me_clients[id].props.max_msg_length) {
  299. rets = -EFBIG;
  300. goto out;
  301. }
  302. if (cl->state != MEI_FILE_CONNECTED) {
  303. dev_err(&dev->pdev->dev, "host client = %d, is not connected to ME client = %d",
  304. cl->host_client_id, cl->me_client_id);
  305. rets = -ENODEV;
  306. goto out;
  307. }
  308. if (cl == &dev->iamthif_cl) {
  309. write_cb = mei_amthif_find_read_list_entry(dev, file);
  310. if (write_cb) {
  311. timeout = write_cb->read_time +
  312. mei_secs_to_jiffies(MEI_IAMTHIF_READ_TIMER);
  313. if (time_after(jiffies, timeout) ||
  314. cl->reading_state == MEI_READ_COMPLETE) {
  315. *offset = 0;
  316. list_del(&write_cb->list);
  317. mei_io_cb_free(write_cb);
  318. write_cb = NULL;
  319. }
  320. }
  321. }
  322. /* free entry used in read */
  323. if (cl->reading_state == MEI_READ_COMPLETE) {
  324. *offset = 0;
  325. write_cb = mei_cl_find_read_cb(cl);
  326. if (write_cb) {
  327. list_del(&write_cb->list);
  328. mei_io_cb_free(write_cb);
  329. write_cb = NULL;
  330. cl->reading_state = MEI_IDLE;
  331. cl->read_cb = NULL;
  332. }
  333. } else if (cl->reading_state == MEI_IDLE)
  334. *offset = 0;
  335. write_cb = mei_io_cb_init(cl, file);
  336. if (!write_cb) {
  337. dev_err(&dev->pdev->dev, "write cb allocation failed\n");
  338. rets = -ENOMEM;
  339. goto out;
  340. }
  341. rets = mei_io_cb_alloc_req_buf(write_cb, length);
  342. if (rets)
  343. goto out;
  344. rets = copy_from_user(write_cb->request_buffer.data, ubuf, length);
  345. if (rets) {
  346. dev_err(&dev->pdev->dev, "failed to copy data from userland\n");
  347. rets = -EFAULT;
  348. goto out;
  349. }
  350. if (cl == &dev->iamthif_cl) {
  351. rets = mei_amthif_write(dev, write_cb);
  352. if (rets) {
  353. dev_err(&dev->pdev->dev,
  354. "amthif write failed with status = %d\n", rets);
  355. goto out;
  356. }
  357. mutex_unlock(&dev->device_lock);
  358. return length;
  359. }
  360. rets = mei_cl_write(cl, write_cb, false);
  361. out:
  362. mutex_unlock(&dev->device_lock);
  363. if (rets < 0)
  364. mei_io_cb_free(write_cb);
  365. return rets;
  366. }
  367. /**
  368. * mei_ioctl_connect_client - the connect to fw client IOCTL function
  369. *
  370. * @dev: the device structure
  371. * @data: IOCTL connect data, input and output parameters
  372. * @file: private data of the file object
  373. *
  374. * Locking: called under "dev->device_lock" lock
  375. *
  376. * returns 0 on success, <0 on failure.
  377. */
  378. static int mei_ioctl_connect_client(struct file *file,
  379. struct mei_connect_client_data *data)
  380. {
  381. struct mei_device *dev;
  382. struct mei_client *client;
  383. struct mei_cl *cl;
  384. int i;
  385. int rets;
  386. cl = file->private_data;
  387. if (WARN_ON(!cl || !cl->dev))
  388. return -ENODEV;
  389. dev = cl->dev;
  390. if (dev->dev_state != MEI_DEV_ENABLED) {
  391. rets = -ENODEV;
  392. goto end;
  393. }
  394. if (cl->state != MEI_FILE_INITIALIZING &&
  395. cl->state != MEI_FILE_DISCONNECTED) {
  396. rets = -EBUSY;
  397. goto end;
  398. }
  399. /* find ME client we're trying to connect to */
  400. i = mei_me_cl_by_uuid(dev, &data->in_client_uuid);
  401. if (i < 0 || dev->me_clients[i].props.fixed_address) {
  402. dev_dbg(&dev->pdev->dev, "Cannot connect to FW Client UUID = %pUl\n",
  403. &data->in_client_uuid);
  404. rets = -ENODEV;
  405. goto end;
  406. }
  407. cl->me_client_id = dev->me_clients[i].client_id;
  408. cl->state = MEI_FILE_CONNECTING;
  409. dev_dbg(&dev->pdev->dev, "Connect to FW Client ID = %d\n",
  410. cl->me_client_id);
  411. dev_dbg(&dev->pdev->dev, "FW Client - Protocol Version = %d\n",
  412. dev->me_clients[i].props.protocol_version);
  413. dev_dbg(&dev->pdev->dev, "FW Client - Max Msg Len = %d\n",
  414. dev->me_clients[i].props.max_msg_length);
  415. /* if we're connecting to amthif client then we will use the
  416. * existing connection
  417. */
  418. if (uuid_le_cmp(data->in_client_uuid, mei_amthif_guid) == 0) {
  419. dev_dbg(&dev->pdev->dev, "FW Client is amthi\n");
  420. if (dev->iamthif_cl.state != MEI_FILE_CONNECTED) {
  421. rets = -ENODEV;
  422. goto end;
  423. }
  424. clear_bit(cl->host_client_id, dev->host_clients_map);
  425. mei_cl_unlink(cl);
  426. kfree(cl);
  427. cl = NULL;
  428. file->private_data = &dev->iamthif_cl;
  429. client = &data->out_client_properties;
  430. client->max_msg_length =
  431. dev->me_clients[i].props.max_msg_length;
  432. client->protocol_version =
  433. dev->me_clients[i].props.protocol_version;
  434. rets = dev->iamthif_cl.status;
  435. goto end;
  436. }
  437. /* prepare the output buffer */
  438. client = &data->out_client_properties;
  439. client->max_msg_length = dev->me_clients[i].props.max_msg_length;
  440. client->protocol_version = dev->me_clients[i].props.protocol_version;
  441. dev_dbg(&dev->pdev->dev, "Can connect?\n");
  442. rets = mei_cl_connect(cl, file);
  443. end:
  444. return rets;
  445. }
  446. /**
  447. * mei_ioctl - the IOCTL function
  448. *
  449. * @file: pointer to file structure
  450. * @cmd: ioctl command
  451. * @data: pointer to mei message structure
  452. *
  453. * returns 0 on success , <0 on error
  454. */
  455. static long mei_ioctl(struct file *file, unsigned int cmd, unsigned long data)
  456. {
  457. struct mei_device *dev;
  458. struct mei_cl *cl = file->private_data;
  459. struct mei_connect_client_data *connect_data = NULL;
  460. int rets;
  461. if (cmd != IOCTL_MEI_CONNECT_CLIENT)
  462. return -EINVAL;
  463. if (WARN_ON(!cl || !cl->dev))
  464. return -ENODEV;
  465. dev = cl->dev;
  466. dev_dbg(&dev->pdev->dev, "IOCTL cmd = 0x%x", cmd);
  467. mutex_lock(&dev->device_lock);
  468. if (dev->dev_state != MEI_DEV_ENABLED) {
  469. rets = -ENODEV;
  470. goto out;
  471. }
  472. dev_dbg(&dev->pdev->dev, ": IOCTL_MEI_CONNECT_CLIENT.\n");
  473. connect_data = kzalloc(sizeof(struct mei_connect_client_data),
  474. GFP_KERNEL);
  475. if (!connect_data) {
  476. rets = -ENOMEM;
  477. goto out;
  478. }
  479. dev_dbg(&dev->pdev->dev, "copy connect data from user\n");
  480. if (copy_from_user(connect_data, (char __user *)data,
  481. sizeof(struct mei_connect_client_data))) {
  482. dev_err(&dev->pdev->dev, "failed to copy data from userland\n");
  483. rets = -EFAULT;
  484. goto out;
  485. }
  486. rets = mei_ioctl_connect_client(file, connect_data);
  487. /* if all is ok, copying the data back to user. */
  488. if (rets)
  489. goto out;
  490. dev_dbg(&dev->pdev->dev, "copy connect data to user\n");
  491. if (copy_to_user((char __user *)data, connect_data,
  492. sizeof(struct mei_connect_client_data))) {
  493. dev_dbg(&dev->pdev->dev, "failed to copy data to userland\n");
  494. rets = -EFAULT;
  495. goto out;
  496. }
  497. out:
  498. kfree(connect_data);
  499. mutex_unlock(&dev->device_lock);
  500. return rets;
  501. }
  502. /**
  503. * mei_compat_ioctl - the compat IOCTL function
  504. *
  505. * @file: pointer to file structure
  506. * @cmd: ioctl command
  507. * @data: pointer to mei message structure
  508. *
  509. * returns 0 on success , <0 on error
  510. */
  511. #ifdef CONFIG_COMPAT
  512. static long mei_compat_ioctl(struct file *file,
  513. unsigned int cmd, unsigned long data)
  514. {
  515. return mei_ioctl(file, cmd, (unsigned long)compat_ptr(data));
  516. }
  517. #endif
  518. /**
  519. * mei_poll - the poll function
  520. *
  521. * @file: pointer to file structure
  522. * @wait: pointer to poll_table structure
  523. *
  524. * returns poll mask
  525. */
  526. static unsigned int mei_poll(struct file *file, poll_table *wait)
  527. {
  528. struct mei_cl *cl = file->private_data;
  529. struct mei_device *dev;
  530. unsigned int mask = 0;
  531. if (WARN_ON(!cl || !cl->dev))
  532. return POLLERR;
  533. dev = cl->dev;
  534. mutex_lock(&dev->device_lock);
  535. if (!mei_cl_is_connected(cl)) {
  536. mask = POLLERR;
  537. goto out;
  538. }
  539. mutex_unlock(&dev->device_lock);
  540. if (cl == &dev->iamthif_cl)
  541. return mei_amthif_poll(dev, file, wait);
  542. poll_wait(file, &cl->tx_wait, wait);
  543. mutex_lock(&dev->device_lock);
  544. if (!mei_cl_is_connected(cl)) {
  545. mask = POLLERR;
  546. goto out;
  547. }
  548. if (MEI_WRITE_COMPLETE == cl->writing_state)
  549. mask |= (POLLIN | POLLRDNORM);
  550. out:
  551. mutex_unlock(&dev->device_lock);
  552. return mask;
  553. }
  554. /*
  555. * file operations structure will be used for mei char device.
  556. */
  557. static const struct file_operations mei_fops = {
  558. .owner = THIS_MODULE,
  559. .read = mei_read,
  560. .unlocked_ioctl = mei_ioctl,
  561. #ifdef CONFIG_COMPAT
  562. .compat_ioctl = mei_compat_ioctl,
  563. #endif
  564. .open = mei_open,
  565. .release = mei_release,
  566. .write = mei_write,
  567. .poll = mei_poll,
  568. .llseek = no_llseek
  569. };
  570. /*
  571. * Misc Device Struct
  572. */
  573. static struct miscdevice mei_misc_device = {
  574. .name = "mei",
  575. .fops = &mei_fops,
  576. .minor = MISC_DYNAMIC_MINOR,
  577. };
  578. int mei_register(struct mei_device *dev)
  579. {
  580. int ret;
  581. mei_misc_device.parent = &dev->pdev->dev;
  582. ret = misc_register(&mei_misc_device);
  583. if (ret)
  584. return ret;
  585. if (mei_dbgfs_register(dev, mei_misc_device.name))
  586. dev_err(&dev->pdev->dev, "cannot register debugfs\n");
  587. return 0;
  588. }
  589. EXPORT_SYMBOL_GPL(mei_register);
  590. void mei_deregister(struct mei_device *dev)
  591. {
  592. mei_dbgfs_deregister(dev);
  593. misc_deregister(&mei_misc_device);
  594. mei_misc_device.parent = NULL;
  595. }
  596. EXPORT_SYMBOL_GPL(mei_deregister);
  597. static int __init mei_init(void)
  598. {
  599. return mei_cl_bus_init();
  600. }
  601. static void __exit mei_exit(void)
  602. {
  603. mei_cl_bus_exit();
  604. }
  605. module_init(mei_init);
  606. module_exit(mei_exit);
  607. MODULE_AUTHOR("Intel Corporation");
  608. MODULE_DESCRIPTION("Intel(R) Management Engine Interface");
  609. MODULE_LICENSE("GPL v2");