mirror of
https://github.com/torvalds/linux.git
synced 2026-08-13 02:47:56 +02:00
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> |
||
|---|---|---|
| .. | ||
| hdcp | ||
| bus-fixup.c | ||
| bus.c | ||
| client.c | ||
| client.h | ||
| debugfs.c | ||
| dma-ring.c | ||
| hbm.c | ||
| hbm.h | ||
| hw-me-regs.h | ||
| hw-me.c | ||
| hw-me.h | ||
| hw-txe-regs.h | ||
| hw-txe.c | ||
| hw-txe.h | ||
| hw.h | ||
| init.c | ||
| interrupt.c | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| mei_dev.h | ||
| mei-trace.c | ||
| mei-trace.h | ||
| pci-me.c | ||
| pci-txe.c | ||