From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755810AbcDDOGw (ORCPT ); Mon, 4 Apr 2016 10:06:52 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:35699 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755731AbcDDOGu (ORCPT ); Mon, 4 Apr 2016 10:06:50 -0400 Subject: Re: [PATCH] arm64: hw-breakpoint: Remove superfluous SMP function call To: Anna-Maria Gleixner , linux-kernel@vger.kernel.org References: <1459766569-17237-1-git-send-email-anna-maria@linutronix.de> Cc: linux-arm-kernel@lists.infradead.org, Catalin Marinas , rt@linutronix.de, Will Deacon From: Sergei Shtylyov Message-ID: <570274F6.3050602@cogentembedded.com> Date: Mon, 4 Apr 2016 17:06:46 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <1459766569-17237-1-git-send-email-anna-maria@linutronix.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/4/2016 1:42 PM, Anna-Maria Gleixner wrote: > Since commit 1cf4f629d9d2 ("cpu/hotplug: Move online calls to > hotplugged cpu") it is ensured that callbacks of CPU_ONLINE and > CPU_DOWN_PREPARE are processed on the hotplugged cpu. Due to this SMP CPU. My spell checker also trips over "hotplugged"... > function calls are no longer required. > > Replace smp_call_function_single() with a direct call of > hw_breakpoint_reset(). To keep the calling convention, interrupts are > explicitely disabled around the call. Explicitly. > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-kernel@lists.infradead.org > Signed-off-by: Anna-Maria Gleixner [...] MBR, Sergei