IB/ehca: Serialize HCA-related hCalls if necessary
authorJoachim Fenkes <fenkes@de.ibm.com>
Mon, 10 Dec 2007 17:59:10 +0000 (18:59 +0100)
committerRoland Dreier <rolandd@cisco.com>
Wed, 12 Dec 2007 22:09:43 +0000 (14:09 -0800)
commit4faf7757955239c1b259e7dab224d4638a99b456
treed6e56aef1706cf26c0daa67bad150cb88ad7f52f
parent1457edc72d187f452be1374c7d9281f1dfa16f32
IB/ehca: Serialize HCA-related hCalls if necessary

Several pSeries firmware versions share a rare locking issue in the
HCA-related hCalls. Check for a feature flag that indicates the issue
being fixed and serialize all HCA hCalls if not.

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