From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B538C33CB1 for ; Thu, 16 Jan 2020 14:23:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C9523207E0 for ; Thu, 16 Jan 2020 14:23:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579184629; bh=KNIqX/sx4KhchS5SQ+KG9h+E5ENCroy3R1j54AGgznA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=lg3KtYP+WzSOsIw/rwuXq+5LWiKAfeaVUniA1tAi7cAtAi4k3Txy9ZKbKAxNkFJ4c ITYV8+UESD87P4Da40qJJywClR8BlLZsPloXjws+X6fRztqh3O1aLatcv990bAgGYl GF/uCZCTUfOvILQDb98uwzVz7neQdFIUiafyhnsw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726653AbgAPOXt (ORCPT ); Thu, 16 Jan 2020 09:23:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:50320 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726160AbgAPOXs (ORCPT ); Thu, 16 Jan 2020 09:23:48 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 81FE320748; Thu, 16 Jan 2020 14:23:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579184628; bh=KNIqX/sx4KhchS5SQ+KG9h+E5ENCroy3R1j54AGgznA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qzkkuiBSFvpSjZIZT5iwzK6+SGNRGnsX9btY+dsBHaEtaAAr7Hp6kSV75PxZnJ88G pI4YRdXBW1PtXG9RMyBnrnBvHt8vNe9aXrZ+QTF2pDm0j9oonu2NuWdU39ddwuQ/bP E64IUuwgHDIjro25Fo9XF1lXa9hf7HTki+u7jTrY= Date: Thu, 16 Jan 2020 15:23:45 +0100 From: Greg KH To: Julian Stecklina Cc: intel-gvt-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, zhiyuan.lv@intel.com, hang.yuan@intel.com, Zhenyu Wang , Thomas Prescher Subject: Re: [RFC PATCH 4/4] drm/i915/gvt: move public gvt headers out into global include Message-ID: <20200116142345.GA476889@kroah.com> References: <4079ce7c26a2d2a3c7e0828ed1ea6008d6e2c805.camel@cyberus-technology.de> <20200109171357.115936-1-julian.stecklina@cyberus-technology.de> <20200109171357.115936-5-julian.stecklina@cyberus-technology.de> <20200115152215.GA3830321@kroah.com> <9b32e225ee680e61716e300eb1ed8387599cc0dd.camel@cyberus-technology.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9b32e225ee680e61716e300eb1ed8387599cc0dd.camel@cyberus-technology.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 16, 2020 at 03:13:01PM +0100, Julian Stecklina wrote: > Hi Greg, Christoph, > > On Wed, 2020-01-15 at 16:22 +0100, Greg KH wrote: > > On Thu, Jan 09, 2020 at 07:13:57PM +0200, Julian Stecklina wrote: > > > Now that the GVT interface to hypervisors does not depend on i915/GVT > > > internals anymore, we can move the headers to the global include/. > > > > > > This makes out-of-tree modules for hypervisor integration possible. > > > > What kind of out-of-tree modules do you need/want for this? > > The mediated virtualization support in the i915 driver needs a backend to the > hypervisor. There is currently one backend for KVM in the tree > (drivers/gpu/drm/i915/gvt/kvmgt.c) and at least 3 other hypervisor backends out > of tree in various states of development that I know of. We are currently > developing one of these. Great, then just submit this patch series as part of your patch series when submitting yoru hypervisor code. That's the normal way to export new symbols, we can't do so without an in-kernel user. thanks, greg k-h