From patchwork Wed Jul 12 11:59:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 702653 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E061EB64D9 for ; Wed, 12 Jul 2023 12:01:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232429AbjGLMBS (ORCPT ); Wed, 12 Jul 2023 08:01:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233113AbjGLMBF (ORCPT ); Wed, 12 Jul 2023 08:01:05 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E130C1BE9 for ; Wed, 12 Jul 2023 05:00:58 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1b89bc52cd1so31317645ad.1 for ; Wed, 12 Jul 2023 05:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1689163258; x=1691755258; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=f2qntN2wxmzyFE0sczXen6bqzr3HScVnkz3S52A0Lo0=; b=OmufkHD1GTbfLRZYWkXqw1mp1t1YPjjDNNX4TBzeWbFI+vPCFkAyc93QVLj7RKQYau 3x7Z/ry4IiTav2iQkITBO86o6c+v7A9/2WCeNaF2kkkh0ODFSvgLC4ZCQfQAxgYIArl6 GibKx9Nfawf6iSrdDJHgBu2gpFpXteriIsq1M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689163258; x=1691755258; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f2qntN2wxmzyFE0sczXen6bqzr3HScVnkz3S52A0Lo0=; b=gsQzYCHRX12jK0t5CMmnJi3kSrYvufaGlB//0hiLEAscFZauZXdHHK2+rswCH4IAuB Dd2wEN4wu4AOe2t2B5XQG3ot7L9uQpmwq7iVapcy5v1EefYz70pvR8F+OEoPmuTd1Pqt bTkLrXBmasY3UscKj/d5fBnBCOo+peAmM1K68ZSPKFpyNtO2mPUep+AsVL3AJSlEtMKf IILxffVHghQiALP+i0Ww5BxqZpZ8gJC/H3bK6wc/obKLRKy5uC1efCUtZDccbzyMbOGO D88MRE19Wbe9ghPy5sWvijvVOjY3KPZpB4FxCB+jbD/UQIL4c66d2Ubf5UXc80jnQAfT +bOw== X-Gm-Message-State: ABy/qLbt8c20VdGKgzDeTsPbvwNl/ziFpbhngL6dQWOpgDIUZprSdwtE YIOjDd69X5KzUZCjpjGbAekYpLV/WevSpLbpCBmjZs5Xy8eCB6G7xRvXWNr+Gpj6pfugvixSUka p6A3CvwebXxwUbCk2F8t3rUEepriVmdt8DXhpIdUfkRMTENSEpLOA07CbvmgUSs89ENrogRj8eJ 40E5+b0w+69g== X-Google-Smtp-Source: APBJJlFcctBRtSZSMHuu274/Ii2/aGL7cvwkRUEncoXS0xExJXgWNwliwDEuA3gF97JOE5Oo/nW6Zw== X-Received: by 2002:a17:902:e743:b0:1b8:b4d5:4c3d with SMTP id p3-20020a170902e74300b001b8b4d54c3dmr14515369plf.51.1689163257906; Wed, 12 Jul 2023 05:00:57 -0700 (PDT) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id x7-20020a1709029a4700b001b531e8a000sm3799627plv.157.2023.07.12.05.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jul 2023 05:00:57 -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, sreekanth.reddy@broadcom.com, chandrakanth.patil@broadcom.com, Ranjan Kumar Subject: [PATCH 2/6] mpi3mr: Update MPI Headers to version 3.00.28 Date: Wed, 12 Jul 2023 17:29:51 +0530 Message-Id: <20230712115955.6312-3-ranjan.kumar@broadcom.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230712115955.6312-1-ranjan.kumar@broadcom.com> References: <20230712115955.6312-1-ranjan.kumar@broadcom.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Updated MPI Headers to version 3.00.28 Signed-off-by: Ranjan Kumar --- drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h | 2 +- drivers/scsi/mpi3mr/mpi/mpi30_ioc.h | 1 + drivers/scsi/mpi3mr/mpi/mpi30_transport.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h b/drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h index 2fc196499c89..35f81af40f51 100644 --- a/drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h +++ b/drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h @@ -1482,7 +1482,7 @@ struct mpi3_security_page0 { #define MPI3_SECURITY1_KEY_RECORD_MAX 1 #endif #ifndef MPI3_SECURITY1_PAD_MAX -#define MPI3_SECURITY1_PAD_MAX 1 +#define MPI3_SECURITY1_PAD_MAX 4 #endif union mpi3_security1_key_data { __le32 dword[128]; diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_ioc.h b/drivers/scsi/mpi3mr/mpi/mpi30_ioc.h index f5e9c2309ce6..1e4a60fc655f 100644 --- a/drivers/scsi/mpi3mr/mpi/mpi30_ioc.h +++ b/drivers/scsi/mpi3mr/mpi/mpi30_ioc.h @@ -600,6 +600,7 @@ struct mpi3_event_data_pcie_error_threshold { __le16 threshold_count; __le16 attached_dev_handle; __le16 reserved12; + __le32 reserved14; }; #define MPI3_EVENT_PCI_ERROR_RC_THRESHOLD_EXCEEDED (0x00) diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_transport.h b/drivers/scsi/mpi3mr/mpi/mpi30_transport.h index 441cfc2c7f09..1e0a3dcaf723 100644 --- a/drivers/scsi/mpi3mr/mpi/mpi30_transport.h +++ b/drivers/scsi/mpi3mr/mpi/mpi30_transport.h @@ -18,7 +18,7 @@ union mpi3_version_union { #define MPI3_VERSION_MAJOR (3) #define MPI3_VERSION_MINOR (0) -#define MPI3_VERSION_UNIT (27) +#define MPI3_VERSION_UNIT (28) #define MPI3_VERSION_DEV (0) #define MPI3_DEVHANDLE_INVALID (0xffff) struct mpi3_sysif_oper_queue_indexes {