Skip to content

hvcs: Various hvcs device hotplug fixes

Brian King linux-serial linuxppc-dev 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 0 repliesNew
  2. v26 patches 3 repliesSuperseded
  3. v16 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hvcs: Use dev_groups to manage hvcs device attributesdrivers/tty/hvc/hvcs.c+5 -140 replies
2/5hvcs: Use driver groups to manage driver attributesdrivers/tty/hvc/hvcs.c+8 -90 replies
3/5hvcs: Get reference to tty in removedrivers/tty/hvc/hvcs.c+4 -20 replies
4/5hvcs: Use vhangup in hotplug removedrivers/tty/hvc/hvcs.c+2 -30 replies
5/5hvcs: Synchronize hotplug remove with port freedrivers/tty/hvc/hvcs.c+15 -110 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/5] hvcs: Various hvcs device hotplug fixes

This patch series fixes a number of issues with hotplugging hvcs devices including memory leaks as well as, the inability to reconnect to a console device after it has been hot added back, since it was not getting cleaned up properly on the hotplug remove path.

Changes since version 2:
- Change attribute groups to use ATTRIBUTE_GROUPS macros

Changes since initial version:
- Change to use driver default groups to manage attribute lifecycle

Brian King (5):
hvcs: Use dev_groups to manage hvcs device attributes
hvcs: Use driver groups to manage driver attributes
hvcs: Get reference to tty in remove
hvcs: Use vhangup in hotplug remove
hvcs: Synchronize hotplug remove with port free

 drivers/tty/hvc/hvcs.c | 73 ++++++++++++++++++++----------------------
 1 file changed, 34 insertions(+), 39 deletions(-)
Signature · 1 line
2.31.1