]> git.baikalelectronics.ru Git - uboot.git/commit
nvme: Fix error in nvme_setup_prps
authorJon Lin <jon.lin@rock-chips.com>
Tue, 19 Oct 2021 02:40:54 +0000 (10:40 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 17 Nov 2021 22:09:47 +0000 (17:09 -0500)
commit100536dbbff0244698d24e72c378402b3580cc9f
treefc938a67293c82513b51d6627e2f2608b51e5af6
parentc0360fd27367ec779bfc1742fad169a5446a5d62
nvme: Fix error in nvme_setup_prps

Consulting to "NVM Express® Base Specification, revision 2.0".

If more PRP List pages are required, then the last entry of
the PRP List contains the Page Base Address of the next PRP
List page. The next PRP List page shall be memory page aligned.

Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/nvme/nvme.c