lkml.org 
[lkml]   [2016]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] nvme: Pass pointers, not dma addresses, to nvme_get/set_features()
On Mon, Aug 29, 2016 at 02:25:45AM -0700, Andy Lutomirski wrote:
> + /*
> + * A controller "page" may be bigger than a Linux page, but we can
> + * be conservative here.
> + */

It is the actually other way around: the Linux page may be larger than the
controller's. We currently use the smallest possible controller page (4k)
regardless of the host's size due to limitations discovering the CPU's
DMA alignment. PPC was the first to encounter this problem with NVMe.

Otherwise, looks good.

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.069 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site