Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2734437pxt; Mon, 9 Aug 2021 07:43:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoXajGiQwYoSIhYowVuqdzcTsCnyXVDDiKQdalLInsYgSqyrVwchMEE2912exzJto0bAKf X-Received: by 2002:a17:906:13cd:: with SMTP id g13mr1215799ejc.340.1628520190790; Mon, 09 Aug 2021 07:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628520190; cv=none; d=google.com; s=arc-20160816; b=uuWE5evgBKT/ExtZ1MU89/8Gj8onWe/vkDZQF9m6u2TDG64Vbhbfs/oxo+Rdfk4Ac3 AjyzQT/wXJqN9qW8T7fMYR64Smlw8gEb7gIR9sOeP2hlAVK1ekI1qUGjInV3ZGgyeKiE 9CgfMveNoVH0UV0Wl0D02LCyk+iaJhMmWAqZqH19kYlvOTFENC83AfD3wKlijGf/Z0tx W92KmTdWQwAE68h6bf11fgdN6S9pVSW6f3o+fdo/Xh2Z1VNLL01FB2YN4LTt/XUfE/6f B7WhkfOVmqpZfryfXs3QYjMrSofFydhkOuXCj9zyJiZx9mRU+iqa4dwNcw/P/aW7Jxpz biYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ASBo5wJi1EOoar3SziJDNyAucgPNItqwdkJ4hzMxwtY=; b=e/42pUArd5VGMoDbRNJCSx1EQnivrRmaI6mSsiTDxCKs1N+1cxmgOeRvas0bAeMpfl yNuz9A5b9tXrtkH3VBygxjns0KBrJ5CZK3KjvWiTFCLelSoUb2uT/8FnId1OUF3uBGyD 2nWkQCfNB2vyWKtJopBLw5f7ljKxc7YxzKnuhUEmDHUfXmXsGUmhYyVgtqMiNWmXahkP ol86mVskQYeXdgdBGblKWAP8KPXziVbiDkheN9u0UgG6sV6a7QX3jBKUEZ/p4bJiLpn5 bYcIWFL0FJMh56+0ukHRtPl5RuTlDdzuI55o1yEOOB2oZNSzfX9ukeA+7r59v46RLOo9 zkKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si2350261eds.133.2021.08.09.07.42.47; Mon, 09 Aug 2021 07:43:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235075AbhHIOab (ORCPT + 99 others); Mon, 9 Aug 2021 10:30:31 -0400 Received: from verein.lst.de ([213.95.11.211]:60762 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235063AbhHIOaS (ORCPT ); Mon, 9 Aug 2021 10:30:18 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 2CAA967357; Mon, 9 Aug 2021 16:29:45 +0200 (CEST) Date: Mon, 9 Aug 2021 16:29:45 +0200 From: Christoph Hellwig To: Joonas Lahtinen Cc: Christoph Hellwig , Jani Nikula , Rodrigo Vivi , Zhenyu Wang , Zhi Wang , intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/21] drm/i915/gvt: move the gvt code into kvmgt.ko Message-ID: <20210809142945.GA18850@lst.de> References: <20210721155355.173183-1-hch@lst.de> <20210721155355.173183-5-hch@lst.de> <162850857939.5634.17747219922172884449@jlahtine-mobl.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <162850857939.5634.17747219922172884449@jlahtine-mobl.ger.corp.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 09, 2021 at 02:29:39PM +0300, Joonas Lahtinen wrote: > Thanks for putting the work into this. This conversion has been > requested for a long time. For clarity, should we call the module > i915_kvmgt? If this was a new module that would be my preferance. But the kvmgt module already exists, so I thought it might be a good idea to keep the name. > How far would we be from dynamically modprobing/rmmoding the kvmgt > module in order to eliminate the enable_gvt parameter? Hmm. I suspect it could be done fairly easily, but from what I see it would still require to disable GUC at i915 module load time. If you want I could look into that for an incremental patch, but to unblock the vfio/mdev work I'd like to do that in a separate stage.