Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp90211pxu; Tue, 5 Jan 2021 06:03:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8VaglixZtn2LhCaulHCi7QdluT6YUeKeIXm9vbqbiLCotvBgfQTXR+dxBYqiZBNBsWsZd X-Received: by 2002:a17:906:34ca:: with SMTP id h10mr71572994ejb.417.1609855430009; Tue, 05 Jan 2021 06:03:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609855430; cv=none; d=google.com; s=arc-20160816; b=zxIU2i0u0sXlO09gOhN80zzInsX8e6+zN9J09EOma6WDJaLWjdlHU+aSN5Jv9JDkoD Prq1UKySEnFzq/XmI/dW2tgH3SuRLG7H+hY50YQZZiSWLeRbwXWgqxvY/C7LBWe0CFRt J3NfHYKyYfa9yH4toicECfr4ELkdYtoQJxdMkeZiu2vBluXptx0dhkS8qSL9VBvU++au qdCNqAgiIhGnVBYMiV1EyvuZCYvTYuMWUl99hd2I8xSI5kf5Gvx4aUoN/sAarZjMO3I1 FRsW3dCrucXevveAwHp9tkDy1ldNgmo/6sQrlruB45nf+RzNfPT4U0d05mjJpPV4y2vn LuTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2c+PJj+hy6sgQIEev+o4wmAkl4fK3Itd/KY5Hswpz+U=; b=Vmb9dnjLotPPHqxzEmcyI4i+Fu67OunZhF2MqnfKdiADCYLy4fSOUQg6mLsEtW2NXZ VsEkoI9Qhtj+043pw9wdyeOBc6a1mrEAmtU3QffKNWdqSgx9SPWhkd+15wDwauxMCgUh cQnDF5D5qQbfXFxnkCHn439jEEeq+XExldlvpFQPuNsw010U7GxikxIL1Ch9BC/bPJEo BrtHHwnI1fx0inM1BNCEFB0pg9Nf1YpYxGZ0KZNq/5ua60Qw+hDK0Ckyjk+dSDhPG2Hr 0FJkZndA3hoeBDwlOtwQbOwzspQP4H8RtTvlXCLk2OKQDSGmdTk5+Pu60LBdOs9DKG0R f6sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MkOfTcGF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d16si31779969edp.251.2021.01.05.06.03.26; Tue, 05 Jan 2021 06:03:50 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MkOfTcGF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726685AbhAEOCW (ORCPT + 99 others); Tue, 5 Jan 2021 09:02:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:42354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbhAEOCW (ORCPT ); Tue, 5 Jan 2021 09:02:22 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 55147229C4; Tue, 5 Jan 2021 14:01:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609855301; bh=PM5wrcMEunK0G/E2FyW9no08DKJewnE04A+cpLTvhkU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MkOfTcGFApGPMZAkYfQ/5jXCWo6mvXbgeXa5h3Ya231AOl2cG9BUqqzncjb+7tTLB RwRVzp4YdagYZpeOY65Nisuf5eepxIduu0MDdij20KDWaBlabIurChE1f+axpZGa2Z oQu2zjz3SPuWwVvBCUgdgZdcCLbDPFDpqhubpTuU= Date: Tue, 5 Jan 2021 15:03:06 +0100 From: Greg Kroah-Hartman To: Shuo A Liu 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: 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 Content-Disposition: inline In-Reply-To: <20201215100251.GO17702@shuo-intel.sh.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? thanks, greg k-h