From: Keir Fraser Subject: Re: Re: [PATCH] ioemu-remote: ACPI S3 state wake up Date: Thu, 24 Jul 2008 13:57:28 +0100 Message-ID: References: <515922b50807240554y213cbfb3he95dc3d350ef2623@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0676718515==" Return-path: In-Reply-To: <515922b50807240554y213cbfb3he95dc3d350ef2623@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Trolle Selander Cc: xen-devel , Ian Jackson , Jean Guyader List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============0676718515== Content-type: multipart/alternative; boundary="B_3299752651_19116976" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3299752651_19116976 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I think Jean's original and only problem was with the s3_resume_flag. -- Keir On 24/7/08 13:54, "Trolle Selander" wrote: > Was this s3_resume_flag the _only_ thing that needed to be in r/w space, or > was that just the only thing in the rombios range? That is - should we revert > to the original code, or to the revised version i sent earlier today that > protected the actual ROMs but left a r/w gap covering the unused areas and the > SMBIOS- & ACPI- tables? > > -- Trolle > > On Thu, Jul 24, 2008 at 1:45 PM, Keir Fraser > wrote: >> On 24/7/08 13:12, "Jean Guyader" wrote: >> >>> > Jean Guyader wrote: >>>> >> I already tried to reduce the rw area, and just keep 0xe0 -> 0xef. But >>>> >> obviously it doesn't work the device model needs to write on this frame >>>> >> 0xf1. I still don't figure out why. >>> > >>> > The rombios write on this page because of this flags s3_resume_flag >>> > (rombios.c:98883). I don't know if it's a good reason to set the >>> > rombios as rw. However it's bad to set the first 2 pages of the rombios >>> > as rw just because of that. >>> > Any suggestions ? >> >> In that case the changes to ioemu-remote should be reverted. The correct fix >> is to move the S3 resume flag into the EBDA. I have committed this fix as >> xen-unstable.hg:18120. >> >> -- Keir >> >> > > --B_3299752651_19116976 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Re: [PATCH] ioemu-remote: ACPI S3 state wake up</TIT= LE> </HEAD> <BODY> <FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:12.0px'>I thi= nk Jean's original and only problem was with the s3_resume_flag.<BR> <BR>  -- Keir<BR> <BR> On 24/7/08 13:54, "Trolle Selander" <trolle.selander@gmail.com= > wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYL= E=3D'font-size:12.0px'>Was this s3_resume_flag the _only_ thing that needed to= be in r/w space, or was that just the only thing in the rombios range? That= is - should we revert to the original code, or to the revised version i sen= t earlier today that protected the actual ROMs but left a r/w gap covering t= he unused areas and the SMBIOS- & ACPI- tables? <BR> <BR> -- Trolle<BR> <BR> On Thu, Jul 24, 2008 at 1:45 PM, Keir Fraser <keir.fraser@eu.citrix.com&= gt; wrote:<BR> </SPAN></FONT><BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYL= E=3D'font-size:12.0px'>On 24/7/08 13:12, "Jean Guyader" <jean.guy= ader@eu.citrix.com> wrote:<BR> <BR> > Jean Guyader wrote:<BR> >> I already tried to reduce the rw area, and just keep 0xe0 -> 0x= ef. But<BR> >> obviously it doesn't work the device model needs to write on this = frame<BR> >> 0xf1. I still don't figure out why.<BR> ><BR> > The rombios write on this page because of this flags s3_resume_flag<BR= > > (rombios.c:98883). I don't know if it's a good reason to set the<BR> > rombios as rw. However it's bad to set the first 2 pages of the rombio= s<BR> > as rw just because of that.<BR> > Any suggestions ?<BR> <BR> In that case the changes to ioemu-remote should be reverted. The correct fi= x<BR> is to move the S3 resume flag into the EBDA. I have committed this fix as<B= R> xen-unstable.hg:18120.<BR> <FONT COLOR=3D"#888888"><BR>  -- Keir<BR> <BR> <BR> </FONT></SPAN></FONT></BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><S= PAN STYLE=3D'font-size:12.0px'><BR> <BR> </SPAN></FONT></BLOCKQUOTE><FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STY= LE=3D'font-size:12.0px'><BR> </SPAN></FONT> </BODY> </HTML> --B_3299752651_19116976-- --===============0676718515== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0676718515==--