From: Paul Mackerras Date: Thu, 19 Mar 2015 08:29:01 +0000 (+1100) Subject: powerpc/powernv: Fixes for hypervisor doorbell handling X-Git-Tag: omap-for-v4.1/fixes-rc1~271^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=755563bc79c764c90b9f44db5e4fe6c556d3440c;p=pandora-kernel.git powerpc/powernv: Fixes for hypervisor doorbell handling Since we can now use hypervisor doorbells for host IPIs, this makes sure we clear the host IPI flag when taking a doorbell interrupt, and clears any pending doorbell IPI in pnv_smp_cpu_kill_self() (as we already do for IPIs sent via the XICS interrupt controller). Otherwise if there did happen to be a leftover pending doorbell interrupt for an offline CPU thread for any reason, it would prevent that thread from going into a power-saving mode; it would instead keep waking up because of the interrupt. Signed-off-by: Paul Mackerras Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed