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. v3->v4: - Code simplification Ranjan Kumar (2): mpt3sas: 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 | 50 ++++++++++++++++++++--------- drivers/scsi/mpt3sas/mpt3sas_base.h | 3 +- 3 files changed, 38 insertions(+), 17 deletions(-) -- 2.31.1
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature