Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3241915pxu; Tue, 15 Dec 2020 02:06:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyp8BpXGWgVvt/8ZycAT1Qa0QGAGYMUaC8OIX8UBBOtOzKSF4BmUgWrQSlnFoVgA6BVVeLy X-Received: by 2002:a05:6402:8d9:: with SMTP id d25mr12122837edz.278.1608026802302; Tue, 15 Dec 2020 02:06:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608026802; cv=none; d=google.com; s=arc-20160816; b=dQ8DAm2d+nv7sypHHoAbuq+NFuQHsaDCedU9eWk2yUhAZMlFIym/LLUzf4JS2BdVdL Yrg9QFfOzZ83hksNx6HcWiKOPukEu2/xI1RmKxIQmMF+db1QbLtEcw5A/ScMaKs1Iw3F hagrUxsB6yVGLIYS5gT4KvTZvgQMiCHD3Lqf5BbaK/vt/Gp7AhGVwwfURkINCgQVNkQu 09VSXIwLcG0XdMOE73MbGkd4OLWNs4DrrPjWqU2FNjQyEInlX+ZqOhdfp9lKt0mnBZxE 95ndB7nMhIT2gk/5YizDQ2UGMeluqO/L9pAh4st+kbppykvcRb+DXin1YvJ1Rrz5jUD3 83oQ== 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 :ironport-sdr:ironport-sdr; bh=VrwqHayRXACyOH+LNxf5N33547GzpbmpbgaQEqVB2Mw=; b=kXS8Up3vmZ/qSaiZ5OC4v+FJOL7xPkgcxmV8NS24o5/4srKycyY4fzLDRcjYs52SY3 X9lmWAHT6bJuGVhLOvYA6Bq624rnGksnc00eSLMap3NmG+589m/RpbSJNvoVW2/LWxgW hXqmA1CFD9rj9wkdt72EofsoViAoT8gntGBc7sBf4+oCbOe9Q//M0TBIHnBet9RK8d9g xWQohr+12WAXtdX3so1joad/DZr0+OED7gR0WKXMdnbCUiYVrFn1yXvV0ltRxuVKtGXT pHKZ60vdICOAnvKbuEwrtW6ijI65CfTICxkEFFUJq4Wc+FrD/Fu6wcG/KtMF0EnE8iIH EHxA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si701625ejd.570.2020.12.15.02.06.18; Tue, 15 Dec 2020 02:06:42 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726803AbgLOKDp (ORCPT + 99 others); Tue, 15 Dec 2020 05:03:45 -0500 Received: from mga06.intel.com ([134.134.136.31]:60201 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727775AbgLOKDi (ORCPT ); Tue, 15 Dec 2020 05:03:38 -0500 IronPort-SDR: HNQ4VniQ3OWYdHUvJn0BU0kqUY0k9JtpMYV71u+s5r6LY/G2sLm2MKYEtRGWCd2rckjpUPaHQp tTkzLa446SKw== X-IronPort-AV: E=McAfee;i="6000,8403,9835"; a="236438936" X-IronPort-AV: E=Sophos;i="5.78,420,1599548400"; d="scan'208";a="236438936" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2020 02:02:57 -0800 IronPort-SDR: kf3DdIWK+rgepPVqlwoLtQ75J1eGvlJMSYmVIQN0V1mKdeIzzjEP23WELo20Vjt0tJKCImKhH+ 3em0Hb8jnCow== X-IronPort-AV: E=Sophos;i="5.78,420,1599548400"; d="scan'208";a="368142989" Received: from shuo-intel.sh.intel.com (HELO localhost) ([10.239.154.30]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2020 02:02:53 -0800 Date: Tue, 15 Dec 2020 18:02:51 +0800 From: Shuo A Liu To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, x86@kernel.org, "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Sean Christopherson , Yu Wang , Reinette Chatre , Zhi Wang , Zhenyu Wang Subject: Re: [PATCH v6 06/18] virt: acrn: Introduce VM management interfaces Message-ID: <20201215100251.GO17702@shuo-intel.sh.intel.com> References: <20201201093853.12070-1-shuo.a.liu@intel.com> <20201201093853.12070-7-shuo.a.liu@intel.com> <20201202021429.GL17702@shuo-intel.sh.intel.com> <20201215095259.GN17702@shuo-intel.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 15.Dec'20 at 11:00:57 +0100, Greg Kroah-Hartman wrote: >On Tue, Dec 15, 2020 at 05:52:59PM +0800, Shuo A Liu wrote: >> On Wed 2.Dec'20 at 10:14:29 +0800, Shuo A Liu wrote: >> > On Tue 1.Dec'20 at 11:09:47 +0100, Greg Kroah-Hartman wrote: >> > > On Tue, Dec 01, 2020 at 05:38:41PM +0800, shuo.a.liu@intel.com wrote: >> > > > + vm_param->reserved0 = 0; >> > > > + vm_param->reserved1 = 0; >> > > >> > > NO! >> > > >> > > This means that userspace can put whatever crud they want in those >> > > fields, and you will happily zero it out. Then, when those reserved >> > > fields are wanted to be used in the future, you will take those values >> > > from userspace and accept them as a valid value. But, since userspace >> > > was sending crud before, now you will take that crud and do something >> > > with it. >> > > >> > > TEST IT to verify that it is zero, that way userspace gets it right the >> > > first time, and you don't get it wrong later, as you can not change it >> > > later. >> > >> > OK. Thanks for the elaboration. I will test it and return -EINVAL if >> > it is not zero. >> > >> >> Hi Greg, >> >> Would you like to review other patches in this series on this version? > >Nope, it's the middle of the merge window, I can't do anything with any >new patches until after 5.11-rc1 is out. So I suggest you fix up the >current issues and send a new patch series once 5.11-rc1 is released. Got it, thanks!