]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mthca: Don't use privileged UAR for kernel access
authorMichael S. Tsirkin <mst@mellanox.co.il>
Fri, 22 Sep 2006 22:17:18 +0000 (15:17 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:17:18 +0000 (15:17 -0700)
commit42385c9d8875497d9ece5d90b71b10ab47ca23e1
tree43ab69a01d0c9932b90aa930f21c3a6319b55baa
parent42db089dda592b014cec2cb726ca2b2fa746615a
IB/mthca: Don't use privileged UAR for kernel access

Make kernel use UAR2 instead of UAR1 for hardware access: this adds
sanity checking from the hardware side, without any performance cost.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_uar.c