]> xenbits.xensource.com Git - people/andrewcoop/hwloc.git/log
people/andrewcoop/hwloc.git
11 years agoXen fake information generator hwloc-xen-topology-v3
Andrew Cooper [Wed, 15 Jan 2014 17:13:08 +0000 (17:13 +0000)]
Xen fake information generator

For debugging purposes only.

11 years agotests/ports: add cross-testing
Brice Goglin [Mon, 6 Jan 2014 18:01:28 +0000 (18:01 +0000)]
tests/ports: add cross-testing

11 years agoXen topology support in hwloc
Andrew Cooper [Mon, 30 Dec 2013 20:51:25 +0000 (20:51 +0000)]
Xen topology support in hwloc

This requires the following patch (which is applicable for backport to at
least Xen 4.3):

http://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=commitdiff;h=3585994405b6a73c137309dd4be91f48c71e4903

which implements a cleaner API for xc_{topology,numa}info.

This patch provides basic topology enumeration in hwloc.  Xen support should
be built automatically given an appropriate version of libxenctrl (i.e. with
the above patch) in the build environment.

Xen support can be built as a plugin (to remove direct dependences on
libxenctrl), and is disabled by default.  In dom0, use

`HWLOC_COMPONENETS=xen ./lstop ...`

to enable Xen system topology enumeration in preference to the faked topology
which the kernel gets to see.

This patch provides basic support for PUs, cores, sockets and numa nodes, with
numa nodes being annotated with availabe memory[1].  It has been sanity tested
on various different servers in our testing pool.

Some of this patch includes folded patches from Brice Goglin <Brice.Goglin@inria.fr>

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
[1] It turns out Xen's idea of memory attached to a node includes pages
mapping IO regions.  This is a hypervisor bug has been raised on xen-devel.

11 years agoplugins: cleanup hwloc_setup_pu_level() and export it to plugins
Brice Goglin [Mon, 6 Jan 2014 17:50:38 +0000 (17:50 +0000)]
plugins: cleanup hwloc_setup_pu_level() and export it to plugins

Xen needs it.

11 years agoplugins: export hwloc_alloc_root_sets()
Brice Goglin [Mon, 6 Jan 2014 17:46:18 +0000 (17:46 +0000)]
plugins: export hwloc_alloc_root_sets()

Renamed from the old hwloc_alloc_obj_cpusets(),
now officially specialized for root objects only,
and now exported to plugins (Xen will need it).

11 years agoChange the logic in bind.c to only include <malloc.h> if we don't have posix_memalign.
Jeff Squyres [Fri, 10 Jan 2014 17:05:48 +0000 (09:05 -0800)]
Change the logic in bind.c to only include <malloc.h> if we don't have posix_memalign.

In http://www.open-mpi.org/community/lists/devel/2014/01/13619.php,
Paul Hargrove found a compiler warning on OpenBSD where <malloc.h>
exists, but is not intended to be used (and doesn't error out, so
AC_CHECK_HEADERS says its ok).

11 years agoIf a git command fails, also print the repo in the error message
Jeff Squyres [Thu, 9 Jan 2014 14:34:24 +0000 (09:34 -0500)]
If a git command fails, also print the repo in the error message

11 years agoKeep a copy of the script that we use for sending git diff emails.
Jeff Squyres [Wed, 8 Jan 2014 23:09:46 +0000 (18:09 -0500)]
Keep a copy of the script that we use for sending git diff emails.

11 years agohwloc-ps: don't report locations as caches unless there is nothing equivalent
Brice Goglin [Wed, 18 Dec 2013 19:46:03 +0000 (20:46 +0100)]
hwloc-ps: don't report locations as caches unless there is nothing equivalent

We report the higher object matching the binding.
Go down if it's a cache that has a single identical child.

11 years agohwloc-bind: Add -e as a synonym to --get-last-cpu-location
Brice Goglin [Wed, 18 Dec 2013 19:42:57 +0000 (20:42 +0100)]
hwloc-bind: Add -e as a synonym to --get-last-cpu-location

To match what hwloc-ps supports.

11 years agohwloc-ps: Add -e/--get-last-cpu-location
Brice Goglin [Wed, 18 Dec 2013 19:22:32 +0000 (20:22 +0100)]
hwloc-ps: Add -e/--get-last-cpu-location

11 years agolinux: export hwloc_linux_get_tid_last_cpu_location()
Brice Goglin [Wed, 18 Dec 2013 19:12:17 +0000 (20:12 +0100)]
linux: export hwloc_linux_get_tid_last_cpu_location()

This is equivalent to hwloc_get_proc_last_cpu_location(THREAD) on Linux,
but it's better for clarity to have this Linux specific call as well
(and it was already implemented internally)

11 years agohwloc.h: Fix proc_cpubind() proc_last_cpu_location() documentation when using Linux TID
Brice Goglin [Wed, 18 Dec 2013 19:03:57 +0000 (20:03 +0100)]
hwloc.h: Fix proc_cpubind() proc_last_cpu_location() documentation when using Linux TID

and document that hwloc_linux_*_tid_cpubind() are equivalent.

11 years agoutils: fix cpubind support checks
Brice Goglin [Wed, 18 Dec 2013 18:31:03 +0000 (19:31 +0100)]
utils: fix cpubind support checks

11 years agoautomake subdir-object mode needs check for -c -o
Rob Latham [Fri, 6 Dec 2013 00:09:06 +0000 (09:09 +0900)]
automake subdir-object mode needs check for -c -o

Older automake versions (at least 1.13.1) will complain if we asked for subdir
mode and we did not verify that both -c and -o flags work (AM_PROG_CC_C_O)

11 years agoupdate master NEWS from v1.8
Brice Goglin [Mon, 18 Nov 2013 12:27:15 +0000 (05:27 -0700)]
update master NEWS from v1.8

11 years agoAPI: fix some doxygen refs
Brice Goglin [Mon, 18 Nov 2013 11:45:04 +0000 (04:45 -0700)]
API: fix some doxygen refs

11 years agoScript that is run on the build server to make nightly snapshot tarballs
Jeff Squyres [Fri, 15 Nov 2013 17:02:25 +0000 (09:02 -0800)]
Script that is run on the build server to make nightly snapshot tarballs

11 years agocustom: document that objects above assembled topologies have NULL cpuset/nodeset
Brice Goglin [Tue, 12 Nov 2013 13:40:34 +0000 (14:40 +0100)]
custom: document that objects above assembled topologies have NULL cpuset/nodeset

Thanks to Jérôme Clet-Ortega for reporting the need for clarification.

11 years agotests/hwloc_insert_misc: more assertions
Brice Goglin [Thu, 7 Nov 2013 10:20:49 +0000 (11:20 +0100)]
tests/hwloc_insert_misc: more assertions

To detect spurious failures on AIX because of ENOMEM.

11 years agotest-hwloc-diffpatch: exit the temp directory before removing it
Brice Goglin [Thu, 7 Nov 2013 08:32:05 +0000 (09:32 +0100)]
test-hwloc-diffpatch: exit the temp directory before removing it

Otherwise rmdir fails on AIX

11 years agoFix unused parameter warning
Samuel Thibault [Wed, 6 Nov 2013 16:27:35 +0000 (17:27 +0100)]
Fix unused parameter warning

11 years agoFix types of RGB colors.
Samuel Thibault [Wed, 6 Nov 2013 16:26:11 +0000 (17:26 +0100)]
Fix types of RGB colors.

11 years agoFix mixed declaration/code warning
Samuel Thibault [Wed, 6 Nov 2013 16:25:43 +0000 (17:25 +0100)]
Fix mixed declaration/code warning

11 years agoWe're 100% git these days.
Jeff Squyres [Wed, 6 Nov 2013 14:39:48 +0000 (06:39 -0800)]
We're 100% git these days.

11 years agomaster is now v1.9
Brice Goglin [Tue, 5 Nov 2013 21:00:04 +0000 (22:00 +0100)]
master is now v1.9

11 years agoRemove Cairo dependency on X11 and factorize X11 tests
Brice Goglin [Wed, 6 Nov 2013 08:49:00 +0000 (09:49 +0100)]
Remove Cairo dependency on X11 and factorize X11 tests

Per discussion on the mailing list, it doesn't look like Cairo needs
X11 any more (it doesn't on OS X to generate PDFs and PNGs).  So
remove the dependency in configure.ac.

Also, move the X11 tests from outside of the Cairo tests (and outside
of the GL tests) to be in the main configure logic.

By the way, rename HWLOC_HAVE_X11 into HWLOC_HAVE_X11_KEYSYM to avoid
confusion between Xlib.h/XOpenDisplay being available (what GL needs)
and Xutil.h+keysym.h being available too (what lstopo/X11 needs).

Based on a patch from Jeff, tweaked by me.

11 years agocleanup v1.8 NEWS bullets
Brice Goglin [Sun, 3 Nov 2013 22:57:25 +0000 (23:57 +0100)]
cleanup v1.8 NEWS bullets

11 years agoBump AM to 1.14 for v1.8
Brice Goglin [Sat, 26 Oct 2013 07:34:36 +0000 (09:34 +0200)]
Bump AM to 1.14 for v1.8

11 years agolinux/mic: add a MICSerialNumber info attribute when running inside the MIC
Brice Goglin [Thu, 17 Oct 2013 17:04:50 +0000 (19:04 +0200)]
linux/mic: add a MICSerialNumber info attribute when running inside the MIC

OMPI people want an easy way to recognize MICs and nodes using hwloc.
We already have MICSerialNumber inside OS devices in the host topology,
add the same to the root object of MIC topologies.
Unfortunately, we couldn't find anything better than parsing /proc/elog
to find that number.

11 years agohwloc-compress-dir: allow to uncompress with -R
Brice Goglin [Thu, 17 Oct 2013 14:40:10 +0000 (16:40 +0200)]
hwloc-compress-dir: allow to uncompress with -R

Modify the test case a bit because the input XMLs weren't totally perfect.

11 years agohwloc-patch: add support for automatically guessing the input topology filename from...
Brice Goglin [Thu, 17 Oct 2013 13:10:42 +0000 (15:10 +0200)]
hwloc-patch: add support for automatically guessing the input topology filename from the XML refname

You may do "hwloc-patch refname foo.diff.xml", it will replace "refname"
with the topology that was used as a reference when generating the diff.

11 years agotools: Add --whole-system and --restrict for uniformity
Brice Goglin [Tue, 15 Oct 2013 09:13:40 +0000 (11:13 +0200)]
tools: Add --whole-system and --restrict for uniformity

Add --whole-system to hwloc-bind, hwloc-calc, hwloc-distances and
hwloc-distrib, and add --restrict to hwloc-bind for uniformity among
tools.

Based on http://www.open-mpi.org/community/lists/hwloc-users/2013/10/0908.php

11 years agocontrib/update-my-copyright.pl: fix git status parsing for non-english locales
Brice Goglin [Tue, 15 Oct 2013 08:45:11 +0000 (10:45 +0200)]
contrib/update-my-copyright.pl: fix git status parsing for non-english locales

Pass LANG=C to git status so that we properly recognize modified files.

11 years agoFix make_nightly_snapshot processing.
Jeff Squyres [Fri, 4 Oct 2013 02:19:48 +0000 (19:19 -0700)]
Fix make_nightly_snapshot processing.

Leave *only one place* where "git desribe" is invoked and set into the
snapshot_version field in VERSION: the make_nightly_snapshot script.
distscript.csh no longer twiddles the VERSION file.

11 years agoUpdates for tarball generation to handle new git infrastructure.
Jeff Squyres [Thu, 3 Oct 2013 14:50:55 +0000 (10:50 -0400)]
Updates for tarball generation to handle new git infrastructure.

- No longer download latest config.sub|guess in distscript.csh; the
  GNU Autotools are updated frequently enough these days that the
  bundled versions are fine
- Rename nightly/create_tarball.sh -> nightly/make_snapshot_tarball
- Add "snapshot" and "snapshot_version" fields in VERSION; removed
  want_repo_rev and repo_rev fields
- Updated make_dist_tarball and make_snapshot_tarball to handle git
- Do not handle SVN or Mercurial repos any more
- Somewhat simplified hwloc_get_version.sh:
  - Never fill in a repo version number; always just report what is in
    VERSION already (and error out if there's not enough information
    in VERSION).  Only distscript.csh will insert a value into
    VERSION:snapshot_version (when needed).
  - Removed extra CLI options (e.g., get major/minor/etc. version
    number components)

11 years agoUpdate to only handle Git repos.
Jeff Squyres [Thu, 3 Oct 2013 14:46:15 +0000 (10:46 -0400)]
Update to only handle Git repos.

No longer handle SVN or Mercurial repos.

11 years agoConvert SVN URLs to git URLs in documentation.
Jeff Squyres [Thu, 3 Oct 2013 14:29:29 +0000 (10:29 -0400)]
Convert SVN URLs to git URLs in documentation.

11 years agoUpdate .gitignore.
Jeff Squyres [Thu, 3 Oct 2013 14:27:59 +0000 (10:27 -0400)]
Update .gitignore.

11 years agotests/embedded: improve version extraction
Jeff Squyres [Thu, 3 Oct 2013 14:27:25 +0000 (10:27 -0400)]
tests/embedded: improve version extraction

Avoid troubles when the tarball name contains another instance of 'tar'.

11 years agoutils/tests: add hwloc-compress-dir
Brice Goglin [Tue, 24 Sep 2013 14:16:24 +0000 (14:16 +0000)]
utils/tests: add hwloc-compress-dir

This commit was SVN r5816.

11 years agoAdd hwloc-compress-dir utility
Brice Goglin [Tue, 24 Sep 2013 14:15:45 +0000 (14:15 +0000)]
Add hwloc-compress-dir utility

It takes a directory of XML topologies and compresses it by using
hwloc-diff to store as many topologies as diffs as possible.

This commit was SVN r5815.

11 years agoutils/manpages: fix the layout of the DESCRIPTI...
Brice Goglin [Tue, 24 Sep 2013 14:15:03 +0000 (14:15 +0000)]
utils/manpages: fix the layout of the DESCRIPTI...

utils/manpages: fix the layout of the DESCRIPTION section

This commit was SVN r5814.

11 years agohwloc-assembler-remote: Fix typo in usage and a...
Brice Goglin [Tue, 24 Sep 2013 14:14:35 +0000 (14:14 +0000)]
hwloc-assembler-remote: Fix typo in usage and a...

hwloc-assembler-remote: Fix typo in usage and abort-out on unknown option with a single dash

This commit was SVN r5813.

11 years agodoxy: sync the list of supported platforms with...
Brice Goglin [Wed, 18 Sep 2013 13:27:07 +0000 (13:27 +0000)]
doxy: sync the list of supported platforms with...

doxy: sync the list of supported platforms with the website

This commit was SVN r5812.

11 years agoBump HWLOC_API_VERSION to 0x00010800
Brice Goglin [Mon, 16 Sep 2013 20:15:08 +0000 (20:15 +0000)]
Bump HWLOC_API_VERSION to 0x00010800

We added at least  topology_dup() and the diff interface.

This commit was SVN r5811.

11 years agohwloc-calc.h: make location parsing more reliab...
Brice Goglin [Wed, 11 Sep 2013 07:46:49 +0000 (07:46 +0000)]
hwloc-calc.h: make location parsing more reliab...

hwloc-calc.h: make location parsing more reliable and add useful error messages

Use strtol() instead of atoi() when parsing type strings, depth, and ranges,
and error-out if some spurious characters are found.
Will avoid unexpected results when using wrong separators.

Thanks for Bertrand Putigny for reporting the problem by mistake.

This commit was SVN r5810.

11 years agocore: don't debug_check the topology consistenc...
Brice Goglin [Tue, 10 Sep 2013 20:50:47 +0000 (20:50 +0000)]
core: don't debug_check the topology consistenc...

core: don't debug_check the topology consistency too early during dup()

This commit was SVN r5809.

11 years agodiff: use hwloc_uint64_t instead of uint64_t
Brice Goglin [Tue, 10 Sep 2013 20:35:11 +0000 (20:35 +0000)]
diff: use hwloc_uint64_t instead of uint64_t

This commit was SVN r5808.

11 years agodoc: add missing dependency from diff manpages ...
Brice Goglin [Tue, 10 Sep 2013 20:34:45 +0000 (20:34 +0000)]
doc: add missing dependency from diff manpages ...

doc: add missing dependency from diff manpages on the doxytag

This commit was SVN r5807.

11 years agodoc: Enable doxygen on hwloc/diff.h and add som...
Brice Goglin [Tue, 10 Sep 2013 19:53:38 +0000 (19:53 +0000)]
doc: Enable doxygen on hwloc/diff.h and add som...

doc: Enable doxygen on hwloc/diff.h and add some specific paragraphs about it

This commit was SVN r5806.

11 years agoutils/tests: add hwloc-patch/hwloc-diff test
Brice Goglin [Tue, 10 Sep 2013 19:53:07 +0000 (19:53 +0000)]
utils/tests: add hwloc-patch/hwloc-diff test

This commit was SVN r5805.

11 years agoutils: Add hwloc-diff and hwloc-patch tools for...
Brice Goglin [Tue, 10 Sep 2013 19:52:23 +0000 (19:52 +0000)]
utils: Add hwloc-diff and hwloc-patch tools for...

utils: Add hwloc-diff and hwloc-patch tools for manipulating XMLs of topologies and diffs

This commit was SVN r5804.

11 years agotests: add hwloc_topology_diff.c
Brice Goglin [Tue, 10 Sep 2013 19:51:50 +0000 (19:51 +0000)]
tests: add hwloc_topology_diff.c

This commit was SVN r5803.

11 years agodiff: implement XML import/export
Brice Goglin [Tue, 10 Sep 2013 19:51:21 +0000 (19:51 +0000)]
diff: implement XML import/export

This commit was SVN r5802.

11 years agoAdd a new hwloc/diff.h interface for listing di...
Brice Goglin [Tue, 10 Sep 2013 19:50:41 +0000 (19:50 +0000)]
Add a new hwloc/diff.h interface for listing di...

Add a new hwloc/diff.h interface for listing differences between topologies

Only the core diffing/patching functions are implemented,
XML import/export isn't yet.

This commit was SVN r5801.

11 years agotests: Add hwloc_topology_dup.c
Brice Goglin [Tue, 10 Sep 2013 19:50:03 +0000 (19:50 +0000)]
tests: Add hwloc_topology_dup.c

This commit was SVN r5800.

11 years agoAPI: Add hwloc_topology_dup()
Brice Goglin [Tue, 10 Sep 2013 19:49:34 +0000 (19:49 +0000)]
API: Add hwloc_topology_dup()

Useful for keeping a backup while modifying a topology.

This commit was SVN r5799.

11 years agocore: don't duplicate distances when duplicatin...
Brice Goglin [Tue, 10 Sep 2013 19:48:59 +0000 (19:48 +0000)]
core: don't duplicate distances when duplicatin...

core: don't duplicate distances when duplicating objects

These distances are recreated at the end of the build
(except in custom topologies because multinode distance
 matrices are not well supported. Refs #48).

This commit was SVN r5798.

11 years agocore: also duplicate online/complete/allowed se...
Brice Goglin [Tue, 10 Sep 2013 19:48:34 +0000 (19:48 +0000)]
core: also duplicate online/complete/allowed se...

core: also duplicate online/complete/allowed sets when duplicating objects

This commit was SVN r5797.

11 years agocore: abstract-out hwloc__duplicate_object()
Brice Goglin [Tue, 10 Sep 2013 19:48:13 +0000 (19:48 +0000)]
core: abstract-out hwloc__duplicate_object()

This commit was SVN r5796.

11 years agonolibxml: add support for child tag without att...
Brice Goglin [Tue, 10 Sep 2013 19:47:49 +0000 (19:47 +0000)]
nolibxml: add support for child tag without att...

nolibxml: add support for child tag without attributes

(wasn't needed so far, since the <topology> root tag is handled manually)

This commit was SVN r5795.

11 years agonolibxml: abstract out the code that reads a XM...
Brice Goglin [Tue, 10 Sep 2013 19:47:27 +0000 (19:47 +0000)]
nolibxml: abstract out the code that reads a XM...

nolibxml: abstract out the code that reads a XML file from disk

This commit was SVN r5794.

11 years agoutils: add line breaks to Makefile.am, things a...
Brice Goglin [Tue, 10 Sep 2013 17:51:28 +0000 (17:51 +0000)]
utils: add line breaks to Makefile.am, things a...

utils: add line breaks to Makefile.am, things are way too long there

This commit was SVN r5793.

11 years agoheaders: move the header file documentation to ...
Brice Goglin [Tue, 10 Sep 2013 13:52:38 +0000 (13:52 +0000)]
headers: move the header file documentation to ...

headers: move the header file documentation to groups

We don't have a file index, so putting doxygen docs in the file
header is almost useless. Move/add interesting things to the
doxy groups underneath so that it actually appears in the generated
doc.

By the way, update the README.

This commit was SVN r5792.

11 years agolinuxpci: Remove some dead code and a memory le...
Brice Goglin [Sun, 8 Sep 2013 17:03:02 +0000 (17:03 +0000)]
linuxpci: Remove some dead code and a memory le...

linuxpci: Remove some dead code and a memory leak

That code isn't needed anymore, we use pci-common.c for finding
the locality of hostbridges.

Found by Coverity Scan.

This commit was SVN r5791.

11 years agolstopo: fix a possible invalid sizeof()
Brice Goglin [Sun, 8 Sep 2013 17:02:11 +0000 (17:02 +0000)]
lstopo: fix a possible invalid sizeof()

Found by Coverity Scan.

This commit was SVN r5790.

11 years agodistances: don't attach the matrix to Misc obje...
Brice Goglin [Sun, 8 Sep 2013 13:56:43 +0000 (13:56 +0000)]
distances: don't attach the matrix to Misc obje...

distances: don't attach the matrix to Misc objects

Those have a special depth, it would mess up the distance relative_depth

This fixes tests/hwloc_insert_misc on NUMA platforms.

This commit was SVN r5789.

11 years agopci: make sure we don't export empty names (kee...
Brice Goglin [Sun, 8 Sep 2013 11:26:48 +0000 (11:26 +0000)]
pci: make sure we don't export empty names (kee...

pci: make sure we don't export empty names (keep them NULL instead)

XML imports NULL instead of "", so uniformize things a bit to avoid spurious differences.

By the way, clarify how that name is used in the debug printf.

This commit was SVN r5788.

11 years agoconfigure: improve the PCI probe summary (again...
Brice Goglin [Sun, 8 Sep 2013 11:26:21 +0000 (11:26 +0000)]
configure: improve the PCI probe summary (again...

configure: improve the PCI probe summary (again)

This commit was SVN r5787.

11 years agolinux: fix a undefined warning about hwloc_linu...
Brice Goglin [Tue, 3 Sep 2013 20:08:30 +0000 (20:08 +0000)]
linux: fix a undefined warning about hwloc_linu...

linux: fix a undefined warning about hwloc_linux_parse_cpuset_file()

Move it in the same #ifdef as its only caller.

This commit was SVN r5786.

11 years agolstopo.1: add an example from Jirka with --appe...
Brice Goglin [Tue, 3 Sep 2013 11:04:04 +0000 (11:04 +0000)]
lstopo.1: add an example from Jirka with --appe...

lstopo.1: add an example from Jirka with --append-legend

This commit was SVN r5785.

11 years agoBring 1.7.2 NEWS bullets into trunk
Brice Goglin [Tue, 3 Sep 2013 09:00:51 +0000 (09:00 +0000)]
Bring 1.7.2 NEWS bullets into trunk

This commit was SVN r5781.

11 years agolinux: Fix a bitmap leak when reading the "poss...
Brice Goglin [Mon, 2 Sep 2013 21:02:49 +0000 (21:02 +0000)]
linux: Fix a bitmap leak when reading the "poss...

linux: Fix a bitmap leak when reading the "possible" cpuset in hwloc_linux_find_kernel_nr_cpus()

(introduced in r5730)

This commit was SVN r5777.

The following SVN revision numbers were found above:
  r5730 --> 8fa27b3aa5d6b1f24927ad981281ed0bb78eea14

11 years agolstopo: add --append-legend for the graphical o...
Brice Goglin [Mon, 2 Sep 2013 21:02:19 +0000 (21:02 +0000)]
lstopo: add --append-legend for the graphical o...

lstopo: add --append-legend for the graphical output

This commit was SVN r5776.

11 years agoDon't forget to add the new include/hwloc/depre...
Brice Goglin [Fri, 30 Aug 2013 07:03:29 +0000 (07:03 +0000)]
Don't forget to add the new include/hwloc/depre...

Don't forget to add the new include/hwloc/deprecated.h

This commit was SVN r5775.

11 years agoMove deprecated functions to hwloc/deprecated.h
Brice Goglin [Fri, 30 Aug 2013 05:49:51 +0000 (05:49 +0000)]
Move deprecated functions to hwloc/deprecated.h

Only hwloc_obj_snprintf goes there for now
(it has been documented as deprecated for a long time).

This commit was SVN r5774.

11 years agoRemove remaining references of long-gone hwloc_...
Brice Goglin [Fri, 30 Aug 2013 05:49:16 +0000 (05:49 +0000)]
Remove remaining references of long-gone hwloc_...

Remove remaining references of long-gone hwloc_get_system_obj()

This commit was SVN r5773.

11 years agodoxy: document OFED Port%uState and make things...
Brice Goglin [Thu, 29 Aug 2013 07:22:05 +0000 (07:22 +0000)]
doxy: document OFED Port%uState and make things...

doxy: document OFED Port%uState and make things more clear around there

This commit was SVN r5768.

11 years agotests/linux: update new MIC output
Brice Goglin [Tue, 27 Aug 2013 20:33:28 +0000 (20:33 +0000)]
tests/linux: update new MIC output

This commit was SVN r5764.

11 years agolinux/mic: gather the serial number (available ...
Brice Goglin [Tue, 27 Aug 2013 20:24:59 +0000 (20:24 +0000)]
linux/mic: gather the serial number (available ...

linux/mic: gather the serial number (available in recent MIC drivers)

This commit was SVN r5762.

11 years agodoxy: document other MIC info attributes
Brice Goglin [Tue, 27 Aug 2013 20:24:33 +0000 (20:24 +0000)]
doxy: document other MIC info attributes

This commit was SVN r5761.

11 years agoNEWS: reorder v1.8 bullets
Brice Goglin [Tue, 27 Aug 2013 15:41:47 +0000 (15:41 +0000)]
NEWS: reorder v1.8 bullets

This commit was SVN r5760.

11 years agolstopo(1): talk about --horiz/--vert in LAYOUT
Brice Goglin [Tue, 27 Aug 2013 15:38:42 +0000 (15:38 +0000)]
lstopo(1): talk about --horiz/--vert in LAYOUT

This commit was SVN r5759.

11 years agolstopo: add a lstopoStyle info attribute to cha...
Brice Goglin [Tue, 27 Aug 2013 15:38:09 +0000 (15:38 +0000)]
lstopo: add a lstopoStyle info attribute to cha...

lstopo: add a lstopoStyle info attribute to change colors

This attribute must be a semi-colon-separated list of "<attr>=#xxyyzz".
<attr> can be Background (to change the box color), Background2
(other box color), Text (main text color) or Text2 (other text color).
Numbers are hexidecimal, truncated to [0-255].
Details in CUSTOM COLORS in the lstopo(1) manpage.

Suggested by Jirka Hladky.

This commit was SVN r5758.

11 years agohwloc-annotate(1): fix examples
Brice Goglin [Mon, 26 Aug 2013 22:07:47 +0000 (22:07 +0000)]
hwloc-annotate(1): fix examples

This commit was SVN r5756.

11 years agohwloc-annotate: add --ri to replace/remove exis...
Brice Goglin [Mon, 26 Aug 2013 13:56:13 +0000 (13:56 +0000)]
hwloc-annotate: add --ri to replace/remove exis...

hwloc-annotate: add --ri to replace/remove existing info attrs with given name

This commit was SVN r5755.

11 years agohwloc-info: support all and root locations for ...
Brice Goglin [Tue, 20 Aug 2013 20:22:26 +0000 (20:22 +0000)]
hwloc-info: support all and root locations for ...

hwloc-info: support all and root locations for dumping information about the root object

This commit was SVN r5754.

11 years agohwloc-info.1: fix indentation in the synopsis
Brice Goglin [Tue, 20 Aug 2013 20:18:41 +0000 (20:18 +0000)]
hwloc-info.1: fix indentation in the synopsis

This commit was SVN r5752.

11 years agotests/linux: update outputs with ofed port stat...
Brice Goglin [Wed, 7 Aug 2013 19:36:50 +0000 (19:36 +0000)]
tests/linux: update outputs with ofed port stat...

tests/linux: update outputs with ofed port state

This commit was SVN r5751.

11 years agolinux: add a Port%uState info attribute to ofed...
Brice Goglin [Wed, 7 Aug 2013 19:29:45 +0000 (19:29 +0000)]
linux: add a Port%uState info attribute to ofed...

linux: add a Port%uState info attribute to ofed OS devices

This commit was SVN r5750.

11 years agodoc: update DOX_TAG dependencies after doc/sect...
Brice Goglin [Sun, 4 Aug 2013 21:10:39 +0000 (21:10 +0000)]
doc: update DOX_TAG dependencies after doc/sect...

doc: update DOX_TAG dependencies after doc/sections rework

(This fixes parallel builds)

This commit was SVN r5749.

11 years agohwloc_pci_find_cap(): Remove config space size ...
Brice Goglin [Mon, 29 Jul 2013 09:38:54 +0000 (09:38 +0000)]
hwloc_pci_find_cap(): Remove config space size ...

hwloc_pci_find_cap(): Remove config space size checks

The caller must now pass a 256-byte config space,
we can remove several checks.

This commit was SVN r5748.

11 years agopci: Always use a 256-byte config space
Brice Goglin [Mon, 29 Jul 2013 09:38:31 +0000 (09:38 +0000)]
pci: Always use a 256-byte config space

Initialize everything to 0xff (unknown) before reading the config space,
remove useless size checks everything, and rely on the callee to actually
check things it reads (it already did).

libpci doesn't report the length of the config space it actually reads,
so we can't safely rely on config space size checks. So this actually stop
using unitialized config space data when not running as root
(between 65th and 256th bytes, where we look for capabilities and link speed).

This commit was SVN r5747.

11 years agohwloc_pci_prepare_bridge: Move config space man...
Brice Goglin [Mon, 29 Jul 2013 09:38:09 +0000 (09:38 +0000)]
hwloc_pci_prepare_bridge: Move config space man...

hwloc_pci_prepare_bridge: Move config space management size to the caller

Just document that this function needs 64 bytes of common configuration header.

This commit was SVN r5746.

11 years agohwloc_pci_find_linkspeed: Move config space man...
Brice Goglin [Mon, 29 Jul 2013 09:37:42 +0000 (09:37 +0000)]
hwloc_pci_find_linkspeed: Move config space man...

hwloc_pci_find_linkspeed: Move config space management size to the caller

Just document that this function needs 20 bytes after offset.

This commit was SVN r5745.

11 years agoAPI/doc reorg: NEWS and doc updates
Brice Goglin [Tue, 23 Jul 2013 13:30:16 +0000 (13:30 +0000)]
API/doc reorg: NEWS and doc updates

This commit was SVN r5744.

11 years agoAPI/doc reorg: Fix remaining section names
Brice Goglin [Tue, 23 Jul 2013 13:29:53 +0000 (13:29 +0000)]
API/doc reorg: Fix remaining section names

This commit was SVN r5743.

11 years agoAPI/doc reorg: move alloc_membind helpers to fr...
Brice Goglin [Tue, 23 Jul 2013 13:29:28 +0000 (13:29 +0000)]
API/doc reorg: move alloc_membind helpers to fr...

API/doc reorg: move alloc_membind helpers to friends into hwloc.h and rename the remaining section accordingly

This commit was SVN r5742.

11 years agoAPI/doc reorg: cleanup cpu/node sets helpers
Brice Goglin [Tue, 23 Jul 2013 13:29:05 +0000 (13:29 +0000)]
API/doc reorg: cleanup cpu/node sets helpers

This commit was SVN r5741.