]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3bb383cb2594ec4b42b2983bb035ff3a3dd6412b
tree37d37b1c1d8f36ce347ed720c8f8cd7e80b5623a
parent9b4d13f75c660e1b61a3d7546f9618549541fbd1
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