]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Do not write EEPROM
authorMitko Haralanov <mitko.haralanov@intel.com>
Fri, 16 Jan 2015 13:55:27 +0000 (08:55 -0500)
committerRoland Dreier <roland@purestorage.com>
Tue, 17 Feb 2015 00:42:14 +0000 (16:42 -0800)
commit02a7bd64011e21922a5d71f8e8271e457ee8cab1
treec6a4bfb33d896cebb7815e4b6071dde66c3f679a
parent113752a2d013036ace305a5903244534c17cd00a
IB/qib: Do not write EEPROM

This changeset removes all the code that allows the driver to write to
the EEPROM and update the recorded error counters and power on hours.

These two stats are unused and writing them exposes a timing risk
which could leave the EEPROM in a bad state preventing further normal
operation of the HCA.

Cc: <stable@vger.kernel.org>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib.h
drivers/infiniband/hw/qib/qib_eeprom.c
drivers/infiniband/hw/qib/qib_iba6120.c
drivers/infiniband/hw/qib/qib_iba7220.c
drivers/infiniband/hw/qib/qib_iba7322.c
drivers/infiniband/hw/qib/qib_init.c
drivers/infiniband/hw/qib/qib_sysfs.c