Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1594729pxb; Mon, 12 Apr 2021 01:47:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvLUEK5D3QArlpaMm7o/KQsHWJIwN5qyKFGjPFJuZxKOjDuZLmuyHzszM78p0HTQlbCoOb X-Received: by 2002:a63:ed12:: with SMTP id d18mr25906937pgi.20.1618217222673; Mon, 12 Apr 2021 01:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618217222; cv=none; d=google.com; s=arc-20160816; b=LnGfaIRqoXAqLqOzY1G492nrGpGZM3c+8cglhEDhlTwRcHZIxrgUoUa277iGMRRM+Q b8dl5Junv1XCFeXeHaTSy5CZMvEdnkq0++I8OIjv1d5Dv+pgB7gOUEMi7i2IgykqB6wv 1Vqgbn/c3q57H8JddlT9zlEouinudvWas6qwJzYkcpErybqRolMX5BUTCLm6RVskMtps 0Pq7DHcY5kXn0rX1z7/zXVOGvkSakoDIGNcDph3x/0JUQFi8L0I59P3lDY0rj4vjCx+y bvI1UPEiAaFJt9x00iZZkUthRtF88uCB2dZnFUXT8KOsFNaeX6gi//hNm2Qov7G3NPLZ jLxA== 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=nJwjiNQreEiMU3oia70Mq7AjBg6zd2x6116u+6KAHnQ=; b=sVor4Fzzg37jtzQJJ2uLZJJoX2rduSLbqbdDrK/oZdSqfsqIIA7h1oruytp6yM7znF Bs8dZ2dWvrGFnRBp2wVF37v6/TCpN1KV7m4HCX9SUp11B9z/GcDejmkAjF8RPxSKNPYX cnzbDaGInoIywwkW8JgzbiJzgPpF+lB3vreq/+fP7ABDlHgZCXYkVSC6iFeEuLpXTVYq JBMNbQnA8bIDjGUbMp2y0M0I++1er7/E5JmLGDfTRynZ4h758kxlaJornTHCMhVwA5wb WHMiAMpxyUVAry8BZREYGDl6I2wHJ0cuiZy14OdU/qmrnNzFH/vM5GhMbyqOiVzi59ff m06Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HpnjJq0B; 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 26si14893269pgx.470.2021.04.12.01.46.50; Mon, 12 Apr 2021 01:47:02 -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=HpnjJq0B; 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 S237609AbhDLIpD (ORCPT + 99 others); Mon, 12 Apr 2021 04:45:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:36362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237661AbhDLIoU (ORCPT ); Mon, 12 Apr 2021 04:44:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CB8E261244; Mon, 12 Apr 2021 08:44:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1618217042; bh=6Ci7Yg7vFhqG70ys7gz2jVnFj6AIsXHZyVYzXPTLMZM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HpnjJq0BP4R+ui0JT+te10T7cr2PAViEt6eO78hlLn5rRqhbx7bUnCZB1k+KM2UpR dZIvLd7C2D3NaxUXpxA587qt/GihF3UmfhSHBZIPsw5hXmDsCS2HIGAMg+llpdeE/C zBVTgyv9XhS6359WWbbOHA5vPJoMsXcu637hsqeo= 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 4.19 49/66] net/mlx5: Fix PBMC register mapping Date: Mon, 12 Apr 2021 10:40:55 +0200 Message-Id: <20210412083959.708166730@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210412083958.129944265@linuxfoundation.org> References: <20210412083958.129944265@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 b8cd93240287..5f711b2983db 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -8929,7 +8929,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