From patchwork Sun Oct 29 08:00:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: guanjun X-Patchwork-Id: 16008 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp1572124vqb; Sun, 29 Oct 2023 01:01:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+Mf19l5fcIdB/n3QjOBJBwN/G1m9SxHCmhS8JBDG3u/BAyKWyJCtk4FGqMQ+48+G8P4Dp X-Received: by 2002:a17:90b:38c9:b0:27d:2949:9e05 with SMTP id nn9-20020a17090b38c900b0027d29499e05mr12116087pjb.11.1698566488091; Sun, 29 Oct 2023 01:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698566488; cv=none; d=google.com; s=arc-20160816; b=uxJzIHJZ/F1IRx3qOF3rcDf8zyIDDjN5eifdPZpQTLBmeuDa083QHQ07HuAPQLOh68 AINtEKIHhsRFxUkoyXXk2cDyukl7vGyGbhOfSz1DHobDN4thXiO/pcTZj9OJj3pB3WqT 5RjjaF+KuI51J+tVXFm/spMFSvNyznYASHxAZ+w8y8ZpWOJTxmO56z+xTfNRLhCZNM8Q Ra6ZGipCovWWDz+/7U6HCYnYF6RiNEVJ56sIQIOxCauJ7vB5ZG+7VcR966LXQCbovHVc W8KCstUCV159eMaZtUHAPxUg6mQ1sK/4l7pq54CBJ1sWofGDduLCx+UMV86Dlv1ZjOP3 HP9w== 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; bh=HQM/7y8DW8rkVrJRDtPCyv9pphSGMW3nmp5mSIkH+JQ=; fh=QBHJhMFaY+lWbqr2wKEcOz8zsPIdmcjBYs3CtaAVoV4=; b=R+BL2H34QzPlPStxnFn4UxxJxbzRNOjYsEFDvkNnWOwdGS56vlpQC0QC5JfmZ4kFsb BP85gIXCPID/jO3peuPBMhKO9jxTfWPvuaG56JnoV9hJ7UrLiYqWxsUbcpbtCJia7E4t rNyM2Z93uTCexipKLXgx/BDRw5nIOZDdZQsqJfTTzhYGkrOkVKLVyiPHh4tCsJWnTaT9 FKE5MwDe7DDta5yEQqDt9ggo/brqGmu51ELiblKQ7+y9bO9cR+LHmhFX19SL2Rqm24Rw ufNHUKYPVwVw8Jj4xh3fZOD2XvtxK5mS97o+FUObfzAgNLIrU/1tC3mjFSUQ89G5QEME pEZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id n24-20020a638f18000000b005abea9d00f8si1415521pgd.472.2023.10.29.01.01.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 01:01:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id DFA71809B0B2; Sun, 29 Oct 2023 01:01:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230052AbjJ2IBB (ORCPT + 30 others); Sun, 29 Oct 2023 04:01:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbjJ2IA7 (ORCPT ); Sun, 29 Oct 2023 04:00:59 -0400 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EB47D3; Sun, 29 Oct 2023 01:00:55 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=guanjun@linux.alibaba.com;NM=1;PH=DS;RN=14;SR=0;TI=SMTPD_---0Vv33MXt_1698566449; Received: from localhost(mailfrom:guanjun@linux.alibaba.com fp:SMTPD_---0Vv33MXt_1698566449) by smtp.aliyun-inc.com; Sun, 29 Oct 2023 16:00:50 +0800 From: 'Guanjun' To: dave.jiang@intel.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, vkoul@kernel.org, tony.luck@intel.com, fenghua.yu@intel.com Cc: jing.lin@intel.com, ashok.raj@intel.com, sanjay.k.kumar@intel.com, megha.dey@intel.com, jacob.jun.pan@intel.com, yi.l.liu@intel.com, tglx@linutronix.de Subject: [PATCH v1 0/2] Some fixes for idxd driver Date: Sun, 29 Oct 2023 16:00:47 +0800 Message-Id: <20231029080049.1482701-1-guanjun@linux.alibaba.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 X-Spam-Status: No, score=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 29 Oct 2023 01:01:16 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781076053455066545 X-GMAIL-MSGID: 1781076053455066545 From: Guanjun This two patches fix the some issues for idxd driver. Please help to review. Thanks, Guanjun Guanjun (2): dmaengine: idxd: Protect int_handle field in hw descriptor dmaengine: idxd: Fix the incorrect descriptions drivers/dma/idxd/registers.h | 13 ++++++++----- drivers/dma/idxd/submit.c | 14 +++++++------- 2 files changed, 15 insertions(+), 12 deletions(-)