From: Wei Huang Subject: Re: [PATCH] Check AMD SYSCFG DramModEn bit for MTRR configuration Date: Wed, 2 Mar 2011 11:25:09 -0600 Message-ID: <1299086709.1933.10.camel@weilaptop> References: <4D6E602F.6010309@gmail.com> Reply-To: wei.huang2@amd.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D6E602F.6010309@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: Anish Patel Cc: Keir Fraser , "'xen-devel@lists.xensource.com'" List-Id: xen-devel@lists.xenproject.org It is indeed very rare. But such bug, whenever it happens, is very hard to spot. Linux kernel forces this bit to clear when read fixed MTRR. I think we should at least print out a warning message. -Wei On Wed, 2011-03-02 at 09:20 -0600, Anish Patel wrote: > Buggy BIOSes are more common than you think. especially from small > shops, and some times they don't tend to release BIOS updates for their > platforms. > > > > On 03/02/11 02:01, Keir Fraser wrote: > > On 01/03/2011 21:11, "Wei Huang" wrote: > > > >> This patch checks whether SYSCFG DramModEn bit is clear by BIOS. Some > >> buggy BIOS might set this bit to 1, which causes unexpected behavior on > >> AMD platforms. This patch also increase family check for AMD CPUs when > >> setting fixed MTRR ranges. > > How common are these buggy BIOSes? Can't we just get users to update their > > BIOS? > > > > -- Keir > > > >> Signed-off-by: Wei Huang > >> > >> > >> PS: If OK, please apply it to both xen-4.1 and xen-4.0 trees. > >> > >> _______________________________________________ > >> Xen-devel mailing list > >> Xen-devel@lists.xensource.com > >> http://lists.xensource.com/xen-devel > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > >