Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp513905pxv; Thu, 22 Jul 2021 05:57:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZO27ZrdE9sC3kvpAzzd3twiwFTJMrdyEDTr6fpCwFIHR/nkpM8wrmD4b1vPHuVOj5flQz X-Received: by 2002:a05:6e02:4d2:: with SMTP id f18mr27708830ils.21.1626958641065; Thu, 22 Jul 2021 05:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626958641; cv=none; d=google.com; s=arc-20160816; b=04FtGuy9JVBRU8DXP14ThQL+25ZAKh0GpH9u4d6rI6MU5gqCPtBztUl6vikMWjfogT ppFgOxP0OHqksb10JoL0m8mxUtEMfguBDX/TRsNrYX1rufgot+L0uwy2qRyYRFNy5h87 wh52vJp3xMBziB6/F/Y5DfZDr89SL+Qw+HRb8qKUrN1iSaU4vZl1L3LtETw/i5Ml9erD 0uxgfKI5BBYEgh5sZ/bY+lM2wQYaDshRveYrstGWfqq9zgpM3hFITl0AUTPZutGva6eF 0YBjkCcj5TsFMsd32us8fQiphJMgFEpiEAXU+2LGkUui+w/sAV5jeI2feB8eyU/Bj+PW txvA== 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=gxHGYkhuZE3VJ34mkCAjLArPtFdTcVbEaAmMRKw98pY=; b=IIBnrIYFbqYl+xC/ssNOKdeqwSluu3aqLRLPK2qEZmcR4aeGhd8A4dozjBarYz8Uk0 Chd3Snu6MLzO34Z1NRXOyWXRIsiYaS5nw8Lvk/L22r8M0iIJQ3wznuSSIB9HcTnF5xnd d2gGwLKynCc97TbGBrfr6Hc7boz0zz3oDxTPVot+ycMsWMuaosOUw5hX0sppgMzx81Fm J0GFM5QoF3KKXHAtmJg4Ro4odQCT8nzjDViQx6lrKsrIrpdtIQ98Z1r6bPRGwxoe/K29 YY9E0vqrMMWt13dwZ6nKn/l9J8P10HvqWUxMCH3yNlhNVEbIWNGMEThKVAPGN53zdm26 RTIA== 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 r9si32764933ill.26.2021.07.22.05.57.09; Thu, 22 Jul 2021 05:57:21 -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 S232089AbhGVMOv (ORCPT + 99 others); Thu, 22 Jul 2021 08:14:51 -0400 Received: from verein.lst.de ([213.95.11.211]:33958 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232075AbhGVMOr (ORCPT ); Thu, 22 Jul 2021 08:14:47 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 9C05767373; Thu, 22 Jul 2021 14:55:19 +0200 (CEST) Date: Thu, 22 Jul 2021 14:55:19 +0200 From: Christoph Hellwig To: Zhenyu Wang Cc: Christoph Hellwig , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Zhi Wang , intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: refactor the i915 GVT support Message-ID: <20210722125519.GA25887@lst.de> References: <20210721155355.173183-1-hch@lst.de> <20210722094516.GQ13928@zhen-hp.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210722094516.GQ13928@zhen-hp.sh.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 22, 2021 at 05:45:16PM +0800, Zhenyu Wang wrote: > The reason we isolated hypervisor specific code from core vgpu > emulation is to make multiple hypervisor support possible. Yes, we do > have Xen support but never got way into upstream...And we also have > third party hypervisors which leverage gvt function through current > hypervisor interface. Out of tree stuff simply does not matter for the upstream kernel, especially when it creates such a huge burden. As a background: I started this refactoring as a lot of the code did not make much sense when reviewing the mdev integration in preparation to switching them to the new mdev interface from Jason.