From: Wei Liu Subject: Re: [PATCH] hvmloader: write extra memory in CMOS Date: Tue, 12 Nov 2013 14:17:44 +0000 Message-ID: <20131112141744.GK13369@zion.uk.xensource.com> References: <28cb4e5a-25e2-404f-97a4-714fb7414757@email.android.com> <1384257624.1883.56.camel@kazak.uk.xensource.com> <78cdb48d-84f9-4884-8e58-26f01c635ef6@email.android.com> <52822D8C0200007800102528@nat28.tlf.novell.com> <20131112123726.GH13369@zion.uk.xensource.com> <528239700200007800102582@nat28.tlf.novell.com> <20131112133953.GI13369@zion.uk.xensource.com> <5282418202000078001025F9@nat28.tlf.novell.com> <20131112140025.GJ13369@zion.uk.xensource.com> <528245960200007800102648@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VgEn9-0006A0-Aw for xen-devel@lists.xenproject.org; Tue, 12 Nov 2013 14:18:07 +0000 Content-Disposition: inline In-Reply-To: <528245960200007800102648@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel@lists.xenproject.org, Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Tue, Nov 12, 2013 at 02:13:26PM +0000, Jan Beulich wrote: > >>> On 12.11.13 at 15:00, Wei Liu wrote: > > On Tue, Nov 12, 2013 at 01:56:02PM +0000, Jan Beulich wrote: > >> >>> On 12.11.13 at 14:39, Wei Liu wrote: > >> > On Tue, Nov 12, 2013 at 01:21:36PM +0000, Jan Beulich wrote: > >> >> >>> On 12.11.13 at 13:37, Wei Liu wrote: > >> >> > However in some CMOS maps I found those bytes are marked as reserved. > >> >> > >> >> Exactly. The question is whether some _other_ BIOSes then use > >> >> these register for other purposes... > >> >> > >> > > >> > So I think now the solution is to make this code OVMF only, are you fine > >> > with this? > >> > >> Yes, provided you widen the location to at least 4 bytes. > >> > > > > I'm afraid I cannot widen the location (not for technical reason). It's > > a conventional protocol used by these non traditional BIOSes. It doesn't > > make sense to change Xen only, right? > > Maybe, maybe not. But those other BIOSes must have some > understanding of how to support >1Tb systems? > Presumably yes. But that's another topic. My point is widening this field to 4 bytes would not make them support more than 1TB of RAM, at least not in canonical way. Wei. > Jan