linux/drivers/misc/mei
Tomas Winkler 35c8bade33 mei: prevent unloading mei hw modules while the device is opened.
commit 154322f473 upstream.

chrdev_open() increases reference counter on cdev->owner. Instead of
assigning the owner to mei subsystem, the owner has to be set to the
underlaying HW module (mei_me or mei_txe), so once the device is opened
the HW module cannot be unloaded.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-08-10 12:21:57 -07:00
..
amthif.c Char/Misc driver patches for 4.1-rc1 2015-04-21 09:42:58 -07:00
bus.c mei: replace check for connection instead of transitioning 2015-04-03 16:18:56 +02:00
client.c mei: me: wait for power gating exit confirmation 2015-07-21 10:10:03 -07:00
client.h mei: replace check for connection instead of transitioning 2015-04-03 16:18:56 +02:00
debugfs.c mei: allow read concurrency 2015-03-01 19:37:00 -08:00
hbm.c mei: simplify io callback disposal 2015-03-01 19:37:00 -08:00
hbm.h mei: fix hbm MEI_HBM_STARTED ambiguity 2014-11-07 09:59:08 -08:00
hw-me-regs.h mei: read and print all six FW status registers 2014-11-26 19:06:41 -08:00
hw-me.c mei: me: wait for power gating exit confirmation 2015-07-21 10:10:03 -07:00
hw-me.h mei: me: change power gating function name conventions 2015-03-01 19:36:59 -08:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: txe: reduce suspend/resume time 2015-07-21 10:10:03 -07:00
hw-txe.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hw.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
init.c Merge 4.0-rc3 into char-misc-next 2015-03-09 08:44:23 +01:00
interrupt.c mei: use mei_cl_is_connected consistently 2015-04-03 16:18:56 +02:00
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
main.c mei: prevent unloading mei hw modules while the device is opened. 2015-08-10 12:21:57 -07:00
Makefile mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
mei-trace.c mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
mei-trace.h mei: trace: remove unused TRACE_SYSTEM_STRING 2015-04-13 15:27:19 +02:00
mei_dev.h mei: me: wait for power gating exit confirmation 2015-07-21 10:10:03 -07:00
nfc.c mei: add mei_cl_alloc_linked function 2015-03-01 19:37:00 -08:00
pci-me.c Char/Misc driver patches for 4.1-rc1 2015-04-21 09:42:58 -07:00
pci-txe.c mei: fix function names and format in KDoc 2015-03-01 19:36:59 -08:00
wd.c mei: use mei_cl_is_connected consistently 2015-04-03 16:18:56 +02:00