From patchwork Thu Mar 7 15:08:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 778775 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 366FF12D765 for ; Thu, 7 Mar 2024 15:10:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709824249; cv=none; b=iGDtRpItTLAiavievq0VTPA2PJ2AP98OGZW1swoQ2drZLsNIJfMcLa0W93EImBwHo5479wjYQu/6gHit1Mvw4JSfmpFVNTXYgeAQ6MgOY1eH51jRmnJeLDKkmhzTSLyEjmqead+DhORKAo54ZKLckOT72oy8gZWEDdgSr+dPoLw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709824249; c=relaxed/simple; bh=tPVrX6jaUhs09wLEZlZVsH16gpSOgcZhyw/Xp6RUlfQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=PKW+MpTO6yhv6fCO0Wb6qzv1P1JoGX05rg0CERJFw/AOnLYyok99MYr1JDwOnPdbtV8sDPm17xa4mCrrziH7xOEzG1xduuZd7qdY8uTfHy6JbzU8DClbU9683HAVrwlfJOe/i8az/mzQmrsyGL397blPAtwrG5bGATQK8p8JxLg= 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=TIQLSyfj; arc=none smtp.client-ip=209.85.210.175 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="TIQLSyfj" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6e5760eeb7aso741981b3a.1 for ; Thu, 07 Mar 2024 07:10:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1709824247; x=1710429047; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=oKb0ZOlc5L4llPJoV9sttZoP3zrO4k0Z3C7KvjhV3dE=; b=TIQLSyfjqDNz6fN9qBKOs6j3pYyI9Oz3jrrSYFL7IRE2hYDpyPnSdA5BDO1vURy9CO vVdr+UbVvwhkoviSEyAiFBoW6m39Ke/4LO7q0JKCjCdQs1St49+HBy+YEtwt+RGkGmQe 6jEM/l5t8VsnfqNCGiF0EdDZNyzPJ6JNvF1O4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709824247; x=1710429047; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oKb0ZOlc5L4llPJoV9sttZoP3zrO4k0Z3C7KvjhV3dE=; b=egaZKCLYy6MqGD/Mxby9IS6Gy+64K8SNGuEQUfNC48r3zERz3vBPD9BIYotiy8X/0d S1y3559OlEKcnOob1RQbOfGGhWJlHa8AgyjHT8aJaUDbAH0zbm5QxkCb94SjHnZqy4b6 tqfNyZtnTppl5QKkzQshhXXVzmWH1cnoKIpbKr9mCjruEXTZaZvQFo8Pjvfxzlv+BBo4 Jiyf7FK8SgxI6bjLWwk9fqZaVlwPPJtjzpPOXiXsDY+CLOjN3nrNSaEyhPSbswtKbcBT nVy+X4v6hYx1MoNHIjBk76YD+/E2JmsjgF7RONfsAMWtpX5rOwzbz4eFOTIIXICy+O6G m5wg== X-Gm-Message-State: AOJu0Yzl3uGDlVmxX+/CbNn2wP6Pgql8up6k5iyAquJliwEoQoHZYahZ viMXAOgtmtk/z/2bg591z5EmA5sJxtYGgEk8h54qUoPzaVKWC1C3SAxWqcULi7O2To/b/+0/wOb 3HjQFgVIWxvD8wLXGQTaryjpgqGRHNrIMIQGYjAIeKCGVVtyIEnFRReOq0bEgmQuxvnYwNjUbsP jGkRWZuRtFGjTeKgxbX/iGeI61bqX5L48G3EjJ5IN1+1QnVhon X-Google-Smtp-Source: AGHT+IFZ7nN7a9bAvsoY++g08CskYNQ5IGTcr0J55n4USwqUB3nEa3a4PJ4bLOkZx3cCLeByPw+zZA== X-Received: by 2002:a05:6a20:938f:b0:1a1:4ca5:86cf with SMTP id x15-20020a056a20938f00b001a14ca586cfmr9655064pzh.12.1709824246560; Thu, 07 Mar 2024 07:10:46 -0800 (PST) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id w17-20020a056a0014d100b006e58da8bb6asm12009906pfu.132.2024.03.07.07.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 07:10:45 -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/7] mpi3mr: Few Enhancements and minor fixes Date: Thu, 7 Mar 2024 20:38:18 +0530 Message-Id: <20240307150825.7613-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 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 | 12 ++++++--- drivers/scsi/mpi3mr/mpi3mr_app.c | 21 ++++++++++----- drivers/scsi/mpi3mr/mpi3mr_fw.c | 32 +++++++++++++++-------- drivers/scsi/mpi3mr/mpi3mr_os.c | 12 ++++----- 8 files changed, 70 insertions(+), 52 deletions(-)