From: "Jan Beulich" Subject: dealing with ill DMI table pointer Date: Tue, 07 Aug 2007 13:46:38 +0100 Message-ID: <46B885CE.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On at least one system we see the DMI table being located in what E820 = reports as usable RAM. Obviously, native has no immediate issue with this as it = (a) needs the tables only at boot and (b) has no problem ioremap-ing RAM pages. A = Xen kernel, otoh, is likely to die because of this unless it happens to own = the page(s). The only reasonable workaround I can see would be to have Xen look up the DMI table and alter the E820 map by hand if needed (and also avoid to = destroy the information contained therein, implying that this must be done pretty = early). The only other alternative I see would be to simply say: Bad luck, get a = BIOS update. But the DMI code in Linux clearly says that this is not a unique = problem, so having some kind of workaround to at least gracefully fail dmi_scan_mach= ine() might be desirable, but would seem to require propagating an error code = from set_fixmap() and changing this function to use hypercalls instead of = direct page table writes. Jan