Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: axboe@kernel.dk (Jens Axboe)
Subject: [PATCH v2 1/1] nvme: Fix PRP list calculation for non-4k system page size
Date: Tue, 31 Mar 2015 10:40:12 -0600	[thread overview]
Message-ID: <551ACDEC.5040303@kernel.dk> (raw)
In-Reply-To: <alpine.LNX.2.00.1503261618220.32385@localhost.lm.intel.com>

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

      reply	other threads:[~2015-03-31 16:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 22:26 [PATCH 1/1] nvme: Fix PRP list calculation for non-4k system page size Brian King
2015-03-24 22:43 ` Keith Busch
2015-03-26 16:07   ` [PATCH v2 " Brian King
2015-03-26 16:19     ` Keith Busch
2015-03-31 16:40       ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=551ACDEC.5040303@kernel.dk \
    --to=axboe@kernel.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox