How to disable Linux kernel nvme driver for a particular PCI address ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have multiple NVMe drives of same type (same vendor and same model)
attached to my system running Ubuntu 22.04.2 LTS with Linux kernel
version 5.19.0-35-generic.I have unbound one drive from 'nvme' driver
and bound to the 'vfio-pci' driver using "driverctl
set-override"command.

But when I perform the hot plugging on that particular drive, then
after plugged in, the drive by default binds with 'nvme' driver. So, I
want to permanently bypass/disable the 'nvme' driver only for a
particular pci address/slot. I cannot blacklist the 'nvme' driver
entirely, as other drives still need to be bound with 'nvme' driver.

So, Is there any way to disable the 'nvme' driver for a particular PCI
address/slot ?

Regards,
Ashutosh



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux