Skip to content

hvcs: Various hvcs device hotplug fixes

Brian King linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hvcs: Fix hvcs port reference countingdrivers/tty/hvc/hvcs.c+0 -180 replies
2/7hvcs: Remove sysfs file prior to vio unregisterdrivers/tty/hvc/hvcs.c+2 -20 replies
3/7hvcs: Remove sysfs group earlierdrivers/tty/hvc/hvcs.c+2 -20 replies
4/7hvcs: Get reference to tty in removedrivers/tty/hvc/hvcs.c+4 -20 replies
5/7hvcs: Use vhangup in hotplug removedrivers/tty/hvc/hvcs.c+2 -30 replies
6/7hvcs: Synchronize hotplug remove with port freedrivers/tty/hvc/hvcs.c+15 -110 replies
7/7powerpc: Fix device node refcountingarch/powerpc/platforms/pseries/reconfig.c+1 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] 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.

Brian King (7):
hvcs: Fix hvcs port reference counting
hvcs: Remove sysfs file prior to vio unregister
hvcs: Remove sysfs group earlier
hvcs: Get reference to tty in remove
hvcs: Use vhangup in hotplug remove
hvcs: Synchronize hotplug remove with port free
powerpc: Fix device node refcounting

 arch/powerpc/platforms/pseries/reconfig.c |  1 +
 drivers/tty/hvc/hvcs.c                    | 61 +++++++++--------------
 2 files changed, 25 insertions(+), 37 deletions(-)
Signature · 1 line
2.31.1