qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ARM CPU affinities
@ 2015-09-27 21:28 Peter Crosthwaite
  2015-09-28  9:13 ` Peter Maydell
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Crosthwaite @ 2015-09-27 21:28 UTC (permalink / raw)
  To: qemu-devel@nongnu.org Developers, Peter Maydell, Pavel Fedin

Hi Peter,

I am looking at this:

static void arm_cpu_initfn(Object *obj)
{
    ...
    Aff1 = cs->cpu_index / ARM_CPUS_PER_CLUSTER;
    Aff0 = cs->cpu_index % ARM_CPUS_PER_CLUSTER;
    cpu->mp_affinity = (Aff1 << ARM_AFF1_SHIFT) | Aff0;


Should we push this up to the machine model? I am trying to fix a
machine where Aff1 of the one and only cluster is non-zero. The kernel
SMP support barfs when Aff1 is mismatched to whats in the DTB (CPU reg
property).

I think this modulo 8 starting from 0:0 policy might be specific to mach-virt?

Regards,
Peter

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-09-29  9:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-27 21:28 [Qemu-devel] ARM CPU affinities Peter Crosthwaite
2015-09-28  9:13 ` Peter Maydell
2015-09-28 11:49   ` Pavel Fedin
2015-09-28 15:12   ` Andrew Jones
2015-09-28 15:16     ` Pavel Fedin
2015-09-28 15:24       ` Andrew Jones
2015-09-28 15:36         ` Pavel Fedin
2015-09-29  6:15           ` Andrew Jones
2015-09-29  9:17             ` Peter Maydell
2015-09-28 16:56   ` Peter Crosthwaite
2015-09-28 17:04     ` Pavel Fedin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).