Date: Tue, 24 Dec 2013 10:55:40 -0500 From: John Baldwin <jhb@freebsd.org> To: Neel Natu <neelnatu@gmail.com> Cc: "freebsd-virtualization@freebsd.org" <virtualization@freebsd.org> Subject: Re: [PATCH] Support for S5 (soft power off) in bhyve Message-ID: <201312241055.40217.jhb@freebsd.org> In-Reply-To: <201312231708.45431.jhb@freebsd.org> References: <201312231443.39282.jhb@freebsd.org> <CAFgRE9Eh0ye0P4W00wgHED_ZYuYsjiYGX-D-Nt_01_kgqh3v9A@mail.gmail.com> <201312231708.45431.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, December 23, 2013 5:08:45 pm John Baldwin wrote: > On Monday, December 23, 2013 5:01:45 pm Neel Natu wrote: > > Hi John, > > > > This looks good - thanks for adding this support! > > > > I noticed that the RESET_REGISTER is not being advertised in the FACP > > flags field. So, perhaps the access to 0xCF9 that you saw during > > testing was triggered by cpu_reset_real() as opposed to AcpiReset()? > > Yeah, that might explain why I had to comment out the 0x64 check in > bhyverun.c directly as AcpiReset() should take precedence before > cpu_reset_real() is invoked. I'll retest that tomorrow to make sure I have > the FACP correct. With that fixed, ACPI now resets via 0xcf9 before trying 0x64. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312241055.40217.jhb>