From mboxrd@z Thu Jan 1 00:00:00 1970 From: axboe@kernel.dk (Jens Axboe) Date: Tue, 31 Mar 2015 10:40:12 -0600 Subject: [PATCH v2 1/1] nvme: Fix PRP list calculation for non-4k system page size In-Reply-To: References: <201503242226.t2OMQpWq011660@d03av02.boulder.ibm.com> <55142ED7.8040809@linux.vnet.ibm.com> Message-ID: <551ACDEC.5040303@kernel.dk> On 03/26/2015 10:19 AM, Keith Busch wrote: > On Thu, 26 Mar 2015, Brian King wrote: >> From: Murali Iyer >> >> 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 Added for 4.1. -- Jens Axboe