linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pci driver loads right after unload
@ 2018-01-01 23:50 Max Gurtovoy
  2018-01-02 19:00 ` Bjorn Helgaas
  0 siblings, 1 reply; 5+ messages in thread
From: Max Gurtovoy @ 2018-01-01 23:50 UTC (permalink / raw)
  To: helgaas, linux-pci

hi all,
I encountered a strange phenomena using 2 different pci drivers (nvme 
and mlx5_core) since 4.15-rc1:
when I try to unload the modules using "modprobe -r" cmd it calls the 
.probe function right after calling the .remove function and the module 
is not realy unloaded.
I think there is some race condition because when I added a msleep(1000) 
after "pci_unregister_driver(&nvme_driver);" (in the nvme module 
testing, it also worked in the mlx5_core), the issue seems to dissapear.

any thoughts or idea what is causing this behaviour ?

-Max.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-03 11:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-01 23:50 pci driver loads right after unload Max Gurtovoy
2018-01-02 19:00 ` Bjorn Helgaas
2018-01-02 19:27   ` Greg Kroah-Hartman
2018-01-03 10:50     ` Max Gurtovoy
2018-01-03 11:18       ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).