Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7235906ybh; Thu, 8 Aug 2019 12:16:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhKZklLbJETHjmbc1i8E67VQ2kg1I3Ve4YZxAiYwiim+TSYhkQoYjpm4to/Rp8HUefE1ze X-Received: by 2002:a17:902:46a:: with SMTP id 97mr7832531ple.322.1565291777024; Thu, 08 Aug 2019 12:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565291776; cv=none; d=google.com; s=arc-20160816; b=zfW08XAgGKiCdSN/AxFhh4HTE0JR38y1NvMmk0iyOtSDF+WFMN0FxbRA0J+PEXtUQ/ fUUi+qC51hpdYo0Bep5SUwy5OnFse9EllrnzTIwhckK9TokoSYc5jHX02ojzk3/79Inm 7phsWh97dTSITOULYM5QdlQa+CYMLdZG2wTuIXneAEqj3xfYjGM6BmIGOpohWmm0SKk4 0DIuoClXx+f3MIQdiNiEGFUWLINK8yvkdLOEb3fe7YuuJ0/9SxipQ+E/31PvkXCgyP61 QCuFErCPzl1k7dPVbHur75vcf9RoiIvDJAiywnpCl3fGEji5GE/8oWHQv+MmqJfi7liT PG2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wrS+hedmQLry5ouYZNspJ5n46eQSD4bz4nUZQ9sXs6A=; b=W9A9vYcUos8u3Ys901JBlhnejzjvbmxjxycgfSLoQHL1uT1lwLytwC8QDeSJ9ajUbt jexz03QhdIjCrS28uDvgFv0/pjjnyKj3zo24v2nzfxBjudUynBTu2zn3IIPR5yswnry/ F3KCnOdG1c8VaIYV1JVncuUUYeF7qB92tUJziuRIEghAShggc5juMK1mcXgDUSdRIS41 RicdB8PBSFez1UZ1VQOxsmNlUMgmiWVpRUbaLu23kql8nJaaKZcS2V32lXSUYbEynf+L oHIXaFLW6IsHUCKXZlb/IsuA09VQt760PaYObwH1bviXnTO/YKB9UHuOL6Ot//WqMhCw emEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=N0tSDu9o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si46551310pls.358.2019.08.08.12.16.00; Thu, 08 Aug 2019 12:16:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=N0tSDu9o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405275AbfHHTNi (ORCPT + 99 others); Thu, 8 Aug 2019 15:13:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:43982 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405137AbfHHTJi (ORCPT ); Thu, 8 Aug 2019 15:09:38 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 45B082184E; Thu, 8 Aug 2019 19:09:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565291377; bh=B9g71LC9Z8KeGXg4KeRXQCORlBkBFSMoTlMKCBucyqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N0tSDu9o0LuQDr8qk5lmwicRSbYTltnf5l4R/Q0/BtTUpIgR+ECNLxONmco9rZWh4 bzetnV/tpt408aP//PZiq3nykTAYaho8VZgEs7et7hHbvXV9sd7clKxQfkSx3pOI5o flXKzy91eXk9QVZ+1bMZZaBxwNWh1n8uDZ434IaY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Edward Srouji , Yishai Hadas , Leon Romanovsky , Saeed Mahameed Subject: [PATCH 4.19 36/45] net/mlx5: Fix modify_cq_in alignment Date: Thu, 8 Aug 2019 21:05:22 +0200 Message-Id: <20190808190455.839364156@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190808190453.827571908@linuxfoundation.org> References: <20190808190453.827571908@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Edward Srouji [ Upstream commit 7a32f2962c56d9d8a836b4469855caeee8766bd4 ] Fix modify_cq_in alignment to match the device specification. After this fix the 'cq_umem_valid' field will be in the right offset. Cc: # 4.19 Fixes: bd37197554eb ("net/mlx5: Update mlx5_ifc with DEVX UID bits") Signed-off-by: Edward Srouji Reviewed-by: Yishai Hadas Signed-off-by: Leon Romanovsky Signed-off-by: Saeed Mahameed Signed-off-by: Greg Kroah-Hartman --- include/linux/mlx5/mlx5_ifc.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -5623,7 +5623,12 @@ struct mlx5_ifc_modify_cq_in_bits { struct mlx5_ifc_cqc_bits cq_context; - u8 reserved_at_280[0x600]; + u8 reserved_at_280[0x60]; + + u8 cq_umem_valid[0x1]; + u8 reserved_at_2e1[0x1f]; + + u8 reserved_at_300[0x580]; u8 pas[0][0x40]; };