lkml.org 
[lkml]   [2008]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] X86: remove WARN_ON if MTRRs are all blank

* Joerg Roedel <joerg.roedel@amd.com> wrote:

> if (!highest_pfn) {
> printk(KERN_WARNING "WARNING: strange, CPU MTRRs all blank?\n");
> - WARN_ON(1);
> return 0;
> }

instead of obscuring a possibly useful warning, please instead detect
that it's a KVM guest and skip both the warning and the backtrace in
that case.

Ingo


\
 
 \ /
  Last update: 2008-02-21 12:57    [W:0.183 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site