summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ehca/hipz_hw.h
diff options
context:
space:
mode:
authorJoachim Fenkes <fenkes@de.ibm.com>2007-12-10 20:59:10 +0300
committerRoland Dreier <rolandd@cisco.com>2007-12-13 01:09:43 +0300
commit4faf7757955239c1b259e7dab224d4638a99b456 (patch)
treed6e56aef1706cf26c0daa67bad150cb88ad7f52f /drivers/infiniband/hw/ehca/hipz_hw.h
parent1457edc72d187f452be1374c7d9281f1dfa16f32 (diff)
downloadlinux-4faf7757955239c1b259e7dab224d4638a99b456.tar.xz
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>
Diffstat (limited to 'drivers/infiniband/hw/ehca/hipz_hw.h')
-rw-r--r--drivers/infiniband/hw/ehca/hipz_hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/hipz_hw.h b/drivers/infiniband/hw/ehca/hipz_hw.h
index 485b8400359e..bf996c7acc42 100644
--- a/drivers/infiniband/hw/ehca/hipz_hw.h
+++ b/drivers/infiniband/hw/ehca/hipz_hw.h
@@ -378,6 +378,7 @@ struct hipz_query_hca {
#define HCA_CAP_UD_LL_QP EHCA_BMASK_IBM(16, 16)
#define HCA_CAP_RESIZE_MR EHCA_BMASK_IBM(17, 17)
#define HCA_CAP_MINI_QP EHCA_BMASK_IBM(18, 18)
+#define HCA_CAP_H_ALLOC_RES_SYNC EHCA_BMASK_IBM(19, 19)
/* query port response block */
struct hipz_query_port {