]> git.ipfire.org Git - thirdparty/linux.git/commit
rpmsg: virtio: EPOLLOUT support
authorPatrick Oppenlander <patrick.oppenlander@gmail.com>
Wed, 22 Oct 2025 03:28:17 +0000 (14:28 +1100)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 15 Dec 2025 01:35:02 +0000 (18:35 -0700)
commitc38d8b66c82c585199e2ad67282295f21cfa489f
treef58a3fd96e939ec52871ed4b7c70be9995232f27
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
rpmsg: virtio: EPOLLOUT support

Previously, polling an rpmsg endpoint (e.g. /dev/ttyRPMSGx) would
generate EPOLLIN events but no EPOLLOUT events.

Unfortunately, poll support means that we can no longer disable
tx-complete interrupts as there is no way to know whether a poller is
waiting in sendq, so we always need notifications.

Signed-off-by: Patrick Oppenlander <patrick.oppenlander@gmail.com>
Link: https://lore.kernel.org/r/20251022032817.320378-1-patrick.oppenlander@gmail.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/rpmsg/virtio_rpmsg_bus.c