mbox series

[0/1] RFC: Make thunderbolt NHI driver work with kexec

Message ID 20200520181240.118559-1-mlevitsk@redhat.com (mailing list archive)
Headers show
Series RFC: Make thunderbolt NHI driver work with kexec | expand

Message

Maxim Levitsky May 20, 2020, 6:12 p.m. UTC
While trying to use kexec on my desktop,
which has Titan Ridge Thunderbolt add-on card,
I noticed that after a kexec, system hangs
for about a minute in the 'wating for udev devices
to settle' phase of the boot.

I found out that if I unload the thunderbolt driver
prior to the kexec, then it works just fine.

Looking at the code I see that the driver doeesn't
implement .shutdown method, so this on-liner patch
points it to the same method that is used on device removal.

I don't know if this is the right solution,
but it does appear to work just fine with this patch.

What do you think?

Best regards,
	Maxim Levitsky

Maxim Levitsky (1):
  thunderbolt: add trivial .shutdown

 drivers/thunderbolt/nhi.c | 1 +
 1 file changed, 1 insertion(+)