WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Check AMD SYSCFG DramModEn bit for MTRR configur

To: Anish Patel <anish.mailing.list@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Check AMD SYSCFG DramModEn bit for MTRR configuration
From: Wei Huang <wei.huang2@xxxxxxx>
Date: Wed, 2 Mar 2011 11:25:09 -0600
Cc: Keir Fraser <keir.xen@xxxxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Mar 2011 09:26:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D6E602F.6010309@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: AMD
References: <C9939BDE.1406A%keir.xen@xxxxxxxxx> <4D6E602F.6010309@xxxxxxxxx>
Reply-to: wei.huang2@xxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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"<wei.huang2@xxxxxxx>  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<wei.huang2@xxxxxxx>
> >>
> >>
> >> PS: If OK, please apply it to both xen-4.1 and xen-4.0 trees.
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@xxxxxxxxxxxxxxxxxxx
> >> http://lists.xensource.com/xen-devel
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
> >
> 
> 




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel