* [edk2-devel] Question about Smm code / StandaloneMmPkg @ 2021-03-04 8:34 Tiger Liu(BJ-RD) 2021-03-04 20:55 ` Laszlo Ersek 0 siblings, 1 reply; 4+ messages in thread From: Tiger Liu(BJ-RD) @ 2021-03-04 8:34 UTC (permalink / raw) To: devel@edk2.groups.io, Kinney, Michael D Dear All: I have a few questions about Smm code and StandaloneMmPkg. Take X86 Arch cpu as example: 1. Smm infrastructure code is implemented in MdeModulePkg\Core\PiSmmCore But it's a traditional smm mode, used launched in UEFI DXE Phase. A_Tour_Beyond_BIOS_Launching_Standalone_SMM_Drivers_in_PEI_using_the_EFI_Developer_Kit_II.pdf ----> This doc introduced a standalone smm mode. PI Spec introduces a MM concept, it's arch independent. So, I have below questions: 1. Will X86 SMM code implementation be migrated to MM concept code base? 2. StandaloneMmPkg is a MM reference implementation, is it arch independent? 3. The above doc mentioned launching SMM drivers in PEI, is it also implemented in StandaloneMmPkg? Thanks 保密声明: 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 CONFIDENTIAL NOTE: This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [edk2-devel] Question about Smm code / StandaloneMmPkg 2021-03-04 8:34 [edk2-devel] Question about Smm code / StandaloneMmPkg Tiger Liu(BJ-RD) @ 2021-03-04 20:55 ` Laszlo Ersek 2021-03-05 2:22 ` Kun Qin 0 siblings, 1 reply; 4+ messages in thread From: Laszlo Ersek @ 2021-03-04 20:55 UTC (permalink / raw) To: devel, tigerliu, Kinney, Michael D, Kun Qin Adding Kun Qin; a comment below: On 03/04/21 09:34, Tiger Liu(BJ-RD) wrote: > Dear All: > I have a few questions about Smm code and StandaloneMmPkg. > > Take X86 Arch cpu as example: > 1. Smm infrastructure code is implemented in MdeModulePkg\Core\PiSmmCore > But it's a traditional smm mode, used launched in UEFI DXE Phase. > > A_Tour_Beyond_BIOS_Launching_Standalone_SMM_Drivers_in_PEI_using_the_EFI_Developer_Kit_II.pdf > ----> This doc introduced a standalone smm mode. > > PI Spec introduces a MM concept, it's arch independent. > > So, I have below questions: > 1. Will X86 SMM code implementation be migrated to MM concept code base? > 2. StandaloneMmPkg is a MM reference implementation, is it arch independent? > 3. The above doc mentioned launching SMM drivers in PEI, is it also implemented in StandaloneMmPkg? Please see (also) the following thread: [edk2-rfc] [RFC] Support Both MM Traditional and Standalone Drivers with One MM Core https://edk2.groups.io/g/rfc/message/430 Thanks Laszlo > > Thanks > > > 保密声明: > 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 > CONFIDENTIAL NOTE: > This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited. > > > > > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [edk2-devel] Question about Smm code / StandaloneMmPkg 2021-03-04 20:55 ` Laszlo Ersek @ 2021-03-05 2:22 ` Kun Qin 2021-03-08 5:56 ` 答复: " Tiger Liu(BJ-RD) 0 siblings, 1 reply; 4+ messages in thread From: Kun Qin @ 2021-03-05 2:22 UTC (permalink / raw) To: Laszlo Ersek, devel@edk2.groups.io, tigerliu@zhaoxin.com, Kinney, Michael D Cc: Sean, michael.kubacki@outlook.com [-- Attachment #1: Type: text/plain, Size: 2950 bytes --] Hi Tiger, Our team has been sending patches to the community to cover Standalone MM driver to support x86 arch recently by believing that Standalone MM is the direction we are moving to in the long term. From our experience so far, the Standalone MM core infrastructure is arch independent and capable of operations such as dispatching MM drivers and managing memory as is. What really is missing would be the StandaloneMmCpu and an IPL that can install MM foundation for x86 arch. But I am unaware of any public implementation for these 2 components at this moment. As I joined this Standalone MM journey relatively recently, maybe other community members will have more information in that regards. Generally from our perspective, we are taking Standalone Mm model as an opportunity to provide better isolation between MM and non-MM environment, since this model is providing cleaner boundary inside MM without convoluted access to non-MM (mostly DXE) environment. If x86 SMM core code will ever be added to Standalone MM implemation, I would hope we do not lose advantage on that specific point. Thanks, Kun From: Laszlo Ersek<mailto:lersek@redhat.com> Sent: Thursday, March 4, 2021 12:55 To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; tigerliu@zhaoxin.com<mailto:tigerliu@zhaoxin.com>; Kinney, Michael D<mailto:michael.d.kinney@intel.com>; Kun Qin<mailto:kun.q@outlook.com> Subject: Re: [edk2-devel] Question about Smm code / StandaloneMmPkg Adding Kun Qin; a comment below: On 03/04/21 09:34, Tiger Liu(BJ-RD) wrote: > Dear All: > I have a few questions about Smm code and StandaloneMmPkg. > > Take X86 Arch cpu as example: > 1. Smm infrastructure code is implemented in MdeModulePkg\Core\PiSmmCore > But it's a traditional smm mode, used launched in UEFI DXE Phase. > > A_Tour_Beyond_BIOS_Launching_Standalone_SMM_Drivers_in_PEI_using_the_EFI_Developer_Kit_II.pdf > ----> This doc introduced a standalone smm mode. > > PI Spec introduces a MM concept, it's arch independent. > > So, I have below questions: > 1. Will X86 SMM code implementation be migrated to MM concept code base? > 2. StandaloneMmPkg is a MM reference implementation, is it arch independent? > 3. The above doc mentioned launching SMM drivers in PEI, is it also implemented in StandaloneMmPkg? Please see (also) the following thread: [edk2-rfc] [RFC] Support Both MM Traditional and Standalone Drivers with One MM Core https://edk2.groups.io/g/rfc/message/430 Thanks Laszlo > > Thanks > > > 保密声明: > 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 > CONFIDENTIAL NOTE: > This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited. > > > > > [-- Attachment #2: Type: text/html, Size: 5647 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* 答复: [edk2-devel] Question about Smm code / StandaloneMmPkg 2021-03-05 2:22 ` Kun Qin @ 2021-03-08 5:56 ` Tiger Liu(BJ-RD) 0 siblings, 0 replies; 4+ messages in thread From: Tiger Liu(BJ-RD) @ 2021-03-08 5:56 UTC (permalink / raw) To: Kun Qin, Laszlo Ersek, devel@edk2.groups.io, Kinney, Michael D Cc: Sean, michael.kubacki@outlook.com [-- Attachment #1: Type: text/plain, Size: 3746 bytes --] Hi, Laszlo && Kun: Got it. Thanks a lot. Best wishes, 发件人: Kun Qin <kun.q@outlook.com> 发送时间: 2021年3月5日 10:23 收件人: Laszlo Ersek <lersek@redhat.com>; devel@edk2.groups.io; Tiger Liu(BJ-RD) <TigerLiu@zhaoxin.com>; Kinney, Michael D <michael.d.kinney@intel.com> 抄送: Sean <spbrogan@outlook.com>; michael.kubacki@outlook.com 主题: RE: [edk2-devel] Question about Smm code / StandaloneMmPkg Hi Tiger, Our team has been sending patches to the community to cover Standalone MM driver to support x86 arch recently by believing that Standalone MM is the direction we are moving to in the long term. From our experience so far, the Standalone MM core infrastructure is arch independent and capable of operations such as dispatching MM drivers and managing memory as is. What really is missing would be the StandaloneMmCpu and an IPL that can install MM foundation for x86 arch. But I am unaware of any public implementation for these 2 components at this moment. As I joined this Standalone MM journey relatively recently, maybe other community members will have more information in that regards. Generally from our perspective, we are taking Standalone Mm model as an opportunity to provide better isolation between MM and non-MM environment, since this model is providing cleaner boundary inside MM without convoluted access to non-MM (mostly DXE) environment. If x86 SMM core code will ever be added to Standalone MM implemation, I would hope we do not lose advantage on that specific point. Thanks, Kun From: Laszlo Ersek<mailto:lersek@redhat.com> Sent: Thursday, March 4, 2021 12:55 To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; tigerliu@zhaoxin.com<mailto:tigerliu@zhaoxin.com>; Kinney, Michael D<mailto:michael.d.kinney@intel.com>; Kun Qin<mailto:kun.q@outlook.com> Subject: Re: [edk2-devel] Question about Smm code / StandaloneMmPkg Adding Kun Qin; a comment below: On 03/04/21 09:34, Tiger Liu(BJ-RD) wrote: > Dear All: > I have a few questions about Smm code and StandaloneMmPkg. > > Take X86 Arch cpu as example: > 1. Smm infrastructure code is implemented in MdeModulePkg\Core\PiSmmCore > But it's a traditional smm mode, used launched in UEFI DXE Phase. > > A_Tour_Beyond_BIOS_Launching_Standalone_SMM_Drivers_in_PEI_using_the_EFI_Developer_Kit_II.pdf > ----> This doc introduced a standalone smm mode. > > PI Spec introduces a MM concept, it's arch independent. > > So, I have below questions: > 1. Will X86 SMM code implementation be migrated to MM concept code base? > 2. StandaloneMmPkg is a MM reference implementation, is it arch independent? > 3. The above doc mentioned launching SMM drivers in PEI, is it also implemented in StandaloneMmPkg? Please see (also) the following thread: [edk2-rfc] [RFC] Support Both MM Traditional and Standalone Drivers with One MM Core https://edk2.groups.io/g/rfc/message/430 Thanks Laszlo > > Thanks > > > 保密声明: > 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 > CONFIDENTIAL NOTE: > This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited. > > > > > 保密声明: 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 CONFIDENTIAL NOTE: This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited. [-- Attachment #2: Type: text/html, Size: 9630 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-08 5:56 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-03-04 8:34 [edk2-devel] Question about Smm code / StandaloneMmPkg Tiger Liu(BJ-RD) 2021-03-04 20:55 ` Laszlo Ersek 2021-03-05 2:22 ` Kun Qin 2021-03-08 5:56 ` 答复: " Tiger Liu(BJ-RD)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox