Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933070AbbEMFdT (ORCPT ); Wed, 13 May 2015 01:33:19 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:55583 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751131AbbEMFdQ (ORCPT ); Wed, 13 May 2015 01:33:16 -0400 Date: Wed, 13 May 2015 08:33:05 +0300 From: Baruch Siach To: Maninder Singh Cc: will.deacon@arm.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "v.narang@samsung.com" , AJEET YADAV , AKHILESH KUMAR , Amit Arora Subject: Re: [EDT][PATCH 1/1] hw_breakpoint.c :cpu hotplug handling Message-ID: <20150513053305.GK2558@tarshish> References: <556690501.99511431494646065.JavaMail.weblogic@ep2mlwas05a> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <556690501.99511431494646065.JavaMail.weblogic@ep2mlwas05a> 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: 1585 Lines: 44 Hi Maninder Singh, On Wed, May 13, 2015 at 05:24:07AM +0000, Maninder Singh wrote: > EP-2DAD0AFA905A4ACB804C4F82A001242F > > Subject: [PATCH 1/1] hw_breakpoint.c :cpu hotplug handling > > This patch adds support for CPU hotplug, It re-installl all installed watchpoints and breakpoints > back on H/W in case of cpu-hot plug. > > Signed-off-by: Vaneet Narang > Signed-off-by: Maninder Singh > Reviewed-by: Amit Arora > Reviewed-by: Ajeet Yadav > --- > arch/arm/kernel/hw_breakpoint.c | 56 +++++++++++++++++++++++++++++++++++++++ > 1 files changed, 56 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/kernel/hw_breakpoint.c b/arch/arm/kernel/hw_breakpoint.c > index dc7d0a9..172bfa8 100644 > --- a/arch/arm/kernel/hw_breakpoint.c > +++ b/arch/arm/kernel/hw_breakpoint.c > @@ -388,6 +388,56 @@ int arch_install_hw_breakpoint(struct perf_event *bp) > return 0; > } > > +/* > + * reInstall a perf counter breakpoint. > + */ > +void arch_reinstall_hw_breakpoint(int index, int type) Static? baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - -- 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/