[MTHCA] Give reserved MTTs a separate cache line (mlnx: 2959)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 11:53:05 +0000 (11:53 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 11:53:05 +0000 (11:53 +0000)
commita2c5d2b5e0e2a629820ee7422a6720521ec35171
treef938863c7a5a36ab8f1a4c64d0e6ba45dc28640c
parent7a8c26eded117ed964a4f0230a0135a58ba080d1
[MTHCA] Give reserved MTTs a separate cache line (mlnx: 2959)
(Linux, 13/02/07, Michael S. Tsirkin, commit: 1d1f19cfce7687b557cebdc41bf8a5eeba8a9882)

MTTs are allocated in non-cache-coherent memory, so we must give
reserved MTTs their own cache line, to prevent both device and
CPU from writing into the same cache line at the same time.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1509 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
hw/mthca/kernel/mthca_main.c