Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7834982ybl; Thu, 16 Jan 2020 06:25:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwJG34MlT3/H9vF8gf9BPQfOt4dqflpOwvLc9fEhQM1KRjqpEqVw0H0Lr3SF7RS3vGoG2vA X-Received: by 2002:a05:6830:ce:: with SMTP id x14mr2102691oto.289.1579184708281; Thu, 16 Jan 2020 06:25:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579184708; cv=none; d=google.com; s=arc-20160816; b=HNd57Xci4yEgHQda4ku+IY9S9yJL2TehT3+tPP5ZDdY49eqbHeWMbhHIrKT3gONAyX 8c8xmd+6uEzcpOLztNzhB6oTU535J/I2yKefkcMR7bVrvKSG2rOZi0yT014JXPwTEYdv RQcL/WBbz0qO0Xswb0zCT6j4BNH11pLHylIBr/HUstYl0sjWtOMa8btLqNjnRCePoUOZ 7fDOE8HAx5tEZSvfYYvAx6S7RIQS/NlkT0hO0sURhxlElnUtsnjhNwIOYGmc1uzxTllB 1kKkVBTTW9ufC9rYVdk4GfFZ4Ff6gRLj9WA2j7x3zkW+Emcdck73CdYliMCO9YwjcNOK RQXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=4x1jfSdUrdicrYUjZmxVnLIq8C9cJ/gveXMGuOfeALQ=; b=grKnVCJecHeokN+yIZIx5PAVUeVixKifZ6CYIrQH0cSKx0MxIfRH/4ftPHvszStAVB jrIcF3GOJeesCmZGsppdpv2aVny3HRYRhz+n/j3DiQTjg7IpMRaN9qVc5db9P9+fph7u JzNBp8K+9jXQGrDFqnsXHXFCYa/EwycdKvmNqmIR2Z5C9rFVZIPkgh55VIy3eU0IRI1C UFRxzLmr/r/wP7IEFIdmFjT0cl/kHafIvLRmJn/u1QwZngrHMPNk5HwSEjX7z7/dvZDm 7vJtRa6zkTs/htX8VD1/QoGQcOa6pjy6fCOHZQu9VztVHX3zZt1QOHMKzNI/LDYHzaVb veWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qzkkuiBS; 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 m20si13006546otq.35.2020.01.16.06.24.54; Thu, 16 Jan 2020 06:25:08 -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=@kernel.org header.s=default header.b=qzkkuiBS; 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 S1726555AbgAPOXs (ORCPT + 99 others); Thu, 16 Jan 2020 09:23:48 -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