On 2/3/21 10:51 AM, Christoph Hellwig wrote:
On Wed, Feb 03, 2021 at 10:43:38AM +0100, Filippo Sironi wrote:
Certain NVMe controllers don't support 64-bit DMA addresses. Instead,
they are limited to 48-bit DMA addresses. Let's add a quirk to use them
properly.
WTF? This is such a grave NVMe spec compiance bug that I do not think
we should support this buggy mess in Linux.
I don't disagree on the first part of your sentence, this is a big
oversight.
On the other hand, those controllers are out there and are in use by a
lot of customers. We can keep relying on luck, hoping that customers
don't run into troubles or we can merge a few lines of code :)
Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879