Re: [PATCH 0/7] hvcs: Various hvcs device hotplug fixes
On 2/1/23 4:32 AM, Christophe Leroy wrote: > > > Le 30/01/2023 à 23:43, Brian King a écrit : >> 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(-) >> > > As far as I can see, most recent patches in drivers/tty/hvc/ are taken > by Greg Kroah-Hartman so I'd suggest you > send you series to Greg as he maintains the tty tree. Sure. I just followed what was in the maintainers file, but I can resend and cc Greg and linux-serial if that makes sense. > By the way, does last patch require the 6 previous ones or can it be > applied independently ? Yes. It is independent, so I'll pull this out of the series and can send it separately to this list only. Thanks, Brian -- Brian King Power Linux I/O IBM Linux Technology Center
Re: [PATCH 0/7] hvcs: Various hvcs device hotplug fixes
Le 30/01/2023 à 23:43, Brian King a écrit : > 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(-) > As far as I can see, most recent patches in drivers/tty/hvc/ are taken by Greg Kroah-Hartman so I'd suggest you send you series to Greg as he maintains the tty tree. By the way, does last patch require the 6 previous ones or can it be applied independently ? Christophe
[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(-) -- 2.31.1