Re: [PATCH] net: pci: Fix hotplug event timeout with shpchp

linmiaohe
2019-07-03T02:07:56Z

On Tue, Jul 02, 2019 at 01:35:19PM +0000, Miaohe Lin wrote:
> > Hotplug a network card would take more than 5 seconds in qemu + shpchp
> > scene. It’s because 5 seconds delayed_work in func
>
> I'm dropping this because of the required delay pointed out by Lukas.
>
> If you think we still need to do something here, please clarify the situation. Are you hot-adding? Hot-swapping? Since you mention a protocol timeout, I suspect the latter, e.g., maybe you had an existing device with connections already open, and you want to replace it with a new device
> We do have to preserve the existing user experience, e.g., delays to allow operators to recover from mistaken latch opens or button presses. But if we knew more about what you're trying to do, maybe we could figure out another approach.

Thanks for your reply. As is spec required, we would try to work around it.
Many thanks.

Have a good day.
Best wishes.