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.web11.9882.1591102446910977583 for ; Tue, 02 Jun 2020 05:54:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UpX9OxkR; 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=1591102446; 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=6RTFes9T65DjBOfh7K0Ed0aaVV7rFo7WqXKQnEJA3qw=; b=UpX9OxkRdJRtYmjZDD3fnRKC1ZhfGSne3e6q7HKj5f7vM+UyXR40cWgVFY82/qa3EJ7ny1 Nr5cty/HofaAwsEjJHZkgU2alFLEUPW4AsMcYU398Rm5tjw6JY2IsDOInmqSaHGjscfgNd CyqHrkh/iVKSXGPqaSAIH0us92nJHTQ= 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-2-L4fQzyQxNLyVZvH52bh4wQ-1; Tue, 02 Jun 2020 08:53:55 -0400 X-MC-Unique: L4fQzyQxNLyVZvH52bh4wQ-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 38FE71800D42; Tue, 2 Jun 2020 12:53:54 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-115-66.ams2.redhat.com [10.36.115.66]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2E9157E7E6; Tue, 2 Jun 2020 12:53:52 +0000 (UTC) Subject: Re: [PATCH] UefiCpuPkg/SecCore: Add pre-memory AP vector To: Deric Cole , devel@edk2.groups.io Cc: Eric Dong , Ray Ni References: <20200601223225.1925-1-deric.cole@intel.com> From: "Laszlo Ersek" Message-ID: <0c7ebc21-c32a-e25b-83f6-b85c01b0b7fa@redhat.com> Date: Tue, 2 Jun 2020 14:53:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200601223225.1925-1-deric.cole@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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 06/02/20 00:32, Deric Cole wrote: > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2776 > > Add a vector at 0xFF000 (0xFFFFF000) that can be used by Init-SIPI-SIPI > to start an AP before memory is initialized. This vector jumps into the > same SEC entry point as the ordinary reset vector, with a special value > of "AP" in the DI register. The platform-specific SEC code is expected > to check for that value and take a different path for APs, if this > feature is supported by the platform. > > Cc: Eric Dong > Cc: Ray Ni > Cc: Laszlo Ersek > Signed-off-by: Deric Cole > --- > UefiCpuPkg/SecCore/Ia32/ResetVec.nasmb | 31 ++++++++++++++++++++++++------- > 1 file changed, 24 insertions(+), 7 deletions(-) I'll let Ray and Eric review this. Thanks Laszlo