]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Protect the doorbell BAR with the write barriers.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Tue, 28 Jun 2016 11:46:03 +0000 (07:46 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 19:30:01 +0000 (12:30 -0700)
commitbb7f4492d47d578bc0be61b2596c6867b90e6c7e
tree1eba2239af4df9baaacfa065eea588b1170f1296
parentd170870d0086d0d0e60bcdbcc571274dce135a3f
qed: Protect the doorbell BAR with the write barriers.

SPQ doorbell is currently protected with the compilation barrier. Under the
stress scenarios, we may get into a state where (due to the weak ordering)
several ramrod doorbells were written to the BAR with an out-of-order
producer values. Need to change the barrier type to a write barrier to make
sure that the write buffer is flushed after each doorbell.

Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 23732603
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_spq.c