Patch "powerpc/powernv: Properly set "host-ipi" on IPIs" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
powerpc/powernv: Properly set "host-ipi" on IPIs
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
powerpc-powernv-properly-set-host-ipi-on-ipis.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Jun 15 11:12:23 CEST 2017
From: Benjamin Herrenschmidt <[email protected]>
Date: Tue, 23 May 2017 21:53:46 -0400
Subject: powerpc/powernv: Properly set "host-ipi" on IPIs
From: Benjamin Herrenschmidt <[email protected]>
[ Upstream commit f83e6862047e1e371bdc5d512dd6cabe8a3965b8 ]
Otherwise KVM will fail to pass them through to the host
--- arch/powerpc/sysdev/xics/icp-opal.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/powerpc/sysdev/xics/icp-opal.c +4 -2
@@ -130,14 +130,16 @@ static void icp_opal_cause_ipi(int cpu, {int hw_cpu =get_hard_smp_processor_id (cpu); +kvmppc_set_host_ipi (cpu,1 );opal_int_set_mfrr (hw_cpu,IPI_PRIORITY ); }static irqreturn_t icp_opal_ipi_action (int irq,void *dev_id) { -int hw_cpu =hard_smp_processor_id (); +int cpu =smp_processor_id (); -opal_int_set_mfrr (hw_cpu,0xff ); +kvmppc_set_host_ipi (cpu,0 ); +opal_int_set_mfrr (get_hard_smp_processor_id (cpu),0xff );return smp_ipi_demux (); }
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/powerpc-powernv-properly-set-host-ipi-on-ipis.patch