i2c or eeprom enumeration problem

From: Ulrich Drepper
Date: Mon Apr 28 2008 - 00:21:33 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On a NUMA system the eeprom interface in /sys

/sys/bus/i2c/drivers/eeprom/*

do not list all the DRAM eeproms. Only the DRAM from one node is
listed. I have a 4 socket system with all 16 banks filled and see only
4 entries.

My suspicion (without looking at any code) is that the list of i2c
devices with eeproms is collected once and this happens only on one CPU.
I sees not to be dynamic since when I read the files with taskset
restricting execution on certain sockets and cores the result doesn't
change.

Is this known or expected (I hope not the latter)? Where should I look
at? I assume that's in the i2c code?

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIFVCa2ijCOnn/RHQRAhA6AJwN9Mc7HzmLM4EgWunC9eucPsDcTwCgtExK
rsz/RJMFHQMB+zIX/WuE2M8=
=OQfT
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/