[PATCH v2 1/1] nvme: Fix PRP list calculation for non-4k system page size

Keith Busch keith.busch at intel.com
Thu Mar 26 09:19:40 PDT 2015


On Thu, 26 Mar 2015, Brian King wrote:
> From: Murali Iyer <mniyer at us.ibm.com>
>
> PRP list calculation is supposed to be based on device's page size.
> Systems with page size larger than device's page size cause corruption
> to the name space as well as system memory with out this fix.
> Systems like x86 might not experience this issue because it uses
> PAGE_SIZE of 4K where as powerpc uses PAGE_SIZE of 64k while NVMe device's
> page size varies depending upon the vendor.

Thanks!

Acked-by: Keith Busch <keith.busch at intel.com>

> Signed-off-by: Murali Iyer <mniyer at us.ibm.com>
> Signed-off-by: Brian King <brking at linux.vnet.ibm.com>



More information about the Linux-nvme mailing list