[RFC PATCH 0/1] enable quirks via module parameter

Keith Busch kbusch at kernel.org
Fri May 16 08:59:10 PDT 2025


On Fri, May 16, 2025 at 05:50:24PM +0200, Maurizio Lombardi wrote:
> On some occasions, our customers have complained about misbehaving
> NVMe devices. We had to compile and provide them
> with a test kernel just to see if a quirk could resolve the issue.
> 
> What do you think about allowing users to enable or disable a
> quirk via a module parameter, similar to how usbcore does it?

Can't we already do this for pci using the "new_id" attribute of the
nvme-pci driver? It takes up to 7 parameters, the last one being the
"driver_data", which is what we use to setup the quirks, and you can set
that value to anything you want through that interface.



More information about the Linux-nvme mailing list