[PATCH 0/1] RFC: Make thunderbolt NHI driver work with kexec
From: Maxim Levitsky
Date: Wed May 20 2020 - 14:12:52 EST
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(+)
--
2.25.4