All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
To: James Smart <james.smart@broadcom.com>,
	linux-scsi@vger.kernel.org,
	"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH v2 10/11] lpfc: Add missing memory barrier
Date: Fri, 3 Mar 2017 22:46:13 -0300	[thread overview]
Message-ID: <119bfea5-e903-ed2d-0a5d-a461a82dcf0e@linux.vnet.ibm.com> (raw)
In-Reply-To: <58586832.woeJM8e1raA2NxNi%james.smart@broadcom.com>

On 12/19/2016 09:07 PM, James Smart wrote:
> On loosely ordered memory systems (PPC for example), the WQE elements
> were being updated in memory, but not necessarily flushed before the
> separate doorbell was written to hw which would cause hw to dma the
> WQE element. Thus, the hardware occasionally received partially
> updated WQE data.
>
> Add the memory barrier after updating the WQE memory.

Reviewed-by: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>

Martin, may you please flag this patch for stable?

Thank you,

-- 
Mauricio Faria de Oliveira
IBM Linux Technology Center

      parent reply	other threads:[~2017-03-04  1:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-19 23:07 [PATCH v2 10/11] lpfc: Add missing memory barrier James Smart
2016-12-20 13:47 ` Hannes Reinecke
2017-03-04  1:46 ` Mauricio Faria de Oliveira [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=119bfea5-e903-ed2d-0a5d-a461a82dcf0e@linux.vnet.ibm.com \
    --to=mauricfo@linux.vnet.ibm.com \
    --cc=james.smart@broadcom.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.