public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Support S3 on ARMVirtPkg
@ 2019-01-11  8:17 김혁중
  2019-01-11 10:14 ` Laszlo Ersek
  0 siblings, 1 reply; 3+ messages in thread
From: 김혁중 @ 2019-01-11  8:17 UTC (permalink / raw)
  To: edk2-devel

Hi all,

I'm currently using edk2 for qemu arm emulation environment, and i have a
question about s3 support for ArmVirtPkg.

I read white paper about ovmf, and I'm trying to follow up the things about
uefi and boot up procedure, but I don't know how to start to support
suspend (S3) functionality from edk2 firmware cuz ArmVirtQemu.pkg is pretty
different from x64 of it.

And I could not find any current situation of supporting s3 on armvirt.

So, can anyone tell me about current situation, or starting point to
support s3 on armvirt?

Thanks,
Hyukjoong


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Support S3 on ARMVirtPkg
  2019-01-11  8:17 Support S3 on ARMVirtPkg 김혁중
@ 2019-01-11 10:14 ` Laszlo Ersek
  2019-01-11 10:29   ` 김혁중
  0 siblings, 1 reply; 3+ messages in thread
From: Laszlo Ersek @ 2019-01-11 10:14 UTC (permalink / raw)
  To: 김혁중
  Cc: edk2-devel, Leif Lindholm, Ard Biesheuvel, Grant Likely

On 01/11/19 09:17, 김혁중 wrote:
> Hi all,
> 
> I'm currently using edk2 for qemu arm emulation environment, and i have a
> question about s3 support for ArmVirtPkg.
> 
> I read white paper about ovmf, and I'm trying to follow up the things about
> uefi and boot up procedure, but I don't know how to start to support
> suspend (S3) functionality from edk2 firmware cuz ArmVirtQemu.pkg is pretty
> different from x64 of it.
> 
> And I could not find any current situation of supporting s3 on armvirt.
> 
> So, can anyone tell me about current situation, or starting point to
> support s3 on armvirt?

I think edk2 lacks most of the S3 infrastructure for ARM/AARCH64. For
example, "MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe" is strictly
IA32/X64. The same applies to "UefiCpuPkg/Universal/Acpi/S3Resume2Pei".

In fact, I don't even know if the "traditional S3" power state from the
ACPI spec applies to "Hardware-reduced ACPI"... Well, yes, that seems to
be the case: chapter "16 Waking and Sleeping" has several clauses
specific to HW-reduced ACPI.

Have you encountered a physical AARCH64 machine + OS combination that
supports ACPI S3?

Thanks
Laszlo


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Support S3 on ARMVirtPkg
  2019-01-11 10:14 ` Laszlo Ersek
@ 2019-01-11 10:29   ` 김혁중
  0 siblings, 0 replies; 3+ messages in thread
From: 김혁중 @ 2019-01-11 10:29 UTC (permalink / raw)
  To: Laszlo Ersek; +Cc: edk2-devel, Leif Lindholm, Ard Biesheuvel, Grant Likely

Oh no, I only have qemu arm VM, not physical machine, with WoA (Windows on
Arm), and I'm trying to enable suspend mode on windows but it failed, and i
figured recently that it is because of acpi setting of qemu and its related
edk2 functionality by comparing it with x64 VM.

So, first of all, I thought that i need to implement some part of qemu acpi
setting and its corrrsponding functionality, but after some of digging i
realized that current edk2 for armvirtpkg also not support s3 features.  So
i reached to this mailing list.

2019년 1월 11일 (금) 오후 7:14에 Laszlo Ersek <lersek@redhat.com>님이 작성:

> On 01/11/19 09:17, 김혁중 wrote:
> > Hi all,
> >
> > I'm currently using edk2 for qemu arm emulation environment, and i have a
> > question about s3 support for ArmVirtPkg.
> >
> > I read white paper about ovmf, and I'm trying to follow up the things
> about
> > uefi and boot up procedure, but I don't know how to start to support
> > suspend (S3) functionality from edk2 firmware cuz ArmVirtQemu.pkg is
> pretty
> > different from x64 of it.
> >
> > And I could not find any current situation of supporting s3 on armvirt.
> >
> > So, can anyone tell me about current situation, or starting point to
> > support s3 on armvirt?
>
> I think edk2 lacks most of the S3 infrastructure for ARM/AARCH64. For
> example, "MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe" is strictly
> IA32/X64. The same applies to "UefiCpuPkg/Universal/Acpi/S3Resume2Pei".
>
> In fact, I don't even know if the "traditional S3" power state from the
> ACPI spec applies to "Hardware-reduced ACPI"... Well, yes, that seems to
> be the case: chapter "16 Waking and Sleeping" has several clauses
> specific to HW-reduced ACPI.
>
> Have you encountered a physical AARCH64 machine + OS combination that
> supports ACPI S3?
>
> Thanks
> Laszlo
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-11 10:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-11  8:17 Support S3 on ARMVirtPkg 김혁중
2019-01-11 10:14 ` Laszlo Ersek
2019-01-11 10:29   ` 김혁중

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox