From: "Jean Delvare" <khali@linux-fr.org>
To: ak@suse.de
Cc: LKML <linux-kernel@vger.kernel.org>,
"Andrew Morton" <akpm@osdl.org>, "Greg KH" <greg@kroah.com>
Subject: Re: dmi_scan on x86_64
Date: Wed, 3 Nov 2004 14:12:07 +0100 (CET) [thread overview]
Message-ID: <oW5plZBL.1099487525.5944720.khali@gcu.info> (raw)
In-Reply-To: <20041103124642.GD18867@wotan.suse.de>
Hi Andi,
> > Any reason why dmi_scan is availble on the i386 arch and not on the
> > x86_64 arch? I would have a need for the latter (for run-time
> > identification purposes, not boot-time blacklisting).
>
> So far nothing needed it, so I didn't add it. For what do you need it?
I am in the process of adding SMBus multiplexing support for the Tyan
S4882 motherboard, as seen on this thread:
http://marc.theaimsgroup.com/?l=linux-kernel&m=109863982018999&w=2
In the proposed patch, I use the PCI ID of the SMBus master to identify
the board and enable the additional code. However, I just asked for
confirmation to the Tyan engineers I am working with and they told me
that the PCI ID has not been customized (I should have figured that out
by myself since the subvendor ID was AMD's, not Tyan's, but well
sometimes you just don't get it). Thus my approach is not correct.
One possible approach would be to use the DMI data, since it is properly
set on the S4882 motherboard:
Handle 0x0001
DMI type 1, 25 bytes.
System Information
Manufacturer: TYAN
Product Name: S4882
Thus my question. As you can see, what I would need is merely an
include/linux/dmi.h-like interface that would work for x86_64 instead of
only i386. I do not need the dmi_scan blacklisting mechanism, just the
part which fetches and stores DMI data for later use. As a side note, I
wonder if this can be done without duplicating a large part of
arch/i386/kernel/dmi_scan.c.
Before you ask, detecting the need of SMBus multiplexing by somehow
scanning the SMBus is believed to be unreliable and possibly dangerous,
which is why I favor the approach of a list of known boards to enable
the multiplexing on.
Thanks,
Jean
next prev parent reply other threads:[~2004-11-03 13:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-03 12:10 Jean Delvare
2004-11-03 12:46 ` Andi Kleen
2004-11-03 13:12 ` Jean Delvare [this message]
2004-11-03 14:40 ` Andi Kleen
2004-11-03 15:19 ` Jean Delvare
2004-11-03 15:32 ` Andi Kleen
2004-11-03 16:02 ` Jean Delvare
2004-11-04 0:45 ` Daniel Egger
2004-11-04 9:12 ` Jean Delvare
2004-11-04 12:14 ` Daniel Egger
2004-11-04 13:02 ` Jean Delvare
2004-11-04 14:49 ` Daniel Egger
2004-11-04 15:30 ` Jean Delvare
2004-11-04 19:28 ` Daniel Egger
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=oW5plZBL.1099487525.5944720.khali@gcu.info \
--to=khali@linux-fr.org \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.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®