Re: [PATCH 2/2] Suppress false "mtrr all empty" warning messagewhen running as VMware guest

From: Yan Li
Date: Thu Sep 25 2008 - 10:19:19 EST


On Wed, Sep 24, 2008 at 09:39:20AM -0700, Yinghai Lu wrote:
> On Wed, Sep 24, 2008 at 5:24 AM, Yan Li <elliot.li.tech@xxxxxxxxx> wrote:
> > Since the mtrr empty was detected very early before we can use DMI or
> > PCI to check whether we are running as a VMware guest or not, we now
> > only print an info there. Warning will only be issued later when we
> > are sure that we are not running as a VMware guest.
> >
> > mtrr_trim_uncached_memory() is modified to return meaningful codes for
> > later warning decision.
>
> we have moved dmi_scan_machine() much early...
>
> so please check with latest tip/master to use
> dmi_check_system with that.

I checked your patch 1c6e5503 that moved dmi_scan_machine() earlier,
but it's still behind mtrr_trim_uncached_memory(), so we still can't
use DMI to check for VMware there.

--
Li, Yan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/