Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755170AbbDTPmE (ORCPT ); Mon, 20 Apr 2015 11:42:04 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:38873 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbbDTPmB (ORCPT ); Mon, 20 Apr 2015 11:42:01 -0400 Date: Mon, 20 Apr 2015 17:41:48 +0200 From: Rabin Vincent To: Ingo Molnar Cc: Guenter Roeck , Linus Torvalds , Linux Kernel Mailing List , Peter Zijlstra , Thomas Gleixner , "Paul E. McKenney" Subject: Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking) Message-ID: <20150420154148.GA18104@debian> References: <20150418232325.GA22411@roeck-us.net> <20150418234050.GA5987@roeck-us.net> <55330B32.4010907@roeck-us.net> <20150419033940.GA25145@debian> <20150419093112.GA6139@gmail.com> <5533B6D7.9050101@roeck-us.net> <20150419180140.GA8934@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150419180140.GA8934@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 821 Lines: 16 On Sun, Apr 19, 2015 at 08:01:40PM +0200, Ingo Molnar wrote: > That's all fine and good, but why is an IPI sent to a non-existent > CPU? It's not like we don't know which CPU is up and down. The perf events code is trying to call smp_call_function_single() on the non-existent CPU in perf_event_exit_cpu_context() while handling the CPU_UP_CANCELED notification. perf_cpu_notify() handles CPU_UP_CANCELED and CPU_DOWN_PREPARE in the same way. (cpu_up() is tried for the non-existing CPUs because in this case what is specified in the device tree does not match reality.) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/