Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2267269ybl; Sun, 18 Aug 2019 22:28:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDm39MQslXQJwY5O96K5wfPl6pN8vcNJ4p3TzdD/YZCdlnOB5xK3ym3jEkpT4PuO1n8r7S X-Received: by 2002:a17:90a:220a:: with SMTP id c10mr19268729pje.33.1566192501047; Sun, 18 Aug 2019 22:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566192501; cv=none; d=google.com; s=arc-20160816; b=RURhHb72k96nAjSSZnR4MVI/Tjy/r5brVs1bC6GHkt/jTJ37j9z9lqngNy4d+l8ewt xxgw+bahLQ3dBGKKqE00/Pv0oZmzThYLwj42epbeLbISnqrZUQNISpYWWfCnWbk8dkk+ 69zPpXPlfpX+XTxCu/h4pxa610ZSoZvZPLFE7bL4Kvbqn6GVh4qXPOH3dxoTbidl29RY ooQhAIu1x3DpYieeP3uH2XG4gnX3QJDReIQka8Ij+8GOH6oDH4U0JAV/Cb4c51ab/VYJ kAdjVK2Cy6Q9wsba02WehAZlUg839kcSOcGdtuKn79uhgzLvUm0JbZoQrygQYcywXdLk 9cag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lnmsT6ijQzJMctgSTfU/FHVjWIAmqFIMVnymjg/MEZ8=; b=IaLFTa2ies5mg/3VOg21BM/utC5iX2nVobgJUVdiS4EB9N99+gYcGxxAdUTArnQXn7 VRI2qz11W41BH5V3oFGdzscFSjYFlC0dz63IdrsoM0swdboSaVgS3y7Lw+p72Y/jGFaJ H6qFzmyqX347N3CLIwHVE2xNogrLTfI0mH9nHA1URx3Q3E0ihKCWpFkJeTrgV7A2Dvcc hU2VUUb/uKDc0zKIUN6LtA56pQ8H4GMcZ/py7lBGTvc8VZZHKkZ47GyFB1foATHuVLAp ZqtcQh9O/x3x2JvMN4NYsh+CHXBPz5dPtaZ63HLQYlGlyREOqhJy2WWeeZZf6PwVZcVU gwNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gd+A7R4e; 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 c5si9179830plr.291.2019.08.18.22.28.05; Sun, 18 Aug 2019 22:28:21 -0700 (PDT) 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=gd+A7R4e; 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 S1726635AbfHSFZm (ORCPT + 99 others); Mon, 19 Aug 2019 01:25:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:34454 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbfHSFZm (ORCPT ); Mon, 19 Aug 2019 01:25:42 -0400 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 0C80C2087E; Mon, 19 Aug 2019 05:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566192341; bh=AwTUduT9b22UbtIBvD/06jT9jdDhKUoHKsa26bnugjw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gd+A7R4e6F3qWauynpPW2cCYzfyMKPTuWJGy+I9yt7Ou8mlwFwDAwJavSq18/njvn H3S7ngdvQxHxGxAoGKs9o5T1wQbHoaWayL9CwgicLX3pfId2DTaB3PNyplDmPoNAAO 9EcA6H4cn+a0Z5Wypd/qOqHY4zecCaJ1F81EVvu4= Date: Mon, 19 Aug 2019 07:25:39 +0200 From: Greg KH To: "Zhao, Yakui" Cc: devel@driverdev.osuosl.org, x86@kernel.org, Borislav Petkov , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 00/15] acrn: add the ACRN driver module Message-ID: <20190819052539.GB915@kroah.com> References: <1565922356-4488-1-git-send-email-yakui.zhao@intel.com> <20190816063925.GB18980@zn.tnic> <20190816070343.GA1368@kroah.com> <30d31b78-7da6-5344-6f64-b7273b40f611@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <30d31b78-7da6-5344-6f64-b7273b40f611@intel.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 19, 2019 at 10:39:32AM +0800, Zhao, Yakui wrote: > > > On 2019年08月16日 15:03, Greg KH wrote: > > On Fri, Aug 16, 2019 at 08:39:25AM +0200, Borislav Petkov wrote: > > > On Fri, Aug 16, 2019 at 10:25:41AM +0800, Zhao Yakui wrote: > > > > The first three patches are the changes under x86/acrn, which adds the > > > > required APIs for the driver and reports the X2APIC caps. > > > > The remaining patches add the ACRN driver module, which accepts the ioctl > > > > from user-space and then communicate with the low-level ACRN hypervisor > > > > by using hypercall. > > > > > > I have a problem with that: you're adding interfaces to arch/x86/ and > > > its users go into staging. Why? Why not directly put the driver where > > > it belongs, clean it up properly and submit it like everything else is > > > submitted? > > > > > > I don't want to have stuff in arch/x86/ which is used solely by code in > > > staging and the latter is lingering there indefinitely because no one is > > > cleaning it up... > > > > I agree, stuff in drivers/staging/ must be self-contained, with no > > changes outside of the code's subdirectory needed in order for it to > > work. That way it is trivial for us to delete it when it never gets > > cleaned up :) > > Thanks for pointing out the rule of drivers/staging. > The acrn staging driver is one self-contained driver. But it has some > dependency on arch/x86/acrn and need to call the APIs in arch/x86/acrn. Then it should not be in drivers/staging/ Please work to get this accepted "normally". thanks, greg k-h