Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1189518imu; Tue, 20 Nov 2018 13:12:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/WHrEJ+Z6ukx+HS/LuAE15kbRhc4pH/I9IX0p+TXM62Bd31D/zzUYtnlcI7iDsTvZT9vu4j X-Received: by 2002:a65:4646:: with SMTP id k6mr3308408pgr.153.1542748369316; Tue, 20 Nov 2018 13:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542748369; cv=none; d=google.com; s=arc-20160816; b=DjNCtcE8MBbLmiLhSDto1G+7hRIxp4XMgtLFvMAvtMs2Ga2LvOHeqONUpiSKVgp6rv s2itGfiiYRhk952UBnCTRbIeu0uIblFkG5a8mwdUM/UCs51WP/XwHtK9DGMGdjm3sm8Y TCzwzL4SOmo8Za9/8aIkF7NsVck6/+S6plN65fdSw6YEnQlYmHotZ0JZ1UF/h+sZdMt7 wi7O9hK/Zg559o/1d4oiPWFEYOuujKZlHHLp/X8KA/pOla3dFuBziasMY7La46q7cz9M CSpPyG5I5HlNSekpFq1K2/5tvC6hJrAWZJXPn8ML2XcI64YCgz5Sx3uGSoEliR6zdqXK H8Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id:from :references:cc:to:subject; bh=yvM1QKTqFWlH3+qo8PmYd3d93xGe8TcMpDHDlI7pRLs=; b=mWXUg/AsSe1QDVietlEqLh43h1Ah5SbSYx55vtP5BmsByqW7EIb+5EC5VONDIgM+fs vSOx5OSxN5kdscT4pWIXGXEEc+Y1wVBlwxIeN1EddCAftevv2uoE8K0Qt6saOZaHAB1h eXb/WnavjH1j/GmOEDBJu6LMUZQ/td9bEyXFMQ7bzqeOZwRzAGPhYEst5BT1OYQDXETD dqjlfDpYI75xG/e2i2Lfj2V26pxusKBcEm8JRsZrSKimaYyZQme7bQ05igGWK0FI+8yH RsaJwVJ6hh2rR4n/giE0VYFlv+7zUTuV0o6Roh8DAmF37jpAAZrRn1r7TvelL0OoFX3b xXnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=cMoJDXUk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4-v6si46790895pla.176.2018.11.20.13.12.34; Tue, 20 Nov 2018 13:12:49 -0800 (PST) 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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=cMoJDXUk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726457AbeKUHXa (ORCPT + 99 others); Wed, 21 Nov 2018 02:23:30 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:11332 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbeKUHXa (ORCPT ); Wed, 21 Nov 2018 02:23:30 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 20 Nov 2018 12:52:35 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 20 Nov 2018 12:52:27 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 20 Nov 2018 12:52:27 -0800 Received: from [10.24.70.221] (10.124.1.5) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 20 Nov 2018 20:52:17 +0000 Subject: Re: [PATCH v4 6/8] vfio/mdev: Add iommu place holders in mdev_device To: Christoph Hellwig , Lu Baolu CC: Alex Williamson , Joerg Roedel , David Woodhouse , , , , , Jean-Philippe Brucker , , , , , Zeng Xin , , , , Jacob Pan References: <20181105073408.21815-1-baolu.lu@linux.intel.com> <20181105073408.21815-7-baolu.lu@linux.intel.com> <20181106165356.44b59ec3@w520.home> <7bfc2f2b-10e6-b53c-51f3-c6494b686aa3@nvidia.com> <25b9a20f-06b5-57ac-81f1-fd933845c77f@linux.intel.com> <20181116085714.GA13181@infradead.org> X-Nvconfidentiality: public From: Kirti Wankhede Message-ID: <339ab9c8-08e1-ce2f-6f71-99a06e4b82f3@nvidia.com> Date: Wed, 21 Nov 2018 02:22:08 +0530 MIME-Version: 1.0 In-Reply-To: <20181116085714.GA13181@infradead.org> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL101.nvidia.com (172.20.187.10) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1542747156; bh=yvM1QKTqFWlH3+qo8PmYd3d93xGe8TcMpDHDlI7pRLs=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=cMoJDXUk14mEFSRzelZDQw2SeOaPOt1opY1mXK/j9dCEqoPAAwRnWfX1pkt6s5+mt i/kLhNJWdRJrg0kGRRbS1GZPsb/Erj3hnp/ta6p2Ti1kiSJ53YL2Cd6XIKhy7y4vAN Rx6RX8N7IWtw2tnQxspT/nsoxIlLiLIJn6+ad1wfmy19G/eVI/7ppaNTQnSdiLCS+5 dbMZdpsPdFnkb9JC1FjnQBaD8F1n2Jb7y0delvT8EK9SwMdLB4RjyqNMOAeMbYl+Vh P2hz+kx5HXlUe2PpfN1JYWsf6OTYuFv6+5kpkjYIxcfQYnwNrqhq+ohVKj1qCXjj1l SdYShJ4/9Y7tA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/16/2018 2:27 PM, Christoph Hellwig wrote: > On Fri, Nov 16, 2018 at 09:20:48AM +0800, Lu Baolu wrote: >>> Please keep symbols mdev_set/get_iommu_device(dev, iommu_device) non-GPL >>> same as other exported symbols from mdev_core module. >> >> Yes. It will be fixed in the next version. > > No. mdev shall not be used to circumvent the exports in the generic > vfio code. > It is about how mdev framework can be used by existing drivers. These symbols doesn't use any other exported symbols. Thanks, Kirti