[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [edk2] [PATCH v4 16/26] OvmfPkg: PlatformPei: reserve SEC/PEI temp RAM for S3 resume



On Fri, Jan 10, 2014 at 03:49:52PM -0800, Jordan Justen wrote:
> On Fri, Jan 10, 2014 at 4:16 AM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> > Thanks for bringing this to Xen-devel!
> > On Thu, Jan 09, 2014 at 03:03:06PM -0800, Jordan Justen wrote:
> >> On Thu, Jan 9, 2014 at 2:00 PM, Laszlo Ersek <lersek@xxxxxxxxxx> wrote:
> >> > On 01/09/14 22:47, Jordan Justen wrote:
> >> >> On Thu, Jan 9, 2014 at 12:41 PM, Laszlo Ersek <lersek@xxxxxxxxxx> wrote:
> >> >>> On 01/09/14 01:45, Jordan Justen wrote:
> >> >> I don't think this series claims to enable S3 for Xen, right?
> >> >>
> >> >> When someone looks at S3 for Xen, I might try to steer them towards
> >> >> having Xen call MemDetect again, and branch of for Xen specific things
> >> >> within MemDetect. I was not too excited about that aspect of r14946.
> >> >
> >> > No, the series doesn't *claim* to do that :), and I didn't test it, but
> >> > since I could not see any immediate blocker when running on Xen, I
> >> > figured we should add the feature generally, and then Xen users could
> >> > happily hunt bugs in the common code. By adding code that doesn't run
> >> > specifically on Xen we're making that harder.
> >>
> >> I'll try to update this to make a best effort of having S3 potentially
> >> work for Xen.
> >>
> >> We should probably see if someone from xen-devel can verify that we
> >> haven't managed to break normal OVMF boots on Xen (aside from the S3
> >> issue).
> >>
> >
> > Do you have a git tree somewhere? And some critical steps to test this
> > series?
> 
> git://github.com/jljusten/edk2.git ovmf-s3-v4
> 
> For testing S3, I've been doing this:
> OvmfPkg/build.sh qemu -enable-kvm \
>   -debugcon file:debug.log -global isa-debugcon.iobase=0x402 \
>   -cdrom ~/ISO/archlinux-2013.12.01-dual.iso \
>   -m 512 -vga qxl
> 
> At the bash prompt I run:
> echo -n mem > /sys/power/state
> 
> Laszlo already pointed out some key issues for Xen with S3, so you
> might want to wait until I try to fix those in v5.
> 

Thanks, I will wait.

Wei.

> -Jordan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.