Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1661796pxb; Wed, 9 Feb 2022 01:31:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgz8UZcDKChR3hPmKhDtPnMITO+H2PRRfRjKXWdUrGEETvdpeJBhaqhnhtG2ytlbEgvS79 X-Received: by 2002:a63:555b:: with SMTP id f27mr1200570pgm.468.1644399092747; Wed, 09 Feb 2022 01:31:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644399092; cv=none; d=google.com; s=arc-20160816; b=KXFWOyV2nLI1egokevUbGW4NIkEqnjOJGGNKcVditGiwZAEPsTeQ+94veIE8oQH94n eYUs2G7ySyPRPZ+iMBTKINPspiKw5LkSv/aprAVAjg703KXOIIaAVCNzFbk12kQfBD5o EJl04QN6kScZZSkhsahm6CpAv/HK6EOQ5PL5IKWgavQqovxhSZyt5/vh31ofQwDkAPkH HOt3gyVl9Fb3zkoXJrJr5Bp8aOqUX8KuDbN7K+njyhyERzjw+qCvWx7cNOIKIgDMYyTO heEYAw6pJqz6sfDb1vhDUeO+bxQOGKWx9yW0aBo2S7M6oetU92uNwAHiDXYckzok04Ti mgjA== 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=3RUvmgR9ABUc6fJd9/eGFB8Vs5fzE+Yf3KbFRATuVzM=; b=uru8/YOid1itjOgXc9HOlU27mJeQxzP6YF4AQq+PE16M4vR3mEDAFh4wWl9FGer36+ PGxZeQxUVmFXkbS02WFvDvsCVqSf+jJB+7ggx8gCWSPT5eXeNHkSosan3TZ7MxsaXLrf BB2euCb/eC/PNG25kua8evswtbfM6va7wt67nrq8qZhNzh21H5i9DNR2nPTKQd7jmgAu OE7AzfzFSeq94hmvZwJZxeDRoU/97vC2Uy1DpMWPqibDL++92mBTjy68u0fqIKOe5/yy Uc5EcypMYkHl7sIY84MCbNFRWtbPfC9SqL7GCrYKOvblXWP5mA5rEIzmG1BVXnrMFLb1 HMhA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id o10si3124521pgu.638.2022.02.09.01.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 01:31:32 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 259D5E05659A; Wed, 9 Feb 2022 00:59:48 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244079AbiBGIoW (ORCPT + 99 others); Mon, 7 Feb 2022 03:44:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350193AbiBGIfk (ORCPT ); Mon, 7 Feb 2022 03:35:40 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07781C043181 for ; Mon, 7 Feb 2022 00:35:39 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 3862868AFE; Mon, 7 Feb 2022 09:35:36 +0100 (CET) Date: Mon, 7 Feb 2022 09:35:35 +0100 From: Christoph Hellwig To: "Wang, Zhi A" Cc: Christoph Hellwig , Zhi Wang , "jgg@nvidia.com" , "jani.nikula@linux.intel.com" , "intel-gfx@lists.freedesktop.org" , "intel-gvt-dev@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , Joonas Lahtinen , "Vivi, Rodrigo" , Zhenyu Wang , "Xu, Terrence" Subject: Re: [PATCH 1/3] i915/gvt: Introduce the mmio_table.c to support VFIO new mdev API Message-ID: <20220207083535.GA25345@lst.de> References: <20220127120508.11330-1-zhi.a.wang@intel.com> <20220207073247.GA24327@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 07, 2022 at 08:28:13AM +0000, Wang, Zhi A wrote: > 1) About having the mmio_table.h, I would like to keep the stuff in a dedicated header as putting them in intel_gvt.h might needs i915 guys to maintain it. > 2) The other one is about if we should move the mmio_table.c into i915 folder. I guess we need the some comments from Jani. In the current version that I am testing, it's still in GVT folder. Guess we can submit a patch to move it to i915 folder later if Jani is ok about that. Yes, let's have Jani chime in on these. They're basically one and the same issue. This code will have to be built into into the core i915 driver even with my planned split, which is kindof the point of this exercise. I think it makes sense to use the subdirectories as boundaries for where the code ends up and not to declarare maintainership boundaries, but it will be up to the i915 and gvt maintainers to decide that.