Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3v3Qlg6MftzDqLd for ; Wed, 18 Jan 2017 23:10:23 +1100 (AEDT) In-Reply-To: <20170116175853.2458-1-benh@kernel.crashing.org> To: Benjamin Herrenschmidt , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Paul Mackerras Subject: Re: powerpc/icp-opal: Fix missing KVM case and harden replay Message-Id: <3v3Qlg5Czkz9tkD@ozlabs.org> Date: Wed, 18 Jan 2017 23:10:23 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2017-01-16 at 17:58:53 UTC, Benjamin Herrenschmidt wrote: > The icp-opal call is missing the code from icp-native to recover > interrupts snatched by KVM. Without that, when running KVM, we can > get into a situation where an interrupt is lost and the CPU stuck > with an elevated CPPR. > > Also harden replay by always checking the return from opal_int_eoi > > Signed-off-by: Benjamin Herrenschmidt Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/9728a7c8ab2f7a1c8d5c95278d2e4f cheers