mbox series

[v3,0/2] mpt3sas: Additional retries when reading specific registers

Message ID 20230726112527.14987-1-ranjan.kumar@broadcom.com
Headers show
Series mpt3sas: Additional retries when reading specific registers | expand

Message

Ranjan Kumar July 26, 2023, 11:25 a.m. UTC
Doorbell and Host diagnostic registers could return 0 even
after 3 retries and that leads to occasional resets of the
controllers, hence increased the retry count to thirty.

v1->v2:
-added a new patch for volatile as suggested by Greg KH.
-renamed macro as suggested by Damien Le Moal.

v2->v3:
-Modified patch description with more details.

Ranjan Kumar (2):
  Perform additional retries if Doorbell read returns 0
  mpt3sas: Removing volatile qualifier

 drivers/scsi/mpt3sas/mpi/mpi2.h     |  2 +-
 drivers/scsi/mpt3sas/mpt3sas_base.c | 53 ++++++++++++++++-------------
 drivers/scsi/mpt3sas/mpt3sas_base.h | 11 +++++-
 3 files changed, 40 insertions(+), 26 deletions(-)