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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yan Li
Date: Wednesday, September 24, 2008 - 6:10 am

On Wed, Sep 24, 2008 at 02:54:14PM +0200, Laurent Vivier wrote:

As stated in the comments: the warning has to be deferred. The reason
is that "is_vmware_guest()" replies on DMI and can only be used after
dmi_scan().  These mtrr codes here are run very early during
setup_arch() when the DMI is not available. So when I've detected all
MTRRs are blank, I returned a status code to setup_arch(), who will
call "is_vmware_guest()" later, after dmi_scan(), to decide whether to
issue a warning or not.


-- 
Li, Yan

"Everything that is really great and inspiring is created by the
individual who can labor in freedom."
              - Albert Einstein, in Out of My Later Years (1950)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]