public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Laszlo Ersek" <lersek@redhat.com>
To: Siyuan Fu <siyuan.fu@intel.com>, devel@edk2.groups.io
Cc: Eric Dong <eric.dong@intel.com>, Ray Ni <ray.ni@intel.com>
Subject: Re: [Patch 1/2] UefiCpuPkg: Remove FIT based microcode shadow logic from MpInitLib.
Date: Mon, 10 Feb 2020 16:54:33 +0100	[thread overview]
Message-ID: <c4bbcaa0-5cf6-be86-8d06-b1858c03b96d@redhat.com> (raw)
In-Reply-To: <20200210105849.30472-2-siyuan.fu@intel.com>

On 02/10/20 11:58, Siyuan Fu wrote:
> Commit c7c964b and dd01704 add header file for FIT table and update
> MpInitLib to support FIT based microcode shadow operation. There are
> comments that FIT is Intel specific specification instead of industry
> standard, which should not be placed in EDK2 MdePkg and UefiCpuPkg.
> So this patch adds a platform PPI for the microcode shadow logic, and
> remove the FIT related code from EDK2.
> The FIT based microcode shadow support will be implemented as a new
> platform PEIM in IntelSiliconPkg in edk2-platforms.
> 
> A detailed design doc can be found here:
> https://edk2.groups.io/g/devel/files/Designs/2020/0214/Support%20
> the%202nd%20Microcode%20FV%20Flash%20Region.pdf
> 
> TEST: Tested on FIT enabled platform.
> BZ: https://tianocore.acgmultimedia.com/show_bug.cgi?id=2449
> 
> Cc: Eric Dong <eric.dong@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Signed-off-by: Siyuan Fu <siyuan.fu@intel.com>
> ---
>  UefiCpuPkg/Include/Ppi/ShadowMicrocode.h      |  66 +++++++++++
>  UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf |   1 -
>  UefiCpuPkg/Library/MpInitLib/DxeMpLib.c       |  21 +++-
>  UefiCpuPkg/Library/MpInitLib/Microcode.c      | 105 +-----------------
>  UefiCpuPkg/Library/MpInitLib/MpLib.h          |  19 +++-
>  UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf |   4 +-
>  UefiCpuPkg/Library/MpInitLib/PeiMpLib.c       |  70 +++++++++++-
>  UefiCpuPkg/UefiCpuPkg.dec                     |  11 +-
>  8 files changed, 179 insertions(+), 118 deletions(-)
>  create mode 100644 UefiCpuPkg/Include/Ppi/ShadowMicrocode.h

(1) Please don't forget to update "UefiCpuPkg/UefiCpuPkg.uni" as well.

With that addressed:

Acked-by: Laszlo Ersek <lersek@redhat.com>

Thanks
Laszlo


  reply	other threads:[~2020-02-10 15:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10 10:58 [Patch 0/2] Move FIT based microcode shadow to platform PEIM Siyuan, Fu
2020-02-10 10:58 ` [Patch 1/2] UefiCpuPkg: Remove FIT based microcode shadow logic from MpInitLib Siyuan, Fu
2020-02-10 15:54   ` Laszlo Ersek [this message]
2020-02-11 11:20   ` Ni, Ray
2020-02-11 11:23     ` Ni, Ray
2020-02-11 13:51       ` Siyuan, Fu
2020-02-10 10:58 ` [Patch 2/2] MdePkg: Remove FIT table industry standard header file Siyuan, Fu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4bbcaa0-5cf6-be86-8d06-b1858c03b96d@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox