Comment 2 for bug 1387843

Revision history for this message
Daniel Manrique (roadmr) wrote :

I found that we are missing the 'cache' and 'bogomips' attributes for these powerpc processors, if I add those manually to the submission I get this result which DOES show processor information:

https://certification.staging.canonical.com/hardware/201112-10259/submission/96877/devices/

SO potentially 2 changes to make:

- Ensure we know about ppc64el and ppc64le and treat them equivalently
- Either ensure the submission parser can cope with missing attributes in processor, or ensure that the cpuinfo parser always supplies all values (even if bogus). I'm not sure what a good bogus/placeholder value would be, as "0" would misleadingly mean the CPU has no cache.

Ideally, we should add the ppc's cpuinfo data so we can verify this with the cpuinfo parser tests which I added in rev 3299. The cpuinfo data in question can be taken from the submission, or it's like this:

processor : 0
cpu : POWER8E (raw), altivec supported
clock : 3458.000000MHz
revision : 2.0 (pvr 004b 0200)

timebase : 512000000
platform : pSeries
model : IBM pSeries (emulated by qemu)
machine : CHRP IBM pSeries (emulated by qemu)