mbox series

[0/6] hvcs: Various hvcs device hotplug fixes

Message ID 20230201195743.303163-1-brking@linux.vnet.ibm.com (mailing list archive)
Headers show
Series hvcs: Various hvcs device hotplug fixes | expand

Message

Brian King Feb. 1, 2023, 7:57 p.m. UTC
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 (6):
  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

 drivers/tty/hvc/hvcs.c | 61 +++++++++++++++++-------------------------
 1 file changed, 24 insertions(+), 37 deletions(-)