From: "Gao, Liming" <liming.gao@intel.com>
To: "Yao, Jiewen" <jiewen.yao@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Dong, Eric" <eric.dong@intel.com>,
"Yao, Jiewen" <jiewen.yao@intel.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>,
Laszlo Ersek <lersek@redhat.com>
Subject: Re: [PATCH 0/3] Add SMM CET support
Date: Fri, 22 Feb 2019 07:06:22 +0000 [thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E3E5DE7@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190222041558.25312-1-jiewen.yao@intel.com>
Acked-by: Liming Gao <liming.gao@intel.com>
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Jiewen Yao
>Sent: Friday, February 22, 2019 12:16 PM
>To: edk2-devel@lists.01.org
>Cc: Dong, Eric <eric.dong@intel.com>; Gao, Liming <liming.gao@intel.com>;
>Yao, Jiewen <jiewen.yao@intel.com>; Kinney, Michael D
><michael.d.kinney@intel.com>; Laszlo Ersek <lersek@redhat.com>
>Subject: [edk2] [PATCH 0/3] Add SMM CET support
>
>REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1521
>
>This patch series implement add CET ShadowStack support for SMM.
>
>The CET document can be found at:
>https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-
>enforcement-technology-preview.pdf
>
>Patch 1 adds SSP (ShadowStackPointer) to JUMP_BUFFER.
>Patch 2 adds Control Protection exception (CP#) dump info.
>Patch 3 adds CET ShadowStack support in SMM.
>
>For more detail please refer to each patch.
>
>I also post all update to https://github.com/jyao1/edk2/tree/CET
>
>Cc: Michael D Kinney <michael.d.kinney@intel.com>
>Cc: Liming Gao <liming.gao@intel.com>
>Cc: Eric Dong <eric.dong@intel.com>
>Cc: Ray Ni <ray.ni@intel.com>
>Cc: Laszlo Ersek <lersek@redhat.com>
>Contributed-under: TianoCore Contribution Agreement 1.1
>Signed-off-by: Yao Jiewen <jiewen.yao@intel.com>
>
>Jiewen Yao (3):
> MdePkg/BaseLib: Add Shadow Stack Support for X86.
> UefiCpuPkg/ExceptionLib: Add CET support.
> UefiCpuPkg/PiSmmCpu: Add Shadow Stack Support for X86 SMM.
>
> MdePkg/Include/Library/BaseLib.h | 2 +
> MdePkg/Library/BaseLib/Ia32/LongJump.nasm | 18 ++-
> MdePkg/Library/BaseLib/Ia32/SetJump.nasm | 17 ++-
> MdePkg/Library/BaseLib/X64/LongJump.nasm | 20 ++-
> MdePkg/Library/BaseLib/X64/SetJump.nasm | 17 ++-
> .../Include/Library/SmmCpuFeaturesLib.h | 23 +++-
> .../CpuExceptionCommon.c | 7 +-
> .../CpuExceptionCommon.h | 3 +-
> .../Ia32/ArchExceptionHandler.c | 5 +-
> .../X64/ArchExceptionHandler.c | 5 +-
> UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/Cet.nasm | 37 ++++++
> UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 38 +++++-
> UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiEntry.nasm | 98
>++++++++++++++-
> .../PiSmmCpuDxeSmm/Ia32/SmiException.nasm | 6 +-
> UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmmFuncsArch.c | 57 ++++++++-
> UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 12 +-
> UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 97
>++++++++++++--
> UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 103
>++++++++++++++-
> UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 6 +-
> .../PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 85
>++++++++++++-
> UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c | 18 ++-
> UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h | 4 +-
> UefiCpuPkg/PiSmmCpuDxeSmm/SmramSaveState.c | 4 +-
> UefiCpuPkg/PiSmmCpuDxeSmm/X64/Cet.nasm | 38 ++++++
> UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | 39 +++++-
> UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm | 119
>+++++++++++++++++-
> UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmFuncsArch.c | 58 ++++++++-
> UefiCpuPkg/UefiCpuPkg.dec | 13 +-
> 28 files changed, 890 insertions(+), 59 deletions(-)
> create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/Cet.nasm
> create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/X64/Cet.nasm
>
>--
>2.19.2.windows.1
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel
next prev parent reply other threads:[~2019-02-22 7:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-22 4:15 [PATCH 0/3] Add SMM CET support Jiewen Yao
2019-02-22 4:15 ` [PATCH 1/3] MdePkg/BaseLib: Add Shadow Stack Support for X86 Jiewen Yao
2019-02-22 4:15 ` [PATCH 2/3] UefiCpuPkg/ExceptionLib: Add CET support Jiewen Yao
2019-02-22 4:15 ` [PATCH 3/3] UefiCpuPkg/PiSmmCpu: Add Shadow Stack Support for X86 SMM Jiewen Yao
2019-02-22 7:06 ` Gao, Liming [this message]
2019-02-22 9:06 ` [PATCH 0/3] Add SMM CET support Laszlo Ersek
2019-02-22 11:02 ` Yao, Jiewen
2019-02-22 12:00 ` Laszlo Ersek
2019-02-22 12:11 ` Yao, Jiewen
2019-02-22 13:32 ` Yao, Jiewen
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=4A89E2EF3DFEDB4C8BFDE51014F606A14E3E5DE7@SHSMSX104.ccr.corp.intel.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