Searched hist:"7796 c58f041650a4933220a1d275bdb24d8f33a3" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/nvme/ |
| H A D | nvme.c | 7796c58f041650a4933220a1d275bdb24d8f33a3 Wed Oct 16 06:42:04 UTC 2019 Patrick Wildt <patrick@blueri.se> UPSTREAM: nvme: use page-aligned buffer for identify command
Change the stack-allocated buffer for the identification command to explicitly allocate page-aligned buffers. Even though the spec seems to allow having admin queue commands on non page-aligned buffers, it seems to not be possible on my i.MX8MQ board with a a Silicon Power P34A80. Since all of the NVMe drivers I have seen always do admin commands on a page-aligned buffer, which does work on my system, it makes sense for us to do that as well.
Change-Id: I4e73559a6b9d36903f9cc4e687649779c615c063 Signed-off-by: Patrick Wildt <patrick@blueri.se> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 2f83481dff9c4f253a6ac341911d78d4984ca07b)
|