]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: KVM: fix L2CTLR to be per-cluster
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 23 Mar 2015 07:07:23 +0000 (15:07 +0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 30 Apr 2015 09:14:58 +0000 (11:14 +0200)
commita8f46a9f4da79c29b7af2a1b4f77c536da0fed3b
tree203b06a0fe29d44d3759c1cf41d92e5b759950cd
parent130d0bdf34fb4e7b43683bb9ef27fcb812915e49
ARM: KVM: fix L2CTLR to be per-cluster

commit 9cbb6d969cb6561de45d917b8bb9281cb374bb35 upstream.

The L2CTLR register contains the number of CPUs in this cluster.

Make sure the register content is actually relevant to the vcpu
that is being configured by computing the number of cores that are
part of its cluster.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm/kvm/coproc_a15.c