]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
IB/ehca: Serialize hypervisor calls in ehca_register_mr()
authorStefan Roscher <stefan.roscher@de.ibm.com>
Wed, 9 May 2007 11:47:56 +0000 (13:47 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 14 May 2007 20:38:11 +0000 (13:38 -0700)
commit5d88278e3bdb6f2e4ed43306659e930ecd715f0c
tree60c856cf49531a23c0323a9146818932f62c6766
parent8f140b407f3be04e7202be9aa0cfef3006d14c9f
IB/ehca: Serialize hypervisor calls in ehca_register_mr()

Some pSeries hypervisor versions show a race condition in the allocate
MR hCall.  Serialize this call per adapter to circumvent this problem.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/ehca/hcp_if.c