Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1218718lqt; Tue, 19 Mar 2024 17:22:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUz6lMtoPu4RYZzDvLzzm0kLO/F2dv2X6FLgxr+4SwQpiUFLgzD+Dc67npux59azgD8HNuLpAKJR63RZy6kYQyTJBl3pN7m2N276md09w== X-Google-Smtp-Source: AGHT+IHzk2Etc5och6L2nTUeoluB7Ye12iKwXz7psEDCWXcrJ1WeA6sApp/74Fwi0SLSZA8Fr7bQ X-Received: by 2002:ac8:590c:0:b0:42e:f6dc:bc7d with SMTP id 12-20020ac8590c000000b0042ef6dcbc7dmr22541858qty.65.1710894156926; Tue, 19 Mar 2024 17:22:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710894156; cv=pass; d=google.com; s=arc-20160816; b=Ha8JSVaDOYZPoHS23eFGsyvV1oRahsh1LKFcw03GGIXmfXYfruu2D/rG8gYXRTbQgD J53mg0/vWJO7/ddiH8egcUN31ztxJzWgTs/ThH46yAgjRh9IYM0ip/ML1VAWAE9a7V+l vLn+pTacQnClapZMJCawc6fo8PTyRAHzUop0IwoDXTmKIZ4vLGxXGsqeIQr82pv1pe4i p64tIbZcfndPEYhhY217WAGBp3Es9mxixxpr3a2w5zrYdEmVcBkQQGlUr3/P8KL0uIIQ 0KUHad+bZhdoG/Mu9N+hSchHDfnYBVsAhJXW+Pp6RQxF5270y6QyPMexynU4iBvAhI5y mv5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KO6vMS3y83VMZnws2QuHJEFrkbQdScP4IJ+fk+0PhbA=; fh=WsHjRWpMfU+6qe66gu1wWWw/B8U3m8BKojzfN9plUQc=; b=dgLCGx2XFIU6TULu5ZHQKQya132VbOiUaK6HQNVUIPWXDaSNI2ulsvPSfzLECmgDnK 4obziRYlDJkpfTfAh4Q7O1EFYWX1vNzxzjU+AyRGyUn/SY6fQITEgBVhdWJgGtIzLJOZ cIcvGvYL2I1kyx2Nr+LVP7sBJCuQg7Bx7C6KHzKDf63OufuNjS2Y8I6mcXbvKE5lpWfm ceXTafP8QsxENFHsMySIlmcaGLGAZJWIO10xxaJySRmua6sGtg960/Q2UrM1hXdscGfK 9FF4WVIvW1O/4MWwU7GrCAFZUdejZjgARFosjt3Ra+UtgDdILrp22yIYHoncTyWrrt7c ZO2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jUf3Yv0M; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-108264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z7-20020a05622a028700b00430e028dae4si3629702qtw.379.2024.03.19.17.22.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 17:22:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jUf3Yv0M; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-108264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A505E1C22512 for ; Wed, 20 Mar 2024 00:22:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 047C179C2; Wed, 20 Mar 2024 00:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jUf3Yv0M" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA3DD747F for ; Wed, 20 Mar 2024 00:22:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710894151; cv=none; b=gmjgYljaL8Wy/VQ0+pNTc4CSBIAXUDD1A5RmqeGR+ZtiPREAW1HJuGH6kqq5NQGL4DN1BljZLKuKjjMmhbjzagHK/B5FALMECnjhprtklQUd1SEyK2ZifHqdQlEO2EXtN27kMzXsBZQeX66JpePKiE+ddCL+fYZrRZEzsNzr53k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710894151; c=relaxed/simple; bh=OQ2zoF0NkLdYuN00535nmlIn30QQ6dlbSE3CedNUijE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Hy+G6pl9YADgr5DBI37w46oNkZFHYSr0oE8f7399zv6MVqykqbikDWDGHHHODFO8guTI40CJLWOl57AhDvjedhEPz4YDYokhkT8WrzxPHz5Mi6LE+ekAaLutRNu0AuuIDd4E32iwFjZro9VMnbV5bcttxUekvqTm/53/WDEhlYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=jUf3Yv0M; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710894150; x=1742430150; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OQ2zoF0NkLdYuN00535nmlIn30QQ6dlbSE3CedNUijE=; b=jUf3Yv0M5KlCVpXSDLCqfW146ReRt4ln3SMSbR+fnX7SqB6ysd0rczYn IPL1AM3vtEpLJrsUKTpraC/oyQCVLpWdg4U2RBjPWVNXp/Izu/b1v3bi2 wAiOICOlNdgq1Usxyjq/FP0smz93BOEw64CdRPztpiT0YkGlDGQx2g1Nw jYfYMSTNXjI0ht62QJCEDVeLYX9dI7c9bUiJcg8hMx6cHYW4ot0kxNGS9 cCBEhMOv3iQ3hIVWd4Ja9aVwv1laumCeUyumFpL+HNNFVKPG0PTDY5UNT 2DhfHVH5RHkkk8vOHZ8xkwBlvO2HJg9nAfThLVTle1S04i9h0SLxDFMyN g==; X-IronPort-AV: E=McAfee;i="6600,9927,11018"; a="17202674" X-IronPort-AV: E=Sophos;i="6.07,138,1708416000"; d="scan'208";a="17202674" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2024 17:22:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11018"; a="937062666" X-IronPort-AV: E=Sophos;i="6.07,138,1708416000"; d="scan'208";a="937062666" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 19 Mar 2024 17:22:26 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 8F63F7F1; Wed, 20 Mar 2024 02:22:25 +0200 (EET) Date: Wed, 20 Mar 2024 02:22:25 +0200 From: "Kirill A. Shutemov" To: Kai Huang Cc: linux-kernel@vger.kernel.org, x86@kernel.org, dave.hansen@intel.com, bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, peterz@infradead.org, thomas.lendacky@amd.com Subject: Re: [PATCH] x86/coco: Update comment of CC_ATTR_GUEST_MEM_ENCRYPT to include TDX guest Message-ID: References: <20240319213729.81708-1-kai.huang@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240319213729.81708-1-kai.huang@intel.com> On Tue, Mar 19, 2024 at 09:37:29PM +0000, Kai Huang wrote: > TDX guest also reports CC_ATTR_GUEST_STATE_ENCRYPT as true, but the > comment of this attribute does not reflect this. > > Update the comment to reflect the fact. > > Signed-off-by: Kai Huang Acked-by: Kiriil A. Shutemov Alternatively, we can just drop all these "Examples include ...". The same info can easily can be derived from code. -- Kiryl Shutsemau / Kirill A. Shutemov