From: Kurt Garloff Subject: Re: deleting mtrrs in dom0 Date: Sun, 27 Mar 2005 01:03:55 +0100 Message-ID: <20050327000355.GD11637@tpkurt.garloff.de> References: <20050324180634.GV12479@tpkurt.garloff.de> <435553ba59f7a34b2121d2aa10334969@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1sNVjLsmu1MXqwQ/" Content-Disposition: inline In-Reply-To: <435553ba59f7a34b2121d2aa10334969@cl.cam.ac.uk> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Keir Fraser Cc: Xen development list List-Id: xen-devel@lists.xenproject.org --1sNVjLsmu1MXqwQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Keir, On Thu, Mar 24, 2005 at 06:26:44PM +0000, Keir Fraser wrote: > It's been hacked just enough to get X working, but the /proc semantics=20 > haven't been given much thought. The problem is that reading /proc/mtrr= =20 > tells you what the real physical MTRRs contain, but these registers=20 > weren't initialised by domain0 but by Xen, during SMP bootstrap. So=20 > when you attempt to delete them you will probably find error messages=20 > in /var/log/messages saying 'reg1 has count=3D0'. I thought the MTRRs have been set by the BIOS, not Xen. The MTRRs are not set to my satisfaction, that's why I'd like to change them. > There are a few possible fixes, one being to let domain0 get staright=20 > at the MTRRs after it has booted, but this needs great care --=20 > the registers have to be carefully synchronised across all physical=20 > CPUs to avoid memory deadlocks. =20 Obviously, Linux has code to do that -- under Xen it unfortunately only sees a subset of the CPUs, though. Regards, --=20 Kurt Garloff [Koeln, DE] Physics:Plasma modeling [TU Eindhoven, NL] Linux: SUSE Labs (Director) [Novell Inc] --1sNVjLsmu1MXqwQ/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCRfhrxmLh6hyYd04RAilbAJ9abqZuPkqwabvuBN3F5QdJ1W6AbgCcDEIO QQD7rhB464YTe4ZXJ67AkO0= =VBxu -----END PGP SIGNATURE----- --1sNVjLsmu1MXqwQ/-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click