linux/drivers/misc/mei
Tomas Winkler ce068bc7da mei: allow map and unmap of client dma buffer only for disconnected client
Allow map and unmap of the client dma buffer only when the client is not
connected. The functions return -EPROTO if the client is already connected.
This is to fix the race when traffic may start or stop when buffer
is not available.

Cc: <stable@vger.kernel.org> #v5.11+
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20210318055959.305627-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-23 15:15:15 +01:00
..
hdcp Char/Misc driver patches for 5.12-rc1 2021-02-24 10:25:37 -08:00
bus-fixup.c mei: bus: enable pavp device. 2020-12-07 10:29:57 +01:00
bus.c mei: bus: block send with vtag on non-conformat FW 2021-02-09 09:30:28 +01:00
client.c mei: allow map and unmap of client dma buffer only for disconnected client 2021-03-23 15:15:15 +01:00
client.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
debugfs.c mei: add support for client dma capability 2021-02-06 15:48:11 +01:00
dma-ring.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hbm.c mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
hbm.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
hw-me-regs.h mei: me: add adler lake point LP DID 2021-01-29 16:59:12 +01:00
hw-me.c mei: add device kind to sysfs 2020-07-29 16:21:13 +02:00
hw-me.h mei: add device kind to sysfs 2020-07-29 16:21:13 +02:00
hw-txe-regs.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-txe.c mei: hw: use sizeof of variable instead of struct type 2020-07-23 19:33:09 +02:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw.h mei: hbm: add client dma hbm messages 2021-02-06 15:48:11 +01:00
init.c mei: allow clients on bus to communicate in remove callback 2021-02-06 15:48:11 +01:00
interrupt.c mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
Kconfig Revert "mei: virtio: virtualization frontend driver" 2020-12-06 10:36:17 +01:00
main.c mei: use sysfs_emit() in tx_queue_limit_show sysfs 2021-02-09 09:30:28 +01:00
Makefile Revert "mei: virtio: virtualization frontend driver" 2020-12-06 10:36:17 +01:00
mei_dev.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
mei-trace.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei-trace.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
pci-me.c mei: me: add adler lake point LP DID 2021-01-29 16:59:12 +01:00
pci-txe.c PM: sleep: core: Rename DPM_FLAG_NEVER_SKIP 2020-04-24 21:33:09 +02:00