
6 Apr
2018
6 Apr
'18
9:47 a.m.
Hi Christian,
On Fri, Apr 6, 2018 at 2:55 PM, Christian Gmeiner christian.gmeiner@gmail.com wrote:
Hi
I tried my luck on the u-boot irc channel but nobody cared so I am asking this here again. Does cpu_get_count(..) return the number of physical CPUs or the number of logical CPUs?
I am currently preparing a patch set which adds arch/x86/cpu/queensbay/cpu.c and there I need to specify a struct cpu_ops with a function called get_count(). But what must I return (physical vs. logical CPU count)?
It's logical CPUs, say you have one physical CPU, each with dual-threads, so get_count() returns 2.
But Intel CrownBay already supports SMP in U-Boot. What patch are you working on?
Regards, Bin