]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Load fallback platform configuration per HFI device
authorJakub Byczkowski <jakub.byczkowski@intel.com>
Sun, 13 Aug 2017 15:08:40 +0000 (08:08 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Aug 2017 18:22:37 +0000 (14:22 -0400)
commitc7c1ecbbab54a2b853bcb9971382c9771ab7de44
treec1a6318cbc6a7f9db7e423b6284b4cc465588d3d
parent9e38cc1107739b4cb9a20c7e8e0298930e8afeb4
IB/hfi1: Load fallback platform configuration per HFI device

Currently fallback configuration is loaded once per driver instance.
With multiple HFI devices in the same system the current code may not
load the platform config data for the device. Change fallback platform
config data loading to be per device.

Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.h
drivers/infiniband/hw/hfi1/firmware.c
drivers/infiniband/hw/hfi1/platform.c