From patchwork Mon Mar 11 11:35:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 13588673 Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (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 E15D229CEB for ; Mon, 11 Mar 2024 11:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710157061; cv=none; b=VfL+bM1SwSoT4/oPXdcTmRD7uc3Ux7l8+f5buzGnA4xwsou5wg/WTDqyu0R13RAia8D/SlTvA04IT27dQ4aqFPjCBgikq+vlkEODx4+YgzxbMDwDVXHkb5hz5clJXmM/vTDhyYUlwZLO0nSUWS/dl4U1sWk7Hj9YqrBS+VP5sRo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710157061; c=relaxed/simple; bh=H9pSwvg9/SE8kuIEbsgU4B4P6A3BKVjuUA7loNdA/zY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=seELLSxs2xEksjDxM+t/84Dd0xB3qbwBKqpH5vq0i935HnsI91OrQuHeLt6b1IAb1ByPq32RKOeVkLd5n0maM6X2vzyd1qF+9KtT5lxig1R0Xce5RbCpt3M1DZ9PlLcnJBJlIuA3wpBQauOyfmEQ3FdoC0AHuDoo7uNxnq72yqo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=E6CfLmcR; arc=none smtp.client-ip=209.85.216.53 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="E6CfLmcR" Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-29a2d0f69a6so2831733a91.3 for ; Mon, 11 Mar 2024 04:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1710157058; x=1710761858; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=V5/0YUNoPnHYqjxAVoJuw2kEXGZ4ggTUFDhMVmNNxtM=; b=E6CfLmcR/62TBXC9HzIQsp2AD+jvUKwdnchlfDN2GzWdGccjUoEIS2w7UElyPWOrxm 3VZqOwSMODZZePWN7jEARdFuqgYm6LGnKAONmqOXCkRw0+fpZO+Ym6TBnHq4m2IbCMoz JjG517Ku5JshgqU192FIFVao1+RhQimDtVcNM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710157058; x=1710761858; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=V5/0YUNoPnHYqjxAVoJuw2kEXGZ4ggTUFDhMVmNNxtM=; b=ol9dm48sacSdISkH9kNQUISaFrjldS/zqDfK1P9mn2uZI4S1zOpjFsFHaDVCWo1ucQ EnChetYN5M9AMpIKj4yfOXNKe0mlBRUc6KDYl4ixN646fOdzYwzhenUaY6kid9CSBgRY qDfCT967jf/h1g+iq8B0yOYeWTC60Pe0oHmaEWpT98co4s5Qp6iqScOQTcm0pOAoLPGm WdJOpDJQ79bOiCGUd1UUGFtUsUfIFYhaW8M0O2tUmChJbXi6EjjCo6s1LIasgde0mVCO IMPRTDzG+bHU2TM/PHU1Q/1E982DwCtvOpmpowP2K6kTpvUL6jnzxbx2sbqaPhdZ6hdw E+tw== X-Gm-Message-State: AOJu0Yxvct9YNgLOGpVdCXN+NuTap0oBTv7Tj96KVoxDE0Gg+M60qZwp wK++wIuszhHygVTJtPolujiOTZ55+XMujQB577s0gDoiV4QU/x0bZWmArbF4O9PCc2z1P30nI8e pgeEamVce6/y8bWoZDio4e8UW6mUD/kZGy+6LrGzPsMy0ynEVY85CCMrswrk7rLbQmWU4eXPVEm LtSvmJl0tywX9yk8F1Z5z5mkfnamyWi2XAFB/sEdmH3SRBYA== X-Google-Smtp-Source: AGHT+IExHb6tYUwQ79aEPpot1zxRAH3UEfdENuKj2ReV1ZcBWf5np39ToRxvggaI3BMh21BImZtRfg== X-Received: by 2002:a17:90a:b011:b0:299:2cba:7588 with SMTP id x17-20020a17090ab01100b002992cba7588mr4868862pjq.1.1710157058290; Mon, 11 Mar 2024 04:37:38 -0700 (PDT) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id ay3-20020a17090b030300b0029ba5f434a8sm3982655pjb.26.2024.03.11.04.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 04:37:36 -0700 (PDT) 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 v3 0/7] mpi3mr: Few Enhancements and minor fixes Date: Mon, 11 Mar 2024 17:05:07 +0530 Message-Id: <20240311113514.108795-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 Few Enhancements and minor fixes of mpi3mr driver. Changes since v2: - Fixed test robot build warnings Changes since v1: - Updated Function name to mpi3mr_refresh_tgtdevs and changed logical condition - Updated the patch headline . - Reverted the SCSIIOSTATUSREPLY change as it was unintentionally removed. Ranjan Kumar (7): mpi3mr: Block devices are not removed from OS even vd's are offlined mpi3mr: Set MPI request flags appropriately mpi3mr: Clear controller-wide flag that is used to block IOCTLS for the unresponsive controller mpi3mr: Set the WriteSame Divert Capability in the IOCInit MPI Request mpi3mr: Debug ability improvements mpi3mr: Update MPI Headers to revision 31 mpi3mr: driver version upgrade to 8.8.1.0.50 drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h | 3 +++ drivers/scsi/mpi3mr/mpi/mpi30_image.h | 20 ++++---------- drivers/scsi/mpi3mr/mpi/mpi30_ioc.h | 20 ++++++++------ drivers/scsi/mpi3mr/mpi/mpi30_transport.h | 2 +- drivers/scsi/mpi3mr/mpi3mr.h | 16 +++++++----- drivers/scsi/mpi3mr/mpi3mr_app.c | 21 ++++++++++----- drivers/scsi/mpi3mr/mpi3mr_fw.c | 32 +++++++++++++++-------- drivers/scsi/mpi3mr/mpi3mr_os.c | 12 ++++----- 8 files changed, 72 insertions(+), 54 deletions(-)