From: Casey Leedom Date: Mon, 10 Jan 2011 21:53:43 +0000 (-0800) Subject: cxgb4vf: fix mailbox data/control coherency domain race X-Git-Tag: v2.6.38-rc1~403^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ce3f67e75ffa14ad99b26457a7e9558b8b001a;p=pandora-kernel.git cxgb4vf: fix mailbox data/control coherency domain race For the VFs, the Mailbox Data "registers" are actually backed by T4's "MA" interface rather than PL Registers (as is the case for the PFs). Because these are in different coherency domains, the write to the VF's PL-register-backed Mailbox Control can race in front of the writes to the MA-backed VF Mailbox Data "registers". So we need to do a read-back on at least one byte of the VF Mailbox Data registers before doing the write to the VF Mailbox Control register. Signed-off-by: Casey Leedom Signed-off-by: David S. Miller --- Reading git-diff-tree failed