From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web10.60.1594830117396677031 for ; Wed, 15 Jul 2020 09:21:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WrztGwZ/; spf=pass (domain: redhat.com, ip: 205.139.110.120, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594830116; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dqQfbvK0HzSEEAE3gUf4K5ymfV7jlGsgCtodnqSKbVo=; b=WrztGwZ/FC1wsc57uvSi5UzCSoDW9bEfqixBmw2ZDgspDmy35sN4ssKeTmAd/e3+F605na vePvPCk5175jYmnBPjMRCoBkS1sJhx9grVncyohBtsaD5rtAXFNjA1tmvaJJ/1ktr6CzJn rnZ5KfGknIik1rHFc8NxlKmiWkeKeAs= 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-34-f3hoGtUWMh61cB-YAHpO-g-1; Wed, 15 Jul 2020 12:21:54 -0400 X-MC-Unique: f3hoGtUWMh61cB-YAHpO-g-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6396A809E05; Wed, 15 Jul 2020 16:21:52 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-3.ams2.redhat.com [10.36.114.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id 85C8860BF4; Wed, 15 Jul 2020 16:21:50 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH v10 23/46] OvmfPkg/VmgExitLib: Add support for RDTSCP NAE events To: devel@edk2.groups.io, thomas.lendacky@amd.com Cc: Brijesh Singh , Ard Biesheuvel , Eric Dong , Jordan Justen , Liming Gao , Michael D Kinney , Ray Ni References: <932ba54006096fe3ccd61279fb290fa2c20db3ca.1594736896.git.thomas.lendacky@amd.com> From: "Laszlo Ersek" Message-ID: <6dcdb6a9-3fea-303f-950d-6b732463e007@redhat.com> Date: Wed, 15 Jul 2020 18:21:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <932ba54006096fe3ccd61279fb290fa2c20db3ca.1594736896.git.thomas.lendacky@amd.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 07/14/20 16:27, Lendacky, Thomas wrote: > From: Tom Lendacky > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 > > Under SEV-ES, a RDTSCP intercept generates a #VC exception. VMGEXIT must be > used to allow the hypervisor to handle this intercept. > > Cc: Jordan Justen > Cc: Laszlo Ersek > Cc: Ard Biesheuvel > Acked-by: Laszlo Ersek > Signed-off-by: Tom Lendacky > --- > OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c | 47 +++++++++++++++++++ > 1 file changed, 47 insertions(+) Thanks for the comment style fix, my ACK stands. Laszlo