qed: Handle possible race in SB config
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 21 Feb 2016 09:40:08 +0000 (11:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2016 03:49:15 +0000 (22:49 -0500)
commit0a0c5d3b81529de2c1b65eb6582a4b6d0da1ada9
tree37d37b1c1d8f36ce347ed720c8f8cd7e80b5623a
parent60fffb3b80e8669636ab4bc067869b7516f47147
qed: Handle possible race in SB config

Due to HW design, some of the memories are wide-bus and access to those
needs to be sequentialized on a per-HW-block level; Read/write to a
given HW-block might break other read/write to wide-bus memory done at
~same time.

Status blocks initialization in CAU is done into such a wide-bus memory.
This moves the initialization into using DMAE which is guaranteed to be
safe to use on such memories.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_int.c