Message ID | 20230303213413.3357431-1-fenghua.yu@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp640041wrd; Fri, 3 Mar 2023 13:41:09 -0800 (PST) X-Google-Smtp-Source: AK7set/07q6Gbnksud6gzbvesRP29M/PsPSnBlqU5xahM0I0HoDrwgC4V4UdYEqWn9YeM2cpbbv1 X-Received: by 2002:a05:6a21:78a6:b0:cc:5f27:d003 with SMTP id bf38-20020a056a2178a600b000cc5f27d003mr3747279pzc.56.1677879668868; Fri, 03 Mar 2023 13:41:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677879668; cv=none; d=google.com; s=arc-20160816; b=dbhqazC+GiglP3wIVntJVhwFKoTMj0Sui2N74t/+fBiIqkgYQwQaQxE8nP4LK5TqUv b2W8gEqav/ESm6WAV3tvJWI4ZPBcITeLCZ3Plf6gRstDys8rqUH8QATz6os+yRY3ybWJ eo79im3YIlZs3GlYNsctpH9o8964/B8uilHJxCl7cWp2thwwOAVK6P2HBfeOp/SPCX7T jYf8Yy8eMhNHOnq96THgYbGf/7xBLM2epSw6OEe/tIgvck3gaIcVUFY64g3c2jJtG4pH dcpbvcrhTM1HV5LcGfuOImfA5dr/darRNVmaE89nMu5GJU0BnvdQuQkIWmrVrUXsb3+F PfOw== 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=Uo2ASvN16m2X4LFPeZ5CS0h7MbxM4m/EudZgh3hxilA=; b=jZyooIns7pTprnCK0uQyHCJPJ6kYdM1dTyY/3lwqtSiak8xqRG2K3vglRfRN9I1McJ JxQVLa7XKq534Ox5ujBtpepvWcxghE2/aTq+R0RFIZx9fLC5H/KUBjp2wcEOmbWN6RPK QlNsEZuo/zzgRkm0xmXGcJEqnqiB+iXFMmzaS5vztVImkKaeCdhW8EqhHAVjklxxMo3G 9lNHscJqRTjmwEQBeW0Vl2V7+lGVEgpBD41WkzGykIR2zjpp8sNBPMoG9RVCa0hO5Kga 2S2OR70NLd/52uugVsFP/GlGE2qLQdJab0KIDIeXvmJkVVGyJ4wdAdnWDF3P5Bb+kDeH VtQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DdjOK6xw; 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 198-20020a6307cf000000b004dea53e52e5si2997195pgh.128.2023.03.03.13.40.55; Fri, 03 Mar 2023 13:41:08 -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=DdjOK6xw; 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 S231815AbjCCVeZ (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Fri, 3 Mar 2023 16:34:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231454AbjCCVeV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 3 Mar 2023 16:34:21 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD0971027A; Fri, 3 Mar 2023 13:34:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677879259; x=1709415259; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BFx/BonqsYo1C3/u+njro1uet8ELdDIBMmvGwJWswZM=; b=DdjOK6xwpTG6HomDeezi4CXLvOO7InDV6/8qcedW5uph3hy0WMWpjirt vAHuSzPDE/yrRh80Ba8miykPTxottrD+D0vlx0ILmy+nRt9db0MmRghCS JB6CrDsdFn6vcArijKxaFhYWtkmQllf8wAX3iZS+qn5wf+Z1qeHa+E00r aOPXoeWyytCGP+xeSBwcWMSLVxpYjkG2DYtcQKeUOuzsqeZUdgohvM0sR 99xE5H34xVYXgoMMzAxHGVnrxa7UygMtJaLht8nFaZwQYBD5NKVTi52el 2gTeQrve8BLJcKtxkQJkExuphluVvEHFToTg4ZojRyd2hMHh6L7twGNSt Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10638"; a="399976464" X-IronPort-AV: E=Sophos;i="5.98,231,1673942400"; d="scan'208";a="399976464" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2023 13:34:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10638"; a="675508696" X-IronPort-AV: E=Sophos;i="5.98,231,1673942400"; d="scan'208";a="675508696" Received: from fyu1.sc.intel.com ([172.25.103.126]) by orsmga002.jf.intel.com with ESMTP; 03 Mar 2023 13:34:19 -0800 From: Fenghua Yu <fenghua.yu@intel.com> To: "Vinod Koul" <vkoul@kernel.org>, "Dave Jiang" <dave.jiang@intel.com> Cc: dmaengine@vger.kernel.org, "linux-kernel" <linux-kernel@vger.kernel.org>, Fenghua Yu <fenghua.yu@intel.com> Subject: [PATCH v2 0/3] Add descriptor definitions for a few new DSA operations Date: Fri, 3 Mar 2023 13:34:10 -0800 Message-Id: <20230303213413.3357431-1-fenghua.yu@intel.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759384351648037592?= X-GMAIL-MSGID: =?utf-8?q?1759384351648037592?= |
Series |
Add descriptor definitions for a few new DSA operations
|
|
Message
Fenghua Yu
March 3, 2023, 9:34 p.m. UTC
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. Change log: v2: - Change anonymous struct to uint64_t for pattern_upper (Dave Jiang) v1: https://lore.kernel.org/dmaengine/20221108003944.2095567-1-fenghua.yu@intel.com/ 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 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)
Comments
Hi, Vinod, On 3/3/23 13:34, Fenghua Yu wrote: > 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. Any comment on this patch set? Will you pick it up? This can be applied cleanly to upstream kernel. Thank you very much! -Fenghua
On 03-03-23, 13:34, Fenghua Yu wrote: > 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. Applied, thanks
On 3/31/23 04:55, Vinod Koul wrote: > On 03-03-23, 13:34, Fenghua Yu wrote: >> 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. > > Applied, thanks > Thank you, Vinod! -Fenghua