[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140411101035.24827.17887.stgit@preeti.in.ibm.com>
Date: Fri, 11 Apr 2014 15:41:25 +0530
From: Preeti U Murthy <preeti@...ux.vnet.ibm.com>
To: linuxppc-dev@...abs.org
Cc: benh@...nel.crashing.org, paulus@...ba.org,
linux-kernel@...r.kernel.org, srivatsa.bhat@...ux.vnet.ibm.com
Subject: [PATCH 0/3] ppc:Set runlatch bits correctly for offline threads and
vcpus
The runlatch bits with their value indicated by CTRL_RUNLATCH are set and
cleared in the SPRN_CTRL registers to indicate a busy and idle cpu
respectively. This is currently being done in the cpuidle path of the host.
But needs to be taken care of in hotplug and kvm scenarios. This patchset
is aimed at ensuring that the runlatch bits are consisten with the
utilization of a CPU under all circumstances.
---
Preeti U Murthy (3):
ppc/powernv: Set the runlatch bits correctly for offline cpus
ppc/kvm: Set the runlatch bit of a CPU just before starting guest
ppc/kvm: Clear the runlatch bit of a vcpu before napping
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 18 +++++++++++++++++-
arch/powerpc/platforms/powernv/smp.c | 3 +++
2 files changed, 20 insertions(+), 1 deletion(-)
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists