2 ms·
This seems to be the same thing for NVMe devices (eg Samsung, SK Hynix, Micron, Kingston, ADATA, Intel, (etc) NVMe drives): https://github.com/torvalds/linux/b
by justinclift 4y ago
This seems to be the same thing for NVMe devices (eg Samsung, SK Hynix, Micron, Kingston, ADATA, Intel, (etc) NVMe drives):
https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4091ff99df26c67c9021/drivers/nvme/host/pci.c#L3357-L3497 https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4...
Not quite as easy to read and understand as the ata driver code though.
With the occasional further device specific workarounds in other parts of the code.
eg for specific Toshiba, LiteON, and Kioxia devices:
https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4091ff99df26c67c9021/drivers/nvme/host/core.c#L2641-L2672 https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4...
While this seems to be special handling for Samsung X5 SSD external drives, and also Samsung 970 Evo Plus drives:
https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4091ff99df26c67c9021/drivers/nvme/host/core.c#L2674-L2685 https://github.com/torvalds/linux/blob/69f2c9346313ba3d3dfa4...