]> git.baikalelectronics.ru Git - 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)
commitbffe90a5c8de5dc14feb05e43d301b4755a7404e
tree60c856cf49531a23c0323a9146818932f62c6766
parent2c629512d1114b396047e4f14bfb5201f1d058a6
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