Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1328958imm; Sun, 2 Sep 2018 19:14:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY0cVKCtt1dQeiAWNB7k+NttdhFIydkQ7qk6i/UEj4UBukibLl+Ej7ur8OkkkHIqKlMi0UR X-Received: by 2002:a62:d544:: with SMTP id d65-v6mr27049276pfg.107.1535940840980; Sun, 02 Sep 2018 19:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535940840; cv=none; d=google.com; s=arc-20160816; b=y2Q9KkoUa9cIh2GIbUvOOChbw2GxDU8B0Ippksv/CPnsuP6YxXNJ1NGgColOni29jq fSa3KYVop57pP7/HgwUJBW7yqH570YAArlF2rSVjPAdkrye8YgPdu9TkIDfkKIcSzBnB q7fR+qsjujEnPy+b1zUxJOM8XJ4JgFYTDh95/UsiBVYjXF7/psU0b2YL8PBfXvEivyH5 wdTSJwhknubeM/Doh7X6jOz4+D5NHxQrEd0xJi20l8BR/PwtAZDoZe/uyPDCFZ0YzM5u 1f9pfZMHJz9q1P0omaVpd8Z8jrxwGID4gp/tg/BBpKPL5RjT9N8CNde9HeEgHVXmCBjC F9hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=HHnRFUC0L8abTrCUjkGatbVXUgZ4Kz6CFvTAToAkmWc=; b=tT/40MOqXpOsE7dTIkNnWaURK94GloqmmaNl5myRzLBG3ZRBBSzD3tEFt8WimFgz/R 4XsSwOJoZWnQuovV5fhbQruml9ghlB/52NrRWgr+Hva+CNNpMz8elqd2Mre+WQLSJdGi kSWwMIsqcC18MN3nQIYPcgnPiGa/ilN9PIsspxROQQmf9VREe54vcm+pbVHwy9iB3pf9 5MOvIeO6KHKRF+aR+CZsLxxz4L1i2uObkwb3Y4V1KmQBcCeZyUlWiGNfF5t0zZbiE8B1 LuAMepDiRpvHYTUdsdZpUOzKtOONMiUMHzoNGTIVKzIw3EZKQNsq07hjwIsxMzPU7VNJ RYbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=PvYjrnGQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b190-v6si17524770pfg.94.2018.09.02.19.13.46; Sun, 02 Sep 2018 19:14:00 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=PvYjrnGQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727280AbeICG3g (ORCPT + 99 others); Mon, 3 Sep 2018 02:29:36 -0400 Received: from merlin.infradead.org ([205.233.59.134]:32982 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725887AbeICG3f (ORCPT ); Mon, 3 Sep 2018 02:29:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HHnRFUC0L8abTrCUjkGatbVXUgZ4Kz6CFvTAToAkmWc=; b=PvYjrnGQoUg6pTDEHowuBayMI6 yUNXGPHcFEH7CJmTA1BWgW5L11fTh4A1L6itMjE3VKAIMXOozQVR+S5mJaJD1mGERNjifHVbQZvTF uy1+24OyI/opvfZySkUUfu0wh6spiuP0ELct3yBeqKioQL9hiOOf3QQ0gFEZU7xr5hL4quyAALuBD 67N9VqmC/gpYfPZjjPXjzO1raekj/dksrUzV6dllCYKrV3r9ziQYnu6j+SZnbUzQjdzQ/SNWG+d85 4t7ITcFiQdZ89JcezBqO3AI9QefyHNUtN1q0dspDYVYKW9MqYRcTZOHeOv2ZEY1toRztSAXGENWzI gnSS1WqQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fweKk-0005Pv-KH; Mon, 03 Sep 2018 02:11:19 +0000 Subject: Re: [PATCH 3/7] vfio: add sdmdev support To: Kenneth Lee , Jonathan Corbet , Herbert Xu , "David S . Miller" , Joerg Roedel , Alex Williamson , Kenneth Lee , Hao Fang , Zhou Wang , Zaibo Xu , Philippe Ombredanne , Greg Kroah-Hartman , Thomas Gleixner , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, iommu@lists.linux-foundation.org, kvm@vger.kernel.org, linux-accelerators@lists.ozlabs.org, Lu Baolu , Sanjay Kumar Cc: linuxarm@huawei.com References: <20180903005204.26041-1-nek.in.cn@gmail.com> <20180903005204.26041-4-nek.in.cn@gmail.com> From: Randy Dunlap Message-ID: <0574e7dc-bed2-d2d0-3aa6-93590d54ce81@infradead.org> Date: Sun, 2 Sep 2018 19:11:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180903005204.26041-4-nek.in.cn@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/02/2018 05:52 PM, Kenneth Lee wrote: > diff --git a/drivers/vfio/sdmdev/Kconfig b/drivers/vfio/sdmdev/Kconfig > new file mode 100644 > index 000000000000..51474272870d > --- /dev/null > +++ b/drivers/vfio/sdmdev/Kconfig > @@ -0,0 +1,10 @@ > +# SPDX-License-Identifier: GPL-2.0 > +config VFIO_SDMDEV > + tristate "Support for Share Domain MDEV" > + depends on VFIO_MDEV_DEVICE > + help > + Support for VFIO Share Domain MDEV, which enables the kernel to > + support light weight hardware accelerator framework, WarpDrive. lightweight > + > + To compile this as a module, choose M here: the module will be called > + sdmdev. thanks, -- ~Randy