From patchwork Mon Jul 24 13:22:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 706919 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 10A8CC001B0 for ; Mon, 24 Jul 2023 13:24:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbjGXNY3 (ORCPT ); Mon, 24 Jul 2023 09:24:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231454AbjGXNYV (ORCPT ); Mon, 24 Jul 2023 09:24:21 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC091E51 for ; Mon, 24 Jul 2023 06:24:08 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1bb8e45185bso6112155ad.1 for ; Mon, 24 Jul 2023 06:24:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1690205048; x=1690809848; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=sqN9zXyRmDAhl0xoTi6SPtmoGur9j2EW3i7xQlVrE2Q=; b=WTKiRo6A5JeQiXo6ew/mHVZ6EtjM8drd0s2rh++fmJqhVTMdgihRcc7tZpIdOASLr3 T1WqTQqM7Kj6n1gOHGHRV1RhUAhO3P/khGKxBAaMQX7gUmiyXKwmwXFLp4bGWT1cIFyO JPIiIN7Z+4gOBICXzinjOVSeOs5KqJNy0SIUI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690205048; x=1690809848; 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=sqN9zXyRmDAhl0xoTi6SPtmoGur9j2EW3i7xQlVrE2Q=; b=TjpfBZrxx+UIwgOy1RK+QSvjyUGFDw49fA6tEF0V4Or7tTbIb5XhWcsxV2fei7gvXi pq1VQ2KewoTy2R16nrTywT/or5wLADZQkiG28cwhYqUWS103eXiih4j4vnT4mTA+fbY3 XKdjWdXxtI4YRpY8mbgo++gV+ovbHLJPNf88RwB93tRrR5IN00C6BNb2TWxGIdwaThgk 9JXBglOlYYwBA0/58FyD/aQHxMuJfbIyCCK70Etsy+StAEJf0/8waOCZqi1aiRFEJHPN X+lBkDzHp4EPQA8sHUmFpq9bF0I4cI2RGzdRZC1BKf2s/7bQwt0vMIqMLFmlDMq2v78y msGw== X-Gm-Message-State: ABy/qLaLYo1OzEFN2ncTJJZ0B+DTEqbjC1/5yQJxPVJ1Lq/tBvvPrZ1T wlGtVmecLvPT6skXYYokK4XR2KdEWXHnxF21zK3E5eucLIhJrINj1BVzw6XgBUu3D4f47zE6nMt 8GcAUacy5olHMCb6dgmXkAhbSUU3rDQyXlLni3BS5mxKcPTp3gBpZsiGjI7DV4t+MsOQX2oFGrO ch4+qfA3rbsg== X-Google-Smtp-Source: APBJJlGvjC+K6apxXJJQ91Y6Ellte8qVAJ7QxkN4Q1AvDNXq0Hn8euXsayi7dagcORjzztYGI0/fSA== X-Received: by 2002:a17:903:495:b0:1b9:e913:b585 with SMTP id jj21-20020a170903049500b001b9e913b585mr6089350plb.13.1690205047525; Mon, 24 Jul 2023 06:24:07 -0700 (PDT) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id s8-20020a170902ea0800b001b9e0918b0asm8917887plg.169.2023.07.24.06.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 06:24:07 -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, sreekanth.reddy@broadcom.com, Ranjan Kumar Subject: [PATCH v1 2/6] mpi3mr: Update MPI Headers to version 3.00.28 Date: Mon, 24 Jul 2023 18:52:59 +0530 Message-Id: <20230724132303.19470-3-ranjan.kumar@broadcom.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230724132303.19470-1-ranjan.kumar@broadcom.com> References: <20230724132303.19470-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 {