From: Jesse Barnes <jbarnes@sgi.com>
To: linux-kernel@vger.kernel.org
Cc: Martin Hicks <mort@wildopensource.com>, greg@kroah.com
Subject: Re: Exporting physical topology information
Date: Thu, 18 Mar 2004 09:44:38 -0800 [thread overview]
Message-ID: <200403180944.38760.jbarnes@sgi.com> (raw)
In-Reply-To: <20040317213714.GD23195@localhost>
On Wednesday 17 March 2004 1:37 pm, Martin Hicks wrote:
> I'm not proposing that we build an entire physical topology tree in
> sysfs, but just providing an attribute file. The two most obvious
> examples of where this would be useful is for nodes and pci busses. The
> Altix platform is a modular system with CPU bricks and IO bricks. We
> currently have no method for locating where "node0" is, nor do we have a
> method for locating pci bus 0000:20, for example.
I'm curious how other arches deal with this too. Like on ppc64 when
you want to remove a CPU or set of CPUs, you have to bring it (or all
of the cores on a given module) down via software, then go into the
lab and find the module to pull it out. Is there a mapping somewhere
that the user is expected to use? A hypervisor call of some sort to
make some lights blink?
> If we could physically locate a PCI bus, then it would be much easier
> to (for example) locate our defective SCSI disk that is target4 on the
> SCSI controller that is on pci bus 0000:20.
This seems like one of the main uses--find components that went bad.
Physically locating a CPU, DIMM, PCI board, or disk would all be
easier if we provided some sort of physical identifier and
logical->physical mapping information. On IRIX, we actually expose
the whole physical hierarchy of the system in /hw. One of the
problems with that approach is that everytime a new system
configuration is released the kernel has to be updated to know about
it, resulting in /hw paths that change over time, and from system to
system...
Jesse
next prev parent reply other threads:[~2004-03-18 17:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-17 21:37 Exporting physical topology information Martin Hicks
2004-03-18 17:44 ` Jesse Barnes [this message]
2004-03-18 23:21 ` Greg KH
2004-03-19 17:48 ` Martin Hicks
2004-03-19 17:57 ` Greg KH
2004-03-19 17:51 ` Jesse Barnes
2004-03-19 17:59 ` Greg KH
2004-03-19 18:53 ` Jesse Barnes
2004-05-07 20:13 ` Jesse Barnes
2004-05-07 22:38 ` Greg KH
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=200403180944.38760.jbarnes@sgi.com \
--to=jbarnes@sgi.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mort@wildopensource.com \
/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