Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2066405pxb; Mon, 12 Apr 2021 13:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtrBYXrglav9qLco9q1vjCbLeY6V9tO4h0yHWZ7JM7tJigHnGJnknvIs27ddA3wRdekYqR X-Received: by 2002:a17:906:6b91:: with SMTP id l17mr5176737ejr.196.1618259197889; Mon, 12 Apr 2021 13:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618259197; cv=none; d=google.com; s=arc-20160816; b=oQZckJoNmxIv0E+e9fAIqPnbLvbCwNVgP1ab91MujHSqmrqQf3/osXHfgljwQIyv3c IVkX3+unWY5LpMG86KqnAzUKwdYLwx2wXR1zTxEJJJsov7fcU7WtPqJtnbPcZPH0vXmR f2aQb1MOBz92RteYl9jkDgQl+i/zGYLBS/DUmEiavswft5eEEZlyJgVkneVVoO4pmXqE haMX5GbomccP0koz71oF+HI4DqZ3KMrP/pmOzzQpTVNLxCCHpZAIZl8B/s8U13OnxnKK PwaRzme0Jh5E+pZ4LAw4OagL2Dor0WWL3UVaR9BL1aYMi2GFKQeuX5i8sFao8jN7dMOH gGLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Vvf1ma+UhDYf2rXhlLHOa1+aysMK6E3EG0SPdmDdE4g=; b=v+xqIe0B4HFIvARma6BDohALkqSpL8Jt/aHYTwocoTF0RNpEHjbMQ53UjYPD0bIn4U cHalvISPAGzNGft0U5iPXvqWf73dt2RfC3Ea3xT/d/di6K1OSx1oz4aIa9KRTd/Nxj06 K6m8PfYVrxclt+660TRbHsfuELpl4ymhu9IyIO2gkUduuebRQcMZeLC/JEL98qaMsVeL CXRZ/GZeHJQRLm+XR6l4lyqK+0kwIrAQXQBaYxYPlW4+wvefke1MYdJp+CTvN3UH0bHQ TkzvFZ7EsH7fhgQIO5XraUisFal3EKlolyQzB7hS6VY27Oeur1mhltOFflJFr7q3pgHO OhZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Nf16ww3g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si8150394ejb.626.2021.04.12.13.26.14; Mon, 12 Apr 2021 13:26:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Nf16ww3g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238923AbhDLI6Z (ORCPT + 99 others); Mon, 12 Apr 2021 04:58:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:41562 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238673AbhDLIuV (ORCPT ); Mon, 12 Apr 2021 04:50:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 003AF61244; Mon, 12 Apr 2021 08:50:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1618217403; bh=fzqAs5/YzJXtkkxEdtON6yNfKrTBewolnD95yAlU674=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nf16ww3g1vNZIZ5KX7/7stkMk+I7rLNp1M/70XWnxiViASp8q2jkXQEL6dbA8H43K 7yLQT9ZX58UArDBJm6mtwgYQKN6l5AVA3I/e1kp7I6kpsozfW9xYUjJ459xFK7p7Al tBVxzFAzChx7hWfmlUmCRj4Nd5WPVDrM++ZytNYU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Aya Levin , Moshe Shemesh , Saeed Mahameed , Sasha Levin Subject: [PATCH 5.4 091/111] net/mlx5: Fix PBMC register mapping Date: Mon, 12 Apr 2021 10:41:09 +0200 Message-Id: <20210412084007.271525013@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210412084004.200986670@linuxfoundation.org> References: <20210412084004.200986670@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Aya Levin [ Upstream commit 534b1204ca4694db1093b15cf3e79a99fcb6a6da ] Add reserved mapping to cover all the register in order to avoid setting arbitrary values to newer FW which implements the reserved fields. Fixes: 50b4a3c23646 ("net/mlx5: PPTB and PBMC register firmware command support") Signed-off-by: Aya Levin Reviewed-by: Moshe Shemesh Signed-off-by: Saeed Mahameed Signed-off-by: Sasha Levin --- include/linux/mlx5/mlx5_ifc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 8099517e2e61..36516fe86fe7 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -9669,7 +9669,7 @@ struct mlx5_ifc_pbmc_reg_bits { struct mlx5_ifc_bufferx_reg_bits buffer[10]; - u8 reserved_at_2e0[0x40]; + u8 reserved_at_2e0[0x80]; }; struct mlx5_ifc_qtct_reg_bits { -- 2.30.2