From patchwork Fri Aug 4 10:42:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 13341652 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 2E3BAC001DF for ; Fri, 4 Aug 2023 10:44:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231511AbjHDKn7 (ORCPT ); Fri, 4 Aug 2023 06:43:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231341AbjHDKnz (ORCPT ); Fri, 4 Aug 2023 06:43:55 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08AD446B3 for ; Fri, 4 Aug 2023 03:43:55 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-686b9920362so1400130b3a.1 for ; Fri, 04 Aug 2023 03:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1691145834; x=1691750634; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ROBA6AZ8vVg3GtqSjeeBcbJ9hpZYbHGqDYAZLYcFruo=; b=gGsmGHcHIfTEvYF5tfESlfsGyY3ovH/k2IG+iPA8JnWdm8uRJmrwDO9KJ0caui8iE6 Ssf5hPXzUP3b5baBjWeBoN/aVe05Q/Eqbq9tKsrBZBBIAvZ5IH7cQINHQqEP6gKrqn1Q DvYqDL0anXrGwgCg8Y1O0bCzKc2WGEguECgrM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691145834; x=1691750634; 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=ROBA6AZ8vVg3GtqSjeeBcbJ9hpZYbHGqDYAZLYcFruo=; b=ltMdxe625MCgIrsX6mErrWK2Y8cuf8k1vykj/hmrXurg8AVtSSPSgLXX0pSiLY+09Q hB7xbaL43jQgOeP4s7LdD8sZOBdfskjLSdZI2RyCrMwZWxf7JFFH0xCIs18QefW0bnZ8 SH1+ywyJ4uesLEY5TpvHOKUXdb92O0yvFzi28hfl+Iq1p4XRoLvG/wQ+SijUI6wWKNk1 FZnM90pDRBlPJqCDOjWGqbZ2Y+USUBZGZSFZkuebIN2s5z61qxHnx95e5V9RPJUfJrXc o5Br1e/7X1PkFLyz5ssdaubzIiURyAQFDsIvkX93UW3H3nmvYIosYAfCgBkNRVV3hdd+ EXVQ== X-Gm-Message-State: AOJu0Yxolu8uHrTxhMjodlHMKvJn0JKRiLAoROiWSGt32Zi4WZHZ0egD fOa3sUactnQknnJ8ar2hnrQ1rNvA75gQ1I38OZagirbXCF9+yw4sgPPyGmEzF9VKE+oy1HxYXfy 0Y6DhORAcxVpFP0a9EMWLVUf2LcIzslxd945tMoYz0KgowdELddl2Ws02htCN/Du6A0TvXSt3N7 qOojctyKarWQ== X-Google-Smtp-Source: AGHT+IHFJwkMlvQAIQsegbUk3pAT/o18qfFzC2EHo0oQVeVxeRCysGlWdNglG2Kdt+bojZXNBh95YA== X-Received: by 2002:a05:6a20:320a:b0:134:409f:41f4 with SMTP id hl10-20020a056a20320a00b00134409f41f4mr1130948pzc.24.1691145834016; Fri, 04 Aug 2023 03:43:54 -0700 (PDT) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id jb15-20020a170903258f00b001bb988ac243sm1424463plb.297.2023.08.04.03.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Aug 2023 03:43:53 -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, Ranjan Kumar Subject: [PATCH v3 2/6] mpi3mr: Update MPI Headers to version 3.00.28 Date: Fri, 4 Aug 2023 16:12:44 +0530 Message-Id: <20230804104248.118924-3-ranjan.kumar@broadcom.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230804104248.118924-1-ranjan.kumar@broadcom.com> References: <20230804104248.118924-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 {