Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp373855lqs; Thu, 13 Jun 2024 12:31:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXl3tu78Rz5qt8pN/DBWRmSjGr+FnWkKfkTPKWoyMVj7gX6K5S/LS+oeoCpFVrwU1CkAhy8AKIIAlAr2OQ6VEwxW9vFpsjLT1ps47Q9cA== X-Google-Smtp-Source: AGHT+IG9lJEdhAFWSu2bqkhcI6A8Ihl8JsCySIiR4a1Qb/OJpibLcbJhHzCPgS4W2XRiAM+9nzPH X-Received: by 2002:a05:6e02:1d0f:b0:375:d832:fa2f with SMTP id e9e14a558f8ab-375e0e5963bmr5163825ab.21.1718307072222; Thu, 13 Jun 2024 12:31:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718307072; cv=pass; d=google.com; s=arc-20160816; b=bo602b0zUZaF7itIObXSlPTyVBbDZQhgLMnKbUNj3XK8lVWO/Px1oq6S/9dMJ0EToh 2U0snGKCFUI4BNYORPnLXHwJ29/31seyuly0Uyt4l0qP+wUhR4bDJF1q2Huohs/3bJ9t pg5vUmQfJxgchloilYwHM6MZs3BuAPhsufT6LJujLimcQ9OE5iMdavBMzj4khGwM/Jia +71cZeamdHDWB5pgCS/dgP5TR1NQAn/5ORLhmr8cvaGjB0OuJq3QoxNdiGHcJL+Rq3JQ 4s/6k59LUwKul6m8316Ng6L902s7+tQoX4UoW4HjKYUgqKeW3HPaCFIvOg2l5niZ7pke lBKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Y2T99o2a/TaV4fzv62WaEty4y6EzpA0YkXeldKL2GHA=; fh=1gj+3WRdJGfji1DehscM1kSehUhuLBd/R40mSBhO+KU=; b=EFrJ4BcY1hp72SZUkFwpkBG3I1VsAw1Qmb3nne37YwfbN39w25nijTAKrlPpuPDb/W RaZh3wydo1HFeQvdrByzKxJKsFYi/IWPARf9+MvrdkSXLr2Tr2t15O0IyHniZsWfzb3U LUmsOAjAf40ETmA0Ar8pV9lF1pYvcUZuprjeETHwnp7R6e5gSknvX9vXVHr0Kux+XSbY jvclxtOhc9f/Yl3DpWK0Jum0qn+h6vMoK+nV63F7WCG+wQjxBBGwKaT9hQYjGnePghaV cOI5T5FII5ViqLEs6pWJiJe2s8ECKFrC2NERe7p7l29q5PQI68yuHoD1OzSXCzgPnVy1 Yy7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=EQGF5ZXc; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-213922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213922-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fedd4f40b4si1882155a12.25.2024.06.13.12.31.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 12:31:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=EQGF5ZXc; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-213922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213922-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6D177288C2C for ; Thu, 13 Jun 2024 19:29:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A05F214D2A0; Thu, 13 Jun 2024 19:28:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="EQGF5ZXc" Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47516149E0A for ; Thu, 13 Jun 2024 19:28:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718306932; cv=none; b=pEj71nZ8Jd1ZGYBtiiFZj/W2tlbdhdeKqqMcK/o2Qccm+mnaL2mTXd42LpTIkuZbNd5LOclTtz01rKesBGfX5tyAl265BiNrVtZdEyve6UwqtvokCn6fBJ4SLUYSIjFa9NsbmwHz2+iAplnJryOCtxIUfu8c5yWh7Ew7YQw+uGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718306932; c=relaxed/simple; bh=6wKy9PT/NktJoBzOitFFb6HPMmfgKy7I4AZPdskERR4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=GnACfnGpy/PIJYGS94P1cqNE2pquVP6Ykju9nsbeHKxoyNCHlAboy7Hvrq95xZQwJBL8AI+aQdf0F7hqPaOWIwLM6FQJkEYI7qkeUN2VjXqvmD7oMQi9NlY0ARpRje2Npx2v3s/2TPu/fYejYFmAqFMIE6rw9jUgvyVs3rxwI/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=EQGF5ZXc; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-422954bbe29so13925e9.1 for ; Thu, 13 Jun 2024 12:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1718306929; x=1718911729; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Y2T99o2a/TaV4fzv62WaEty4y6EzpA0YkXeldKL2GHA=; b=EQGF5ZXctcWXgHWYLmaP2c2xpSy7lqS3Tuks1SARxqT8WgRv4WyeDuZiSU+ujmsV+r lUM8NCmzWiwyt6bEcBao/CCpqh7+WJcwvC39ALNcBSgwYk3MRAMqwYpFINHQRdvmkt1R gqqwBsYiDsU3mv+NlUInPcYBZWQ3XK1WMsJIjPqYiTuU6+JiA+vD6DkuLXwMgQpCzTym 7jexcNWYTrk/U/A9C4RDpKLx6B/oXYm2Q+80lWjYUOuWEXKmZL0dRB3Fl2hb++ZTNL2q 65k60ZtjK6A8TNVDdeYwnKlHEdTuL1neKXbV9PO4edQBYSC0mEFubKb8eyHwFMoW16xr Nkeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718306929; x=1718911729; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y2T99o2a/TaV4fzv62WaEty4y6EzpA0YkXeldKL2GHA=; b=vw5l4UmM/mOIOQlGdS+CJc5ClGMdbU1/AqJta9TcUmr/50NZKnYsb6czzKm2mtgizi M0fC1kY+RMNN71qnatXQCjN5cQLgkQ78T4bM7Nfg4bcMnQ2Ker3O2ZGygq5qx2DDmbvj k1+s4XEOOcOyGdJ1BFC1BLdgoL5GyVMsOOWihzwCl83yUokrReoWKFWPAPESflU6IrfY csgj4Pnfd5OwE0ilwV4x+gzqdJLQRsZy0D7RZUgZTIlpuASmD4dtwoA+SFGnC22aZISz GfrI6hHQ9idXFglFlCRMvTq905TCQgnP3SaQLrpkriahYPl+Il4bMEEOll4MoXPTm1fq CMUg== X-Forwarded-Encrypted: i=1; AJvYcCXvYYZgsL4Q8ZFvJhCqRYH0bzEz0LHe4wJTyIWsIv8OVfzq7pmvdnbqCYP2KzEhpxJEg4EI4Hge7DNIJtUtFoP2kd0UXX/7GPiG7ftU X-Gm-Message-State: AOJu0Yw88JLSFed93GiFYnl4ai0uZsxwT7yQ5TPlBZcLf1T0KyoFBUKU JxMSDS9/C0pPzVRo3OjO+c0dnWt/9UkiFuGS6uhKMosxAr8r/SSnWYc4s6qM9gWd9gsE297yTLi Xp1B3GCf1OI6Q4A4G0bBHNNNNAeRtdOWSvKHL X-Received: by 2002:a05:600c:3d07:b0:422:ffac:f8c0 with SMTP id 5b1f17b1804b1-423053880abmr198785e9.7.1718306929423; Thu, 13 Jun 2024 12:28:49 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240613190103.1054877-1-seanjc@google.com> In-Reply-To: <20240613190103.1054877-1-seanjc@google.com> From: Jim Mattson Date: Thu, 13 Jun 2024 12:28:32 -0700 Message-ID: Subject: Re: [PATCH] KVM: nVMX: Update VMCS12_REVISION comment to state it should never change To: Sean Christopherson Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 13, 2024 at 12:01=E2=80=AFPM Sean Christopherson wrote: > > Rewrite the comment above VMCS12_REVISION to unequivocally state that the > ID must never change. KVM_{G,S}ET_NESTED_STATE have been officially > supported for some time now, i.e. changing VMCS12_REVISION would break > userspace. > > Opportunistically add a blurb to the CHECK_OFFSET() comment to make it > explicitly clear that new fields are allowed, i.e. that the restriction > on the layout is all about backwards compatibility. > > No functional change intended. > > Cc: Jim Mattson > Signed-off-by: Sean Christopherson Reviewed-by: Jim Mattson