From nobody Fri May 17 03:15:46 2024 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=shingroup.cn Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1712835320977502.4259631560436; Thu, 11 Apr 2024 04:35:20 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rusi0-0002ie-FC; Thu, 11 Apr 2024 07:35:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rushy-0002fc-Ad for qemu-devel@nongnu.org; Thu, 11 Apr 2024 07:35:10 -0400 Received: from smtpbgau2.qq.com ([54.206.34.216]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rushi-0006Ww-IC for qemu-devel@nongnu.org; Thu, 11 Apr 2024 07:35:10 -0400 Received: from localhost.localdomain ( [112.0.147.129]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 11 Apr 2024 19:34:06 +0800 (CST) X-QQ-mid: bizesmtp77t1712835254t2pj01zg X-QQ-Originating-IP: 35nfrdd5gv3Z0cbK7zSfoar6tdxjeF3/YedJb90i93M= X-QQ-SSF: 0140000000000090B000000A0000000 X-QQ-FEAT: tnN4C/PdIDX9ci0/KCVZhBUlZ9bFAfqm4BdGOrMsm3PkXaCbUDM8H7CfQtQtx Or6+H/OZFaZxJk+47z997UUmnCqnkPBVARrLSIobUGsByd1MBitSCej9FvRDmhL4CMOcJc1 gSRYcc2TllNdTIjZ0lELJQbg5cBxvOBRmqxRfrvIwzzzXKYYSJWBMoWwNFg27+eFGNV0Hac tu89HZBLuxE5rZpRNAbv8uuYCBBF/f58Vr5v4yFiRrYeZiNSN5YY3UcLnfDplz3shHkNQ1Z 4rsly5KL2Vbej7xNCcwTUCOzAGOOqt0413IM702D/3WCkkULrza5+OuGlrz7dmQsyezYLRB aS111khAhhZp+rBi1ctFdp95buqE99req2Bf+hxM3ItxhBKRVu1opDb15QcMxVFbUqgwG2q aulCov9LfsY= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 11069852116706908286 From: JianChunfu To: mst@redhat.com, cohuck@redhat.com, pbonzini@redhat.com Cc: qemu-devel@nongnu.org, JianChunfu Subject: [PATCH] linux-headers: change the annotation of VFIO_IOMMU_SPAPR_REGISTER_MEMORY in vfio.h Date: Thu, 11 Apr 2024 19:34:04 +0800 Message-Id: <20240411113404.1274855-1-chunfu.jian@shingroup.cn> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrsz:qybglogicsvrsz4a-1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=54.206.34.216; envelope-from=chunfu.jian@shingroup.cn; helo=smtpbgau2.qq.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer2=patchew.org@nongnu.org X-ZM-MESSAGEID: 1712835325974100001 Content-Type: text/plain; charset="utf-8" The ioctl(VFIO_IOMMU_MAP_DMA/VFIO_IOMMU_UNMAP_DMA) won't be called in SPAPR machine, which is replaced by VFIO_IOMMU_SPAPR_TCE_CREATE/ VFIO_IOMMU_SPAPR_TCE_REMOVE, so change the description. Signed-off-by: JianChunfu --- linux-headers/linux/vfio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-headers/linux/vfio.h b/linux-headers/linux/vfio.h index b4be37b22..20e8e6ae8 100644 --- a/linux-headers/linux/vfio.h +++ b/linux-headers/linux/vfio.h @@ -1764,7 +1764,7 @@ struct vfio_eeh_pe_op { * * Registers user space memory where DMA is allowed. It pins * user pages and does the locked memory accounting so - * subsequent VFIO_IOMMU_MAP_DMA/VFIO_IOMMU_UNMAP_DMA calls + * subsequent VFIO_IOMMU_SPAPR_TCE_CREATE/VFIO_IOMMU_SPAPR_TCE_REMOVE calls * get faster. */ struct vfio_iommu_spapr_register_memory { --=20 2.27.0