]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Remove pstate from hfi1_pportdata
authorJakub Byczkowski <jakub.byczkowski@intel.com>
Sun, 13 Aug 2017 15:08:52 +0000 (08:08 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Aug 2017 18:22:38 +0000 (14:22 -0400)
commit19a69f44b1922aaac7dfd720c92fbbf85f498e90
tree708f9907b6f6b4e497c349607e3fc273b4873f5f
parent920dd3aa2c192b66745008157979f675782fa96d
IB/hfi1: Remove pstate from hfi1_pportdata

Do not track physical state separately from host_link_state.
Deduce physical state from host_link_state when required.
Change cache_physical_state to log_physical_state to make
sure host_link_state reflects hardwares physical state properly.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@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.c
drivers/infiniband/hw/hfi1/chip.h
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/mad.c