On Mon, 15 Feb 2010 14:26:12 -0500
Quay, Jonathan (IHG) jonathan.q...@ihg.com wrote:
zsles10sp3ctl:/sys/devices/system/cpu/cpu0 # cat capability
1760
It looks like the kernel uses the wrong value. IBM says that the
secondary number is the IFL capability (lower is faster).
Hmm, that number is retrieved by this code snipped:
rc = stsi(info, 1, 2, 2);
if (rc == -ENOSYS)
goto out;
rc = 0;
*capability = info-capability;
struct sysinfo_1_2_2 {
char format;
char reserved_0[1];
unsigned short acc_offset;
char reserved_1[24];
unsigned int secondary_capability;
unsigned int capability;
unsigned short cpus_total;
unsigned short cpus_configured;
unsigned short cpus_standby;
unsigned short cpus_reserved;
unsigned short adjustment[0];
};
It always reports the primary capability. We'll investigate.
--
blue skies,
Martin.
Reality continues to ruin my life. - Calvin.
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390