Skip to content

uio: Fix uio hotplug issues

Brian Russell lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest1 of 2 patches 5 repliesIn review
  2. v80 of 2 patches 0 repliesSuperseded

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2uio: Fix uio driver to refcount devicedrivers/uio/uio.c include/linux/uio_driver.h+40 -205 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v9 yet.

Read the v9 thread

Cover letter [PATCH v9 0/2] uio: Fix uio hotplug issues

Protect uio driver from crashing when its owner is unplugged while there are open fds.

Brian Russell (2):
uio: Request/free irq separate from dev lifecycle
uio: Fix uio driver to refcount device

v9: remove line wrap from 2/2

v8: break out irq change into separate patch

v7: use dev_set_name and fix error path in uio_register_device

v6: ... and put them in the right place

v5: add patch version changes

v4: info struct passed in uio_register_device can be freed
on unregister, so null out the field in uio_unregister_device and check accesses.

v3: Embed struct device in struct uio_device, use refcounting on
device, free uio_device on release.

v2: Add blank line to header