]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Use the same capability state for all shared contexts
authorDean Luick <dean.luick@intel.com>
Thu, 28 Jul 2016 19:21:13 +0000 (15:21 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 3 Aug 2016 02:46:21 +0000 (22:46 -0400)
commit4e5ffcf43d1da8a655da332c47a9319cdde764d3
treeab2fe30c51da5f651eae8b45408eed635884667e
parent92436ec09192367179204a6f8611c87fe04ac83c
IB/hfi1: Use the same capability state for all shared contexts

Save the current capability state at user context creation
time.  Report this saved value for all shared contexts.

Also get rid of unnecessary hfi1_get_base_kinfo function.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip.h
drivers/infiniband/hw/hfi1/file_ops.c
drivers/infiniband/hw/hfi1/hfi.h