Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10783324rwl; Thu, 12 Jan 2023 02:28:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXvQXEQRMxjgZU2TNUzmNz2ECEIRBexd2+l0wQvo0kqYgua7UfoqdWxbXOhVPZeg8+KWAwWz X-Received: by 2002:a17:906:bc47:b0:78d:f455:3110 with SMTP id s7-20020a170906bc4700b0078df4553110mr58487399ejv.56.1673519297935; Thu, 12 Jan 2023 02:28:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673519297; cv=none; d=google.com; s=arc-20160816; b=fLpks1bd9N5iFs68veopHY0XG2fjsdCt2CzlUzq/L3vXH/lPwO6qfG0VTFuaJFRx0t uvyYhT6TA8Tb2ymmgD3qTyGT0Cv62+Bk9ICNgTXwJh/W6d/0LR7xbIhAXL8EGIFYcrfp Itnh/oraZL6xPSFHUB2DVEPneUTZ2+FNdieM93VP3GOaXD/VDwqJRM2Z6GC6gqTiaIDq Livnmg809jLWSJTw1YoBl3UPTFcIwl4CD554PRmggEsEUFaX2HctLncpylZaeO77HYeJ JRFhkEZHo5pAi5TDYAOf/RPYg5mNm0ZY6EUI3ovGyLFJqHtoL/lLczKJ3/dXZFYFiQAA HGkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=K1EFqW7HeP+7knanKylKz0eGOiJYO9LEBkPWFxlpUvc=; b=abmNM32M60iUpz6MVnxbThQQDHznfHLsnW4sdMCtqCoG5JbV4rlY9HwTON+MphLrlF U6Q1q+JIUVd/niwpila4kWXNuR+H1JEH27x4XACZslmPGTBgA3HNcd6Ot2U+1tGifoZ2 q/02AbXjDpga6cqemC8VGVjWf8hcUbAsWUWPJ9RlkdRngwBUE9lwBbrryD0JS6QYhQXd NrY3L5m2miemrP4+tVq8YqnJQmvMko41NiOVOteaXc6FOFDrlEEan/HiYVMff4kEv5XF YXxWJtzQ6hJA98LRFNG730Fnr/XvSE56ijVSenGQOIxl2j/LG1YBmJyWAsDd5HMuy7Kr gBIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UezXzceV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs14-20020a170906dc8e00b00863bde89120si2456175ejc.128.2023.01.12.02.28.05; Thu, 12 Jan 2023 02:28:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UezXzceV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbjALKQs (ORCPT + 49 others); Thu, 12 Jan 2023 05:16:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231814AbjALKO6 (ORCPT ); Thu, 12 Jan 2023 05:14:58 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30C502640 for ; Thu, 12 Jan 2023 02:14:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673518459; x=1705054459; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7DqRv8Yg6e6tLhs+ztrt2ocPkjLI6upwYnCAtIxC5R0=; b=UezXzceVkzK0H9uIP7Y+sdMryiFv7xGFoZktq1stbnNYGm1bPMcqVp7B dX/pclL6S64XOEVXSaVd2A4GWLcmfM/1kb/d5MHUJE6JITtwGEu4RNaxS FlD1/mPk71/rlORQw66iWkBDq7Jtfhx9AcaUsNCgRqXnlNqg8P+IOFT+J LXfQenv8fUWqiODC5X4Bq7E+iA0HqW7OzRcTXTeXrVjJPtFlibYKdS251 cyz5PU4Kn/fEAVv5EDIpOGWhCD7A0xiRp6yqGGSk/si7dcjYYoNoMSTiV CygjV9zj2TvKyRi4amKcFvi9HD7LYrUpeu1opTGfA0o1bTLKDOvw4Yfcx w==; X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="350892143" X-IronPort-AV: E=Sophos;i="5.96,319,1665471600"; d="scan'208";a="350892143" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 02:14:18 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="659722887" X-IronPort-AV: E=Sophos;i="5.96,319,1665471600"; d="scan'208";a="659722887" Received: from glieseu-mobl.ger.corp.intel.com (HELO box.shutemov.name) ([10.252.52.1]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 02:14:16 -0800 Received: by box.shutemov.name (Postfix, from userid 1000) id 7CD2F109AF1; Thu, 12 Jan 2023 13:14:13 +0300 (+03) From: "Kirill A. Shutemov" To: Dave Hansen , Borislav Petkov , Andy Lutomirski Cc: Kuppuswamy Sathyanarayanan , Thomas Gleixner , Elena Reshetova , x86@kernel.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCHv2 1/7] x86/tdx: Fix typo in comment in __tdx_hypercall() Date: Thu, 12 Jan 2023 13:14:01 +0300 Message-Id: <20230112101407.24327-2-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.38.2 In-Reply-To: <20230112101407.24327-1-kirill.shutemov@linux.intel.com> References: <20230112101407.24327-1-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Comment in __tdx_hypercall() points that RAX==0 indicates TDVMCALL failure which is opposite of the truth: RAX==0 is success. Fix the comment. No functional changes. Signed-off-by: Kirill A. Shutemov --- arch/x86/coco/tdx/tdcall.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/coco/tdx/tdcall.S b/arch/x86/coco/tdx/tdcall.S index f9eb1134f22d..74b108e94a0d 100644 --- a/arch/x86/coco/tdx/tdcall.S +++ b/arch/x86/coco/tdx/tdcall.S @@ -155,7 +155,7 @@ SYM_FUNC_START(__tdx_hypercall) tdcall /* - * RAX==0 indicates a failure of the TDVMCALL mechanism itself and that + * RAX!=0 indicates a failure of the TDVMCALL mechanism itself and that * something has gone horribly wrong with the TDX module. * * The return status of the hypercall operation is in a separate -- 2.38.2