Re: [PATCH] nvme: Add 48-bit DMA address quirk
From: Filippo Sironi <hidden>
Date: 2021-02-03 11:13:44
Also in:
lkml
On 2/3/21 10:51 AM, Christoph Hellwig wrote:
On Wed, Feb 03, 2021 at 10:43:38AM +0100, Filippo Sironi wrote:quoted
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 _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme