Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3448588imw; Thu, 7 Jul 2022 01:49:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vw8YO9PNQemdGsN+osu41yC7DaRhB2JVmecuFT2eD6Xf7Ui1ZDhyiUGNjoNfI0qIExbbtH X-Received: by 2002:a05:6402:430e:b0:435:9e41:6858 with SMTP id m14-20020a056402430e00b004359e416858mr61626611edc.69.1657183792896; Thu, 07 Jul 2022 01:49:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657183792; cv=pass; d=google.com; s=arc-20160816; b=Zi+ZBR7xl3IRV3qYZbp2UyCUOj65U9lBoS3o2xCV8QudT20LcyJiTWWn6MlkktUg+Z RN+O7sXTUL7k+WuUHJkzG1UKWlNgG2cgrTLg7RBRqlSuIm6oGpVC/lit1I3RjwVommCF zYMI1/3r5WVPlnGrr7YPECDGLSwYvrXPIu9EZvoIj8+4wL/8LY4EahbHK9YpdhxCPPRv 3L/6OQrCKUbwL8rkvpiFQ/tF3d+tC+fQTtodRcTeD/yqYVtWlmB2IRt7MRcLhJHqWnNT VZyMq8eVgVoDQ4rhy+j9wKT7LnQZ4fLyKwYC0guv1a0ywthBlPfenGW/xNVZ5Lebh2l3 QYAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=5kh9SWuYxUY3c0IXKQSvhzZCzCs3AEzFYrWvUSNYRfM=; b=Ocp5QFrjunheyCqzrgAq5cce2hl1BL8sqE1/cRm6Sezjn/LIg1Uy+i2+ejW2Cwyr2s u41cBYjS6X5/JpONLux/9nkVjg4tuVl9GUX9en/55sNqe0RnriDNZwuFWWjXpKAFK21I kmTYRsZbg95E5UIELOmjN5xYD/gepOjPIy8ZQdsaMX+ZqyUuCmJdNI8tyRqMZhl7vgMY uqpRQDkW6Aql+b8CTooiJRHNbqwyhy3vg7qkAb+iIk923XZQaH7JPwr9EHwJSA7Y106m DPvUchydxyX3yp6NWp9vTvepfqS2ozgDZrR8OLJ/d5Q76VyYpJDS0gwouw+skC2nQAHB lnZQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bf2ZgjHX; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a056402084b00b00435a2bfe481si1038903edz.597.2022.07.07.01.49.04; Thu, 07 Jul 2022 01:49:52 -0700 (PDT) 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=bf2ZgjHX; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 S234490AbiGGIra (ORCPT + 99 others); Thu, 7 Jul 2022 04:47:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231350AbiGGIrN (ORCPT ); Thu, 7 Jul 2022 04:47:13 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0238F23BDA; Thu, 7 Jul 2022 01:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657183632; x=1688719632; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=5kh9SWuYxUY3c0IXKQSvhzZCzCs3AEzFYrWvUSNYRfM=; b=bf2ZgjHXvEy9g9vsqI4a5vDPWItNEtJnb0W83XSM3y1l/kInyAQWfRto XIHP1duYlazZjC9q0dKgJI08ehaTk76JbeUY27tsqDY3U3MEd4ctyYgkD KcJIhOU+PQl8kNW4X8HlDrpxcOxq8SEIFGzXGp4ftOMoXs4Lh9cvHSmS2 2Yf4zSGHKI99jCogio+zEflRqQxltyQQ/YNASa2LRMksE3bRgo+5aE5Pg aaJtCXTDpkLa4FhEzCgoWA7AKCQ4eny5kjfy0KoW4B3hzVjbIY2Q1YmvE 2hiYiwXR3T34dQAy3LW/MzpDLk1w3JxRjUJaZmCf3wkfndcpk5HFt5AXi Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10400"; a="264386466" X-IronPort-AV: E=Sophos;i="5.92,252,1650956400"; d="scan'208";a="264386466" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2022 01:47:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,252,1650956400"; d="scan'208";a="568431306" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga006.jf.intel.com with ESMTP; 07 Jul 2022 01:47:05 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 7 Jul 2022 01:47:04 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 7 Jul 2022 01:47:04 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 7 Jul 2022 01:47:04 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 7 Jul 2022 01:47:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mqXXk5ZaBXMnms81Y22ZvfVwaImDeTfjr4i0szadUnN41FZMrQHMCZpKVUr+Fyz1tahKDErO6jtMXH7U3m0MGLBBD4/Swh/L0DaQyhm3Zc/REPXVIDvoRw8uSsd3EVxY9u4KPGmcPGVab4TIXVzhvgwywZqlYXNgMjdUwR0yNMHCs0Sb6fNw04rYHSITU7J3u+HYRXfp1UALIoOhyFadRzgJu+SL2gnJdGv/Rr3Q+eg/zVOQMVRhAdAoJs1CONtQ35Gu0vD8rRAYQCwNEmxD4Hckla65x62UeD0WZLRwxxmxT1bScodK57MJUAJlWxFtR9IyJNVRS/cqwj6m5vXQFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5kh9SWuYxUY3c0IXKQSvhzZCzCs3AEzFYrWvUSNYRfM=; b=NkhA0t5/eH25x/yAOyF1wC2gLewV+4z11x3zggzRdOiJu4zbUgrMmjjfs8LFl/GHmWoifN8w1CcMpWySGOf2yfQikWiPRW9KBQ3MM0T2qgOmPP7RsH7lIGAhF+8ebi0x7kdrtvbMuVblZyuupOg5ioIOCWBas59Ql2KqTHxz4Sb20AU+Tp7KuyfWNmSfiVI3vYKYPkKlrUo2tkMJSs/UMbFkfNtDLC/pWf1mt5k0m5sl8gXZyVh7kyZUDqtN3O5qUJTnos5v5dCSEEmMgjkJy6iEcwphuEEEutYiAIlvI3dTxbovuy0Izn08Qj6WT5kuuzh8dGpPIOuoKH4wdlUjAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BN9PR11MB5276.namprd11.prod.outlook.com (2603:10b6:408:135::18) by MW5PR11MB5907.namprd11.prod.outlook.com (2603:10b6:303:1a1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Thu, 7 Jul 2022 08:47:02 +0000 Received: from BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::8435:5a99:1e28:b38c]) by BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::8435:5a99:1e28:b38c%2]) with mapi id 15.20.5395.021; Thu, 7 Jul 2022 08:47:02 +0000 From: "Tian, Kevin" To: Nicolin Chen , "kwankhede@nvidia.com" , "corbet@lwn.net" , "hca@linux.ibm.com" , "gor@linux.ibm.com" , "agordeev@linux.ibm.com" , "borntraeger@linux.ibm.com" , "svens@linux.ibm.com" , "zhenyuw@linux.intel.com" , "Wang, Zhi A" , "jani.nikula@linux.intel.com" , "joonas.lahtinen@linux.intel.com" , "Vivi, Rodrigo" , "tvrtko.ursulin@linux.intel.com" , "airlied@linux.ie" , "daniel@ffwll.ch" , "farman@linux.ibm.com" , "mjrosato@linux.ibm.com" , "pasic@linux.ibm.com" , "vneethv@linux.ibm.com" , "oberpar@linux.ibm.com" , "freude@linux.ibm.com" , "akrowiak@linux.ibm.com" , "jjherne@linux.ibm.com" , "alex.williamson@redhat.com" , "cohuck@redhat.com" , "jgg@nvidia.com" , "hch@infradead.org" CC: "jchrist@linux.ibm.com" , "kvm@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-s390@vger.kernel.org" , "intel-gvt-dev@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" Subject: RE: [RFT][PATCH v2 7/9] vfio: Rename user_iova of vfio_dma_rw() Thread-Topic: [RFT][PATCH v2 7/9] vfio: Rename user_iova of vfio_dma_rw() Thread-Index: AQHYkQGhOjTo6Vmq1kyrtfklqMNngq1ymh5A Date: Thu, 7 Jul 2022 08:47:02 +0000 Message-ID: References: <20220706062759.24946-1-nicolinc@nvidia.com> <20220706062759.24946-8-nicolinc@nvidia.com> In-Reply-To: <20220706062759.24946-8-nicolinc@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5904e143-d884-4ca2-2d22-08da5ff54323 x-ms-traffictypediagnostic: MW5PR11MB5907:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: so3Vqx1uzokzJdZQYaT3otvpQ1AEl04/hPYtmlYzc2i9xZsTu2eQcEkrCOkBkEQ3qzZWxPfTv3b3WGH8IfDeQp5EMjiyPyC1hkFsYR/jXoT5UCyoWU7K/ph1AIj02TGwnZO2pqFg7VJuLum9chcjvIGfJy0sdYg5BSaVMdc1WA/f69+Z7MuKBT/dPcnXrW5udDmciTU5C/ZZ9xy+F9DQUDJZ/umr2eHRA2CohE5aYb6JgMUI38eVdfMvzqxvKamkiEYZjIDwOptvhQnqODx/FmVcirWY4TxdQ77HQrQaC2s37gFuVHY2fBgGbz5mLJ4o04Morrbjivaq2W+T1Xr6Qj+N/QUz8eU0whAI2x61Ic2cVfUJxgTehzk2rzif0mFLGxjnGE+s7WL0sC2suJ0MT8/XIqGvWha3YjfblgzwStIygLd/MPa+zX/hPGSW589hG3MDHW525hltH5eaLd6Qjg8fQJ/HdO3s/1HwF88+2WQNaPT/dxul3I58ebIEJWwr3iIxMhXvs8gU1pvJJaJmyGGnhlwWsHHCyeWV1Eb+ANYYOigyq3crBieGavslK8lX9a4izl2tiGs7Jo/5sdcqsKwOHOQJ4CbuOJuhkz837ZmpGAcT88W6BbGbzFQlNvSwoiGWpfeg+SmrC60e146TeVugTkbUfth7qFEf/1rj2aUkoVY0e+Yf6i85EkT5kXdnJGrbZPeFD6FnaY4zW2VpmgvaN2sdwganiAo5T5lgWAVPfsfkYVkSifPXYE2kJem7yobDWiYXpx0gh0iTCmdITQ8jroPNj/sUkwVu1HAgJVlhMdFfmpVWjlpjAi729ICQaw+gKX/lwElliJiRJmGxuA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR11MB5276.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(376002)(396003)(346002)(366004)(136003)(8676002)(186003)(8936002)(66446008)(64756008)(9686003)(76116006)(4326008)(26005)(122000001)(6506007)(66946007)(558084003)(82960400001)(41300700001)(7696005)(38100700002)(316002)(33656002)(66556008)(52536014)(66476007)(38070700005)(7406005)(55016003)(54906003)(5660300002)(83380400001)(86362001)(110136005)(478600001)(921005)(2906002)(71200400001)(7416002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?202FIxKWIdqPHoqFYrTOB+liVvFDEVytNP7lG7g/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XqRKXh8X6F+fqH6KSflwDgTlyOexCVyVcDe92TK6qUdvB4BzUFSR7Q5?= =?us-ascii?Q?xtyEyGnW87HsPmZdfGRQvksJnzeISYa7xEZ7wst+yc1hitsFeEa2mBOjrws8?= =?us-ascii?Q?jHKoHGfqZgfEi3el6yIr1ZoZUbxdodepD7F1hU1cBiiCR1ory37OozklZrUp?= =?us-ascii?Q?SSImfIUODXYVr28v0NMjW7uONp6Dj7nwsU0Hz5zHAsvOWoev5BjyPqBmFU74?= =?us-ascii?Q?SQ4BnNAunthwquCbSCiuCmiOh15D3EIWI61TN5yVRUOZKAyfAxh3BsGlROTM?= =?us-ascii?Q?O+aKVVMA+Nxrohu8EeEzVjfPcd+XXjnt4hq9lIVzlKeyaZ/ZHFLuGHS/xt5G?= =?us-ascii?Q?gOV1Cimu3T+zxTGPQcQqeRmwMUW8LyJbUMhPKsyPACOB8pzQJ0bUA3y4T26z?= =?us-ascii?Q?pi//p/+nVt9sl7tz6IFNtmK+kP2+qBOjL7VKKr0im9LLjKV751Nl6sPx45c8?= =?us-ascii?Q?lJTzbR8+YGubVdV3u2AI1j+rVzMLhLYf8uZgphsaNrao9OKx4aKKI4b5qVvT?= =?us-ascii?Q?nVrQpqUpozZ5N39ww2S+b0ji8eAHaSih2zLN4loabE1r2quo2dkU1qG5AEC3?= =?us-ascii?Q?LZhY9wL+tXLjb2XoO22+JUIFsZe11keAOC9SmlZNIQVDLgf3zqhDtP5sf4E+?= =?us-ascii?Q?L7swUN8dbXt8SloWjUrk66HFTFl1Z3e06f3RqS4I?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5276.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5904e143-d884-4ca2-2d22-08da5ff54323 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2022 08:47:02.3881 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ht8iD5Q/i5EN/M9lvQHDemOSfmX9eiT+b4BD4wMP5xQ7g5Jo2I09hhhIv9jzHsHwdC3CShFyoua4eO2mRI4+NA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5907 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-5.1 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,T_SCC_BODY_TEXT_LINE 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 > From: Nicolin Chen > Sent: Wednesday, July 6, 2022 2:28 PM >=20 > Following the updated vfio_pin/unpin_pages(), use the simpler "iova". >=20 > Signed-off-by: Nicolin Chen Reviewed-by: Kevin Tian