Re: [PATCH v2 10/11] lpfc: Add missing memory barrier

2017-03-03 Thread Mauricio Faria de Oliveira
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 re

Re: [PATCH v2 10/11] lpfc: Add missing memory barrier

2016-12-20 Thread Hannes Reinecke
On 12/20/2016 12:07 AM, 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 occasi

[PATCH v2 10/11] lpfc: Add missing memory barrier

2016-12-19 Thread James Smart
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