Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp646587pxu; Tue, 5 Jan 2021 23:58:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrPsNQ9wheTB1SZrKHy4nFdQpnJXjgZgFo1ilcsYF8wQx6nIkYemdx81KTPDBC1DX3P82z X-Received: by 2002:aa7:d5d6:: with SMTP id d22mr3130780eds.160.1609919885353; Tue, 05 Jan 2021 23:58:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609919885; cv=none; d=google.com; s=arc-20160816; b=qBl3nnVZeIq9tSSBzIYS5tTyf1WGJiX+05CaMSAUL/TmWJRhZebJoZBV/4JJGL1rUd hEETT1VXl7OhUEeCWz2uGqhRsp0CvS/NGvCG+uymJc5dKN6PtOdKJ4gGaZz09A1r65mv vzOxolgpVvR4l3LsrfR3D3W6Fs03ahMOsftl9OJImiQg+45Ere3QCpEc0KG2u+jnVSI6 o1D0tpVocbt/FfEJMSZOIQmEclQf5fkNch80joO1uhptQXaGg7+PiU23CYgoxIMB4Pwr BhHC+QA1xfH1E8CVtWToJWgeh1FCh5BhAvkdxGBj0Uw5v5az6vlGMjwo8sL8E1zJuIfG tVSw== 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=ZQKoOzTaAvv3/yIK/S4Go6RJGdl+8Mp1GLtOvwpRXf0=; b=wvQMq/EyXJbt53dvEyp9XGlJrUj7WY5GCo1sccHGCVOYBWt64sFPSymroU0Ah4TzSR 8gWFePy11w7JTN34libcOmIbXn9xf3J+Osb4LwfHP2znvUZXfdFcG/yyqxiSgjzII+Cy SRq5+y8TA/1X7JOCT1gHPRPB/rFq9tQ/0k0FePqgNAEfy9KywJ1aFDDwOJP4aE+uQi7O 1r7y1S7OEEXUgEMzblldb9ef5KLHJmz+7J3dWxZ8a2OzgpyH+hT1iWcqi1ZQbh9aU47M Qsk1kHLrnnOm67hzgaYZLqzsSJ3Fi9TmbEAq1P7e3FRg6SJlTyx1UOdRBAHtWCXudTuX EwBQ== 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 c1si661626edk.605.2021.01.05.23.57.42; Tue, 05 Jan 2021 23:58:05 -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 S1727027AbhAFH5J (ORCPT + 99 others); Wed, 6 Jan 2021 02:57:09 -0500 Received: from mga01.intel.com ([192.55.52.88]:39976 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727009AbhAFH5J (ORCPT ); Wed, 6 Jan 2021 02:57:09 -0500 IronPort-SDR: 0skZls0VoMwnWwKjdj9ShdZWs0dcrg7yELjV3M1xaLAvVnls6s4QHu3HRtzvLnitTO9qi8opIE wm1kV3xx7PLw== X-IronPort-AV: E=McAfee;i="6000,8403,9855"; a="195789238" X-IronPort-AV: E=Sophos;i="5.78,479,1599548400"; d="scan'208";a="195789238" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2021 23:56:29 -0800 IronPort-SDR: yDHut+n4aefPf78hOogS3Kr6jN0wwWICSct9fIcfEgfZcHpiEKn39qIlyzhyr5UE/2EZQvVCvB IdHDY6xOU/rQ== X-IronPort-AV: E=Sophos;i="5.78,479,1599548400"; d="scan'208";a="395535554" Received: from shuo-intel.sh.intel.com (HELO localhost) ([10.239.154.30]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2021 23:56:25 -0800 Date: Wed, 6 Jan 2021 15:56:23 +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: <20210106075623.GB22447@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> <20201215100251.GO17702@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 5.Jan'21 at 15:03:06 +0100, Greg Kroah-Hartman wrote: >On Tue, Dec 15, 2020 at 06:02:51PM +0800, Shuo A Liu wrote: >> 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! > >Did this ever happen? I don't see a new series anywhere, do you have a >lore.kernel.org link? Just back to work. :) Sent new series already. The link is https://lore.kernel.org/lkml/20210106075055.47226-1-shuo.a.liu@intel.com/ Thanks shuo