mbox series

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

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

Message

Brian King Jan. 30, 2023, 10:43 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 (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(-)

Comments

Christophe Leroy Feb. 1, 2023, 10:32 a.m. UTC | #1
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 <gregkh@linuxfoundation.org> 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
Brian King Feb. 1, 2023, 3:09 p.m. UTC | #2
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 <gregkh@linuxfoundation.org> 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