[PATCH 0/7] hvcs: Various hvcs device hotplug fixes

Brian King brking at linux.vnet.ibm.com
Tue Jan 31 09:43:14 AEDT 2023


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(-)

-- 
2.31.1



More information about the Linuxppc-dev mailing list