From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752496AbdJTSOd (ORCPT ); Fri, 20 Oct 2017 14:14:33 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:41551 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751329AbdJTSOc (ORCPT ); Fri, 20 Oct 2017 14:14:32 -0400 Date: Fri, 20 Oct 2017 20:14:24 +0200 (CEST) From: Thomas Gleixner To: Tvrtko Ursulin cc: linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Sebastian Andrzej Siewior , "Paul E. McKenney" , Boris Ostrovsky Subject: Re: Possible bug in CPU hotplug handling (4.14.0-rc5) In-Reply-To: <64e7e66f-a90b-eaa8-de70-51a8d907b5b4@ursulin.net> Message-ID: References: <64e7e66f-a90b-eaa8-de70-51a8d907b5b4@ursulin.net> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 Oct 2017, Tvrtko Ursulin wrote: > Hi all, > > I think I've found in bug in the CPU hotplug handling when multi-instance > states are used. That is in the 4.14.0-rc5 kernel. > I have not attempted to get to the bottom of the issue to propose an actual > fix, since the logic there looks somewhat complex, but thought to first > seek opinion of the people in the know regarding this area. These commits fiddled with that post rc1, so it's probably burried somewhere there. 1db49484f21e ("smp/hotplug: Hotplug state fail injection") 5ebe7742fff8 ("smp/hotplug: Differentiate the AP completion between up and down") 5f4b55e10645 ("smp/hotplug: Differentiate the AP-work lockdep class between up and down") 724a86881d03 ("smp/hotplug: Callback vs state-machine consistency") 4dddfb5faa61 ("smp/hotplug: Rewrite AP state machine core") 96abb968549c ("smp/hotplug: Allow external multi-instance rollback") I'll have a look at it on sunday (tomorrow I'm conferencing) with Peter, so we should be able to figure it out, unless you beat us to it. Thanks, tglx