From patchwork Thu Dec 14 20:58:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 754260 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 317291110 for ; Thu, 14 Dec 2023 21:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="HEuxWV1s" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6cebcf8a48aso7366128b3a.3 for ; Thu, 14 Dec 2023 13:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1702587659; x=1703192459; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=WMvmr17AS1d3oqU7eLfifrh7kOOTHbToiHUspPgycsQ=; b=HEuxWV1sOgf1iDmE0J4NY7O/CgI2TOWHSESHRDnvXgZr2vE0Ig9pT2djSYS51pBlmk esW3hg4lC6yOqJ+j8ZJ6w0lmSu/Ht0aOF4iundnLXYvKqe3AT1DeW3n29/lihg8YDUoE kyzWiA2yaPJbioeE47Mb8ud09KjL/eq6df8jw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702587659; x=1703192459; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WMvmr17AS1d3oqU7eLfifrh7kOOTHbToiHUspPgycsQ=; b=Uk7jBVG3ULMp5z/xjQ939Gl9Nckx0JyYSEYDAMPMpTO5shPTyz3xndvD+oxFnW3rqn 3U+vz6/NTJpDaaO4shRom1deVKVezMuA0yrCM8XWnO+8HmkkZv6Hzi8Fw2WauYBVSRJN q4Uqu+mclQ+5178sRUWaUm9ns9rBelD2ADlaWIRk+JNuqrFLlk9/ivc3U6ztv0fAz78C 3ApEWKH53VqC+92lYzGiN6iQWeJGuKOfLK4TiUACNeevdjCj3dxAu6KClDHoR78IdGVQ sWe0aRyB+1tDibIGGov51QXkHnPCz56K/BZNZcwurZ2kVQSVuxlVwW0wpBFm37zN194T dMXg== X-Gm-Message-State: AOJu0YzCIQsPUaGquuvILmpjKcW3DKLfqMKoXt/e5419e1LZQGE2zraL S34c243IP8mFh6SyIKi7KQEHXTX8/DXM450xyhH+lvQ3AyKASBUX8MX54/aE6Erdq95pJpiv1Bk VFnxwIkvRFXTFl6ZtG4KI7D0hW8aR4Ugb6CA2BLfzobd373l7JNEDAXZSfHzlctqg4TQmrNtV1P 2VSCOL4ibXBA== X-Google-Smtp-Source: AGHT+IG0ywRzCE6ftZEpJy8/WhY/ByjgTVhbCOOPeDrCD1Lctprt0OFrDKBuueQxISuyLYoHk+cLSw== X-Received: by 2002:a62:d44e:0:b0:6ce:2732:58f with SMTP id u14-20020a62d44e000000b006ce2732058fmr8902460pfl.64.1702587658541; Thu, 14 Dec 2023 13:00:58 -0800 (PST) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id bv190-20020a632ec7000000b005c2967852c5sm11904303pgb.30.2023.12.14.13.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 13:00:56 -0800 (PST) From: Ranjan Kumar To: linux-scsi@vger.kernel.org, martin.petersen@oracle.com Cc: rajsekhar.chundru@broadcom.com, sathya.prakash@broadcom.com, sumit.saxena@broadcom.com, chandrakanth.patil@broadcom.com, prayas.patel@broadcom.com, Ranjan Kumar Subject: [PATCH v2 0/6] mpi3mr: Support PCIe Error Recovery Date: Fri, 15 Dec 2023 02:28:54 +0530 Message-Id: <20231214205900.270488-1-ranjan.kumar@broadcom.com> X-Mailer: git-send-email 2.31.1 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Patches are related to "Advance Error Recovery" and are tightly coupled and the remaining two patches are defect fix. v1->v2: - AER patch split as suggested by Bjorn Helgaas - Updated driver version to a new value Ranjan Kumar (6): mpi3mr: Creation of helper function mpi3mr: Support PCIe Error Recovery callback handlers mpi3mr: Prevent PCI writes from driver during PCI error recovery mpi3mr: Improve Shutdown times when firmware has faulted mpi3mr: Reset stop_bsgs flag post controller reset failure mpi3mr: Update driver version to 8.6.1.0.50 drivers/scsi/mpi3mr/mpi3mr.h | 36 ++- drivers/scsi/mpi3mr/mpi3mr_app.c | 64 ++--- drivers/scsi/mpi3mr/mpi3mr_fw.c | 65 +++-- drivers/scsi/mpi3mr/mpi3mr_os.c | 322 +++++++++++++++++++++---- drivers/scsi/mpi3mr/mpi3mr_transport.c | 39 ++- 5 files changed, 435 insertions(+), 91 deletions(-)