| #
1107b9c2 |
| 15-May-2019 |
Bin Meng <bmeng.cn@gmail.com> |
UPSTREAM: nvme: Fix warning of cast from pointer to integer of different size
When dma_addr_t is u32 in 64-bit, there are some warnings when building NVME driver. Fix it by doing an additional (long
UPSTREAM: nvme: Fix warning of cast from pointer to integer of different size
When dma_addr_t is u32 in 64-bit, there are some warnings when building NVME driver. Fix it by doing an additional (long) cast.
Change-Id: I45e2004c4904cc3b41530675e869e05994bc6890 Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 5b2a20e9564c46a571126275991426dd8618e2d8)
show more ...
|
| #
704e040a |
| 22-Aug-2017 |
Bin Meng <bmeng.cn@gmail.com> |
nvme: Apply cache operations on the DMA buffers
So far cache operations are only applied on the submission queue and completion queue, but they are missing in other places like identify and block re
nvme: Apply cache operations on the DMA buffers
So far cache operations are only applied on the submission queue and completion queue, but they are missing in other places like identify and block read/write routines.
In order to correctly operate on the caches, the DMA buffer passed to identify routine must be allocated properly on the stack with the existing macro ALLOC_CACHE_ALIGN_BUFFER().
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| #
f6aa61d5 |
| 03-Aug-2017 |
Zhikang Zhang <zhikang.zhang@nxp.com> |
nvme: Add show routine to print detailed information
This adds nvme_print_info() to show detailed NVMe controller and namespace information.
Signed-off-by: Zhikang Zhang <zhikang.zhang@nxp.com> Sig
nvme: Add show routine to print detailed information
This adds nvme_print_info() to show detailed NVMe controller and namespace information.
Signed-off-by: Zhikang Zhang <zhikang.zhang@nxp.com> Signed-off-by: Wenbin Song <wenbin.song@nxp.com> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|