From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.11924.1634034704944439578 for ; Tue, 12 Oct 2021 03:31:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gvrs7bOF; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634034704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=B0YRZx+fqHOnV/APl3JOXMuwPAt0JBgkMITXWwJibx0=; b=gvrs7bOFCWYMfUPOb8eJR/ZJkDZ5AGGtm5d88FX58WJc0/Cot60RsjV/IVJZb4z+6hWQIE taHGiw6ufMhZhXyRYPJZOPHsjPzlxUfapzmMdjLpySIHVcrscl9bJZAwsR29vyrrxf+6A/ Ges9MimidYY7pOs8ZPaeIVvDZsP7UQs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-562-VQMdpfCoMYmTOXFGo8d0Ow-1; Tue, 12 Oct 2021 06:31:42 -0400 X-MC-Unique: VQMdpfCoMYmTOXFGo8d0Ow-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 62B8750750; Tue, 12 Oct 2021 10:31:41 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 248BA19E7E; Tue, 12 Oct 2021 10:31:41 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 5C219180060E; Tue, 12 Oct 2021 12:31:39 +0200 (CEST) Date: Tue, 12 Oct 2021 12:31:39 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, min.m.xu@intel.com Cc: Brijesh Singh , Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky , Eric Dong , Ray Ni , Rahul Kumar Subject: Re: [edk2-devel] [PATCH V2 13/28] UefiCpuPkg: Enable Tdx support in MpInitLib Message-ID: <20211012103139.4xkxi6p6jlkjo2wo@sirius.home.kraxel.org> References: <80403cd301cc6f0e88bc1c10e11ec262c1093cbf.1633401643.git.min.m.xu@intel.com> MIME-Version: 1.0 In-Reply-To: <80403cd301cc6f0e88bc1c10e11ec262c1093cbf.1633401643.git.min.m.xu@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > + do { > + AsmCpuid (0, &LargestEax, &Ebx, &Ecx, &Edx); Again: this should use PCD. take care, Gerd