From: "Thomas Jourdan" <tjourdan@interfaceconcept.com>
To: "'H. Peter Anvin'" <hpa@zytor.com>,
"'Thomas Jourdan'" <tjourdan@interfaceconcept.com>
Cc: <linux-kernel@vger.kernel.org>,
"'Huang Ying'" <ying.huang@intel.com>,
"'Peter Jones'" <pjones@redhat.com>,
"'Yinghai Lu'" <yinghai@kernel.org>
Subject: RE: [BUG] dmi_scan_machine uses uninitialized address on x86 / EFI
Date: Wed, 25 Feb 2009 13:28:04 +0100 [thread overview]
Message-ID: <ADD10563C03642F7BEE3C19170ADC11E@thje6600v> (raw)
In-Reply-To: <49A462BD.7010205@zytor.com>
Hi guys
The bug is not critical. Vanilla kernel works fine without the patch, except for the DMI sysfs stuffs.
Without the patch, if CONFIG_DMI is enabled, I got the "DMI not present or invalid." error message on boot. Then later, if CONFIG_DMIID is enabled, DMI system identification informations won't be exported via sysfs to userspace. The /sys/class/dmi/id entry is not present.
Regards,
Thomas
-----Message d'origine-----
De : H. Peter Anvin [mailto:hpa@zytor.com]
Envoyé : mar. 24 février 2009 22:12
À : Thomas Jourdan
Cc : linux-kernel@vger.kernel.org; Huang Ying; Peter Jones; Yinghai Lu
Objet : Re: [BUG] dmi_scan_machine uses uninitialized address on x86 /
EFI
Thomas Jourdan wrote:
>
> On x86/EFI platforms, if efi_enabled is true, the dmi_scan_machine function
> fails, even if valid DMI table is present. In the setup_arch function,
> efi_init is called after dmi_scan_machine. But this is efi_init which will
> initialize the smbios address, needed by dmi_scan_machine.
>
> This leads to dmi_scan_machine ioremapping physical address 0, instead of
> the address provided by the EFI system table. The following patch fixes the
> problem.
>
Hi Thomas,
What is the concrete manifestation of the bug (i.e. how critical is it?)
We are late in the 2.6.29-rc cycle, and this patch seems to have some
risk associated with it.
Huang, Peter, Yinghai: any opinions?
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
__________ Information NOD32 3887 (20090224) __________
Ce message a ete verifie par NOD32 Antivirus System.
http://www.nod32.com
next prev parent reply other threads:[~2009-02-25 9:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-23 15:40 Thomas Jourdan
2009-02-24 21:12 ` H. Peter Anvin
2009-02-24 21:38 ` Yinghai Lu
2009-02-24 21:42 ` H. Peter Anvin
2009-02-24 21:44 ` Yinghai Lu
2009-02-25 12:28 ` Thomas Jourdan [this message]
2009-02-25 22:04 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ADD10563C03642F7BEE3C19170ADC11E@thje6600v \
--to=tjourdan@interfaceconcept.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pjones@redhat.com \
--cc=ying.huang@intel.com \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®