aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorTomer Tayar <[email protected]>2016-03-09 09:16:24 +0200
committerDavid S. Miller <[email protected]>2016-03-11 15:20:20 -0500
commit5529bad98f10f742e3ab490733bed8e108508759 (patch)
tree8564fbcf435afad3c794c1b965e333fb839ef419 /scripts/objdiff
parentfc916ff2027760900f3b373c388a2098253f3c2a (diff)
qed: Major changes to MB locking
Driver interaction with the managemnt firmware is done via mailbox commands which the management firmware periodically sample, as well as placing of additional data in set places in the shared memory. Each PF has a single designated mailbox address, and all flows that require messaging to the management should use it. This patch does 2 things: 1. It re-defines the critical section surrounding the mailbox sending - that section should include the setting of the shared memory as well as the sending of the command [otherwise a race might send a command with the data of a different command]. 2. It moves the locking scheme from using mutices into using spinlocks. This lays the groundwork for sending MFW commands from non-sleepable contexts. Signed-off-by: Tomer Tayar <[email protected]> Signed-off-by: Yuval Mintz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions