public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ni, Ray" <ray.ni@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"Liu, Zhiguang" <zhiguang.liu@intel.com>
Cc: "Dong, Eric" <eric.dong@intel.com>,
	"Kumar, Rahul R" <rahul.r.kumar@intel.com>,
	Leif Lindholm <quic_llindhol@quicinc.com>,
	"Bi, Dandan" <dandan.bi@intel.com>,
	"Gao, Liming" <gaoliming@byosoft.com.cn>,
	"Wang, Jian J" <jian.j.wang@intel.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Sami Mujawar <sami.mujawar@arm.com>
Subject: Re: [edk2-devel] [PATCH v3 0/3] Simplify InitializeSeparateExceptionStacks
Date: Tue, 9 Aug 2022 03:14:08 +0000	[thread overview]
Message-ID: <MWHPR11MB16315278EFD642F394D3ACF68C629@MWHPR11MB1631.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220809012537.1513-1-zhiguang.liu@intel.com>

Reviewed-by: Ray Ni <ray.ni@intel.com>

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> Zhiguang Liu
> Sent: Tuesday, August 9, 2022 9:26 AM
> To: devel@edk2.groups.io
> Cc: Liu, Zhiguang <zhiguang.liu@intel.com>; Dong, Eric
> <eric.dong@intel.com>; Ni, Ray <ray.ni@intel.com>; Kumar, Rahul R
> <rahul.r.kumar@intel.com>; Leif Lindholm <quic_llindhol@quicinc.com>; Bi,
> Dandan <dandan.bi@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>;
> Wang, Jian J <jian.j.wang@intel.com>; Ard Biesheuvel
> <ardb+tianocore@kernel.org>; Sami Mujawar <sami.mujawar@arm.com>
> Subject: [edk2-devel] [PATCH v3 0/3] Simplify
> InitializeSeparateExceptionStacks
> 
> The patch set is to hide the exception implementation details,
> so that caller don't need to know anything about IDT when separate stack
> for it. However, this patch set changes a library API, so I have to
> change multiple packages inside one patch. Otherwise, I can make sure
> every single commit can build and boot fine. If anyone has good idea to
> separate the first big patch, please tell me. Thanks in advance.
> 
> V2:
> Add another patch to Simplify the CPU_EXCEPTION_INIT_DATA definition
> Keep the memory layout picture in CpuExceptionHandlerLib.
> Fix some code and comment issue according to Ray's comment
> 
> V3:
> Change the code behavior when the needed size is zero: skip instead of
> assert
> Fix the bug that treating the TSS as part of GDT
> Reorder the modification in the patch set.
> Code can be seen at https://github.com/tianocore/edk2/pull/3124
> 
> Cc: Eric Dong <eric.dong@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Rahul Kumar <rahul1.kumar@intel.com>
> Cc: Leif Lindholm <quic_llindhol@quicinc.com>
> Cc: Dandan Bi <dandan.bi@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Sami Mujawar <sami.mujawar@arm.com>
> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
> 
> Zhiguang Liu (3):
>   UefiCpuPkg: Simplify InitializeSeparateExceptionStacks
>   MdeModulePkg: Move CPU_EXCEPTION_INIT_DATA to UefiCpuPkg
>   UefiCpuPkg: Simplify the struct definition of CPU_EXCEPTION_INIT_DATA
> 
>  .../Library/ArmExceptionLib/ArmExceptionLib.c |  15 +-
>  MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c       |   4 +-
>  .../Include/Library/CpuExceptionHandlerLib.h  |  82 +-------
>  .../CpuExceptionHandlerLibNull.c              |  15 +-
>  UefiCpuPkg/CpuDxe/CpuMp.c                     | 162 ++++------------
>  UefiCpuPkg/CpuMpPei/CpuMpPei.c                | 176 ++++--------------
>  .../CpuExceptionCommon.h                      |  57 +++++-
>  .../CpuExceptionHandlerLib/DxeException.c     | 112 ++++++++---
>  .../Ia32/ArchExceptionHandler.c               |  71 ++++---
>  .../CpuExceptionHandlerLib/PeiCpuException.c  |  94 +++++++++-
>  .../PeiCpuExceptionHandlerLib.inf             |   4 +-
>  .../SecPeiCpuException.c                      |  15 +-
>  .../CpuExceptionHandlerLib/SmmException.c     |  15 +-
>  .../X64/ArchExceptionHandler.c                |  67 ++++---
>  14 files changed, 411 insertions(+), 478 deletions(-)
> 
> --
> 2.31.1.windows.1
> 
> 
> 
> 
> 


      parent reply	other threads:[~2022-08-09  3:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09  1:25 [PATCH v3 0/3] Simplify InitializeSeparateExceptionStacks Zhiguang Liu
2022-08-09  1:25 ` [PATCH v3 1/3] UefiCpuPkg: " Zhiguang Liu
2022-08-09  1:25 ` [PATCH v3 2/3] MdeModulePkg: Move CPU_EXCEPTION_INIT_DATA to UefiCpuPkg Zhiguang Liu
2022-08-09  1:25 ` [PATCH v3 3/3] UefiCpuPkg: Simplify the struct definition of CPU_EXCEPTION_INIT_DATA Zhiguang Liu
2022-08-09  3:14 ` Ni, Ray [this message]

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=MWHPR11MB16315278EFD642F394D3ACF68C629@MWHPR11MB1631.namprd11.prod.outlook.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