Files
u-boot/drivers
Aaron Williams b21dcebfa6 nvme: Fix PRP Offset Invalid
When large writes take place I saw a Samsung EVO 970+ return a status
value of 0x13, PRP Offset Invalid.  I tracked this down to the
improper handling of PRP entries.  The blocks the PRP entries are
placed in cannot cross a page boundary and thus should be allocated
on page boundaries.  This is how the Linux kernel driver works.

With this patch, the PRP pool is allocated on a page boundary and
other than the very first allocation, the pool size is a multiple of
the page size.  Each page can hold (4096 / 8) - 1 entries since the
last entry must point to the next page in the pool.

Signed-off-by: Aaron Williams <awilliams@marvell.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-08-26 11:46:28 -04:00
..
2019-05-21 08:03:38 +02:00
2019-02-27 09:12:33 +08:00
2019-08-11 16:43:41 -04:00
2019-05-18 08:15:35 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-23 16:42:38 -04:00
2019-08-26 11:46:28 -04:00
2019-02-20 15:27:08 +08:00
2019-08-07 15:31:04 -04:00
2019-08-12 13:33:39 -04:00
2019-07-19 20:14:50 +02:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-05-24 10:14:10 -07:00
2019-08-11 16:43:41 -04:00
2019-07-19 15:17:05 +02:00
2019-07-11 14:11:18 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 19:27:41 -04:00
2019-08-11 19:27:41 -04:00