From: Aaron Williams Date: Thu, 22 Aug 2019 11:05:22 -0700 Subject: [U-Boot] [PATCH v3 0/1] nvme: Fix invalid PRP Offset In-Reply-To: <20190822180523.9787-1-awilliams@marvell.com> References: <20190822180523.9787-1-awilliams@marvell.com> Message-ID: <20190822180523.9787-2-awilliams@marvell.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hopefully this addresses all of the issues. I ran into problems with the Samsung EVO 970+ NVME drive where I was getting a status code of 0x2013 which is Invalid PRP Offset. The PRP data structure cannot span page boundaries and it should be a multiple of the page size, where the last entry points to the next page. This patch fixes this and duplicates the way this works in the Linux kernel. Personally I would like to move away from using PRP since I think it may be possible to just use a simple scatter-gather entry instead. If I do that it will be in a later patch. Aaron Williams (1): nvme: Fix PRP Offset Invalid drivers/nvme/nvme.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) -- 2.16.4