From patchwork Tue Nov 8 00:39:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fenghua Yu X-Patchwork-Id: 1302 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2394695wru; Mon, 7 Nov 2022 16:44:14 -0800 (PST) X-Google-Smtp-Source: AMsMyM6NP4ZOKKKhLSO096/b29vaMXJx3eom/WIRoIjSOiVE2/x0hYIsHneIlLhjc/LKInpRcx1k X-Received: by 2002:a17:90a:54:b0:212:eb01:1ce with SMTP id 20-20020a17090a005400b00212eb0101cemr72035006pjb.236.1667868254366; Mon, 07 Nov 2022 16:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667868254; cv=none; d=google.com; s=arc-20160816; b=MllmOKcXyMFQF32brhClrNTvBlPsJ9oAztVSTY6V2rD/KFRnxzSWR86cMN7E/g0rdy 6iOCOdQ++VWPNFp1hkfWug3oIVgHO/nXwWiXbbjGAp0RLk8U27YRXUTqHk+JMM7sRX1T BeLTTgArR6+eoOjBKCAS6/u84su8DI7+n/OjayUl7t6IzN/yDcbXKC8Tt4K2l1hu1nZ1 WY7ChgCfh6exwpZZE5tNWR3foeT4rbXSFtQ/2O9d5oNOanek8lcIy05gD7/Zz7doX6FB yb/mpkKfxB8Z8QFkca975hndgRgj/HeT49E3P2afnZ1bXZsFzoFanKLraSbRzY6NYihG 4TbA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=JN93YyHzTazNqa1SmEq48RQ08x+AuGXn+OD1YTSlkvc=; b=NiKzD2wFB4Wzp1D7ajutSbbdhTIz2hUvNNb1V2DUYpptqfnJ7blg29lBjCr5OLcmOv UAREXZgWNwXV9bQBHUCuHo6jfTQs0wmSyuJ391U6JLRiBNoeGYpGVzp6d+cVRQNme5jI dMNzQviSHPC25XnxhPDQiCWEKT+byQ5fYV4vzrUOTQUzGA7JQadgoybA3beyoZPuwDfv 3GpkMpyEB2gtx/sr9HOyNSbua80CAEtNGtd0sTqoWlQ21oZU17ZKXdSTH9EdeFLZAfXr T+682Z/47eCKSmcuxW8PRE+uoRAWLVX33xoD0UAg5w7wQOyw/psjqf9YcyVN44me5SUr 5Aew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Htsyqtzs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f31-20020a63511f000000b0043882f4027asi12515231pgb.314.2022.11.07.16.44.01; Mon, 07 Nov 2022 16:44:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Htsyqtzs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233033AbiKHAjx (ORCPT + 99 others); Mon, 7 Nov 2022 19:39:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231796AbiKHAjv (ORCPT ); Mon, 7 Nov 2022 19:39:51 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D18813F69; Mon, 7 Nov 2022 16:39:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667867991; x=1699403991; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/yQ7tI6As+AA4/4W6HOGm+hcqlGPbq4f0NJQU6ueOZs=; b=Htsyqtzs9H/L2GdT1NY6g/9Qa/0vfUfY++YLnYTZtre8cWh651PBAfzm DfI1gS740uMBYwJcvFlDzABmNeHwCgvacBiT4R95YKPiPt/lqUm8vd8Zh rgIeETP/APwvWFerAG5l8D29MOK6cSPMy2YF4D52O7HHmSx8coCCjQp4p mmCIWoB8qvVyD5wRm4FkRexU3R4h8/xdR2V+lyINbdWXCQj3D9sRgrnK3 m6R61EyggwgdBjMN1hY0oyx+YLqjV0vuLmdRSHtvaifS4wRIjVUxe3IvK N5mcUCgD42Yc6Kgt7tQoYAw+wbrMMtr8ctRsG5jOtOFiLmMxu03CKOFic A==; X-IronPort-AV: E=McAfee;i="6500,9779,10524"; a="374833333" X-IronPort-AV: E=Sophos;i="5.96,145,1665471600"; d="scan'208";a="374833333" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2022 16:39:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10524"; a="811041347" X-IronPort-AV: E=Sophos;i="5.96,145,1665471600"; d="scan'208";a="811041347" Received: from fyu1.sc.intel.com ([172.25.103.126]) by orsmga005.jf.intel.com with ESMTP; 07 Nov 2022 16:39:50 -0800 From: Fenghua Yu To: "Vinod Koul" , "Dave Jiang" Cc: dmaengine@vger.kernel.org, "linux-kernel" , Fenghua Yu Subject: [PATCH 0/3] Add descriptor definitions for a few new DSA operations Date: Mon, 7 Nov 2022 16:39:41 -0800 Message-Id: <20221108003944.2095567-1-fenghua.yu@intel.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748886622878883099?= X-GMAIL-MSGID: =?utf-8?q?1748886622878883099?= A few new DSA operations are introduced [1]: 1. Memory fill with 16 bytes of pattern. 2. Translation fetch. 3. Data Integrity Extension (DIX) generate. This series adds descriptor definitions for the new DSA operations. With the definitions, user can issue the DSA operations to optimize corresponding transactions. Reference: 1. DSA 2.0 spec: https://software.intel.com/content/www/us/en/develop/articles/intel-data-streaming-accelerator-architecture-specification.html Fenghua Yu (3): dmaengine: idxd: Add descriptor definitions for 16 bytes of pattern in memory fill operation dmaengine: idxd: Add descriptor definitions for DIX generate operation dmaengine: idxd: Add descriptor definitions for translation fetch operation include/uapi/linux/idxd.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+)