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

Jens Axboe axboe at kernel.dk
Tue Mar 31 09:40:12 PDT 2015


On 03/26/2015 10:19 AM, Keith Busch wrote:
> 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>

Added for 4.1.

-- 
Jens Axboe




More information about the Linux-nvme mailing list