Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4877517pjb; Mon, 27 Jul 2020 07:24:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEOfLuFy4QjVyzqlpXZfpCXIdiDGlVOjJL4htUl1JOMgzSBJLm0GWOACMcKGWjWSo4ggcG X-Received: by 2002:a17:906:2b44:: with SMTP id b4mr14314658ejg.406.1595859891723; Mon, 27 Jul 2020 07:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595859891; cv=none; d=google.com; s=arc-20160816; b=h4YBMfhnQ3IddriREgKfHIrujfuzOTfbc9BmaghJVA8pWsFEdD6Ygv7Hl+Qk1WHPEx rFh6jWFIGqGFPvG2057oSN4lCdTU8AlK+nfAWHhnYA4ycwtFn3g07WSuBpOLtBOD84YK tiDvMjp8o2yqzrurd0lERCEkrff7Q9a5J41yvF+1jlmhbS8SllqBvEWzgrguvEQfdWx5 pRHmBWM63ylP6J1CXJ3F5XxqkTlO8gCb+8u9stsrzxhJkW87QVBipVI0cHXEhatUp19m 9itAHIl8mBaMpxqBF3+dUMeIol7J3nMiBQl8k+ZEpnYGn9+yGjcKrfJ2LVBTgx1jLPDN EpYg== 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=alt+UOOg06mVH8zwahNBmLP79y0rIiabqqmlrUmEraQ=; b=dc3BFt23Z8EmNBGleNgY7wOtH6ZhJBRlts1En4fQ1zgwZ6MLAqFyZiskWHI/RiRefu BsJQLDqsDMz57OXMkdSPnY4iaQ6iYMjrH9lPQ8GUt0c16yQg9Po1wbvyJivESW1FfA0A hA8SDg8jpXWDm90VSCNb7365+8pN07Q9QnpxlTUP+4G4qpBiwKtCBV/29HoT0PcNSZ6l m6MtD1lxf+BfAQeiGnYSZgkmrbLYoC/n4OWav+VMJBr0pVjFJkCVYyJes8d39ND+1n9F l2f5ukflmb+AO0R9a0Ka/gNs0EHpJkylW0KL2qfx7rCDEFUkNAOm3hkaHuRktklOOMbQ j8wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QXEluM4x; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si1518809ejf.344.2020.07.27.07.24.29; Mon, 27 Jul 2020 07:24:51 -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=@kernel.org header.s=default header.b=QXEluM4x; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732031AbgG0OXL (ORCPT + 99 others); Mon, 27 Jul 2020 10:23:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:52318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732027AbgG0OXK (ORCPT ); Mon, 27 Jul 2020 10:23:10 -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 0A23521883; Mon, 27 Jul 2020 14:23:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859790; bh=V5OWNkTgdBCyEL+REiwW5x93P/nnXPsdFaS/dcNSbK4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QXEluM4x8UEj1hKv6U6dgo4ZeOewRn28vbcmljWJKQsM8mAI8eiv0mAm5Cl49h+az +VrwecYw7Fghmn2MkKXU1u+sCCnDvM244aUBJMvwb47FNmPyvL7KMK54L+84aexK+q VNvcV+9aqBbO8w9Iezc/vUBQXQ6m01sPWgOeXQUE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mona Hossain , Dave Jiang , Vinod Koul , Sasha Levin Subject: [PATCH 5.7 106/179] dmaengine: idxd: fix hw descriptor fields for delta record Date: Mon, 27 Jul 2020 16:04:41 +0200 Message-Id: <20200727134937.814859294@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134932.659499757@linuxfoundation.org> References: <20200727134932.659499757@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: Dave Jiang [ Upstream commit 0b8975bdc0cc5310d48d9bdd871cefebe1f94c99 ] Fix the hw descriptor fields for delta record in user exported idxd.h header. Missing the "expected result mask" field. Reported-by: Mona Hossain Signed-off-by: Dave Jiang Link: https://lore.kernel.org/r/159120526866.65385.536565786678052944.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- include/uapi/linux/idxd.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/idxd.h b/include/uapi/linux/idxd.h index 1f412fbf561bb..e103c1434e4b0 100644 --- a/include/uapi/linux/idxd.h +++ b/include/uapi/linux/idxd.h @@ -110,9 +110,12 @@ struct dsa_hw_desc { uint16_t rsvd1; union { uint8_t expected_res; + /* create delta record */ struct { uint64_t delta_addr; uint32_t max_delta_size; + uint32_t delt_rsvd; + uint8_t expected_res_mask; }; uint32_t delta_rec_size; uint64_t dest2; -- 2.25.1