]> 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)
commit6e26a83c67be6a441b5f07cb94c4ad40f6445fc0
treeab2fe30c51da5f651eae8b45408eed635884667e
parent0efb4b7956a9de47f75b5444a10effe897db45e6
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