Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3264944ybb; Tue, 31 Mar 2020 01:33:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuYKWtJHWZMiGu1v8Hzm1olpiUnEEctBkdF1xGKtkx5Q/f21nJrGIF1bQwDDhAuD4cecV8M X-Received: by 2002:a9d:75d0:: with SMTP id c16mr2367274otl.8.1585643637209; Tue, 31 Mar 2020 01:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585643637; cv=none; d=google.com; s=arc-20160816; b=IeyTSVC066j/JSOInOqBVjsuLucxVaHmjKF0Bh4LNScv5d4ClB6vUDPLopLh2x/js0 srEv1f2iO/Uq2VmvZ2guAU+gXRfkJsCqu0iV3A7irskUBuI+C40L4fet3RgyU39/8oby BuU/jZgZ6qyGMIpHPZUoLM/mZ+mvQ3oWSL4RsvxbTO+ajAqy9kzc7kR4+bRwOfJAVPdQ W5dZhdEbnlzQQ47cdWAbp+tn+JFFNgQLRhwvmFALuyQa1AYQJQs/w6u558lTs8TIkZYs mwaPhpAsCANj3Db12Qy/6zfTsKncYuUFznDoNNtazQ0/3nVojlhYKHft/OIXFmra8PVJ 13SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=WOu0QuKB9YShxLQ5DKEN2ojCCA4G5LGFR2e31pk9TcE=; b=IeWstP3ZLMcekXNoPhuvzQpPDFPgnKfTLzvHoC8boKsoShINLlqMy2mjrWFmd+dg/H fl3b9dzu/zBT3IQPU+EZ7XMQjYm2uwdnGsPrA5qTcbWgKiXSo406nwNTK36ItPO7Ys7w ovBiW5L+Rrcp0xvlO/LA0BX66UyFt9OiNdK3AVbBLpyTWAQUhKyud8kMX25N0KW4ZRMn FPOQZB8uLOfZPE4qGOlunWA9WI655mzZFn7f9cmc8vOYlTKD6JglvHEvt3Bkz8WJx+OP JmJif/ditgf2nIfAl9X4sFsAUZ9lUsjQgFZzKcFvD6b0iWWLrrF/Kjo/D8+tByzngT8S zaRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k193si6536803oih.78.2020.03.31.01.33.45; Tue, 31 Mar 2020 01:33:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730302AbgCaIcv convert rfc822-to-8bit (ORCPT + 99 others); Tue, 31 Mar 2020 04:32:51 -0400 Received: from mga17.intel.com ([192.55.52.151]:3258 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726488AbgCaIcu (ORCPT ); Tue, 31 Mar 2020 04:32:50 -0400 IronPort-SDR: Foo3ae4xUHE7uZLxourCReQLSlYz/7XCMx8pTdNLc6Q1Gcmcz4/ZJ++aw74CAFMVrpXo0X3NSn fVbPDI2dJ5oQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2020 01:32:50 -0700 IronPort-SDR: 0Ja4CVaN91zsFRk2lw/QtnoHFKThXn0aN4aOfMIwL6lzKbuOIJ/xg0fUfXhKKoKTly6jL0sJ1Y o2rvjl4rjEBg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,327,1580803200"; d="scan'208";a="240059206" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga007.fm.intel.com with ESMTP; 31 Mar 2020 01:32:50 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 31 Mar 2020 01:32:49 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 31 Mar 2020 01:32:49 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.225]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.89]) with mapi id 14.03.0439.000; Tue, 31 Mar 2020 16:32:46 +0800 From: "Liu, Yi L" To: Christoph Hellwig CC: "alex.williamson@redhat.com" , "eric.auger@redhat.com" , "jean-philippe@linaro.org" , "Tian, Kevin" , "Raj, Ashok" , "kvm@vger.kernel.org" , "Tian, Jun J" , "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "Sun, Yi Y" , "Wu, Hao" Subject: RE: [PATCH v1 1/8] vfio: Add VFIO_IOMMU_PASID_REQUEST(alloc/free) Thread-Topic: [PATCH v1 1/8] vfio: Add VFIO_IOMMU_PASID_REQUEST(alloc/free) Thread-Index: AQHWAEUbC4GB74LMekup8jIcF6WIFqhh3EqAgACPuLA= Date: Tue, 31 Mar 2020 08:32:45 +0000 Message-ID: References: <1584880325-10561-1-git-send-email-yi.l.liu@intel.com> <1584880325-10561-2-git-send-email-yi.l.liu@intel.com> <20200331075331.GA26583@infradead.org> In-Reply-To: <20200331075331.GA26583@infradead.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Christoph Hellwig > Sent: Tuesday, March 31, 2020 3:54 PM > To: Liu, Yi L > Subject: Re: [PATCH v1 1/8] vfio: Add VFIO_IOMMU_PASID_REQUEST(alloc/free) > > Who is going to use thse exports? Please submit them together with > a driver actually using them. Hi Hellwig, Sorry, maybe I misunderstood your point. Do you mean the exported symbol below? They are used by the vfio_iommu_type1 driver which is a separate driver besides the vfio.ko driver. +EXPORT_SYMBOL_GPL(vfio_mm_put); +EXPORT_SYMBOL_GPL(vfio_mm_get_from_task); +EXPORT_SYMBOL_GPL(vfio_mm_pasid_alloc); +EXPORT_SYMBOL_GPL(vfio_mm_pasid_free); Regards, Yi Liu