From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751334AbcBKWw7 (ORCPT ); Thu, 11 Feb 2016 17:52:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45783 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750800AbcBKWw6 (ORCPT ); Thu, 11 Feb 2016 17:52:58 -0500 Message-ID: <1455231177.3767.62.camel@redhat.com> Subject: Re: [PATCH 18/31] Add debugger entry points for C6X From: Mark Salter To: Jeffrey Merkey , linux-kernel@vger.kernel.org Cc: a-jacquiot@ti.com, linux.mdb@gmail.com, linux-c6x-dev@linux-c6x.org Date: Thu, 11 Feb 2016 17:52:57 -0500 In-Reply-To: <1454010428-29139-1-git-send-email-jeffmerkey@gmail.com> References: <1454010428-29139-1-git-send-email-jeffmerkey@gmail.com> Organization: Red Hat, Inc Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-01-28 at 12:47 -0700, Jeffrey Merkey wrote: > This patch series adds an export which can be set by system debuggers to > direct the hard lockup and soft lockup detector to trigger a breakpoint > exception and enter a debugger if one is active.  It is assumed that if > someone sets this variable, then an breakpoint handler of some sort will > be actively loaded or registered via the notify die handler chain. > > This addition is extremely useful for debugging hard and soft lockups > real time and quickly from a console debugger. > > Signed-off-by: Jeffrey Merkey > --- Acked-by: Mark Salter >  arch/c6x/include/asm/kdebug.h | 4 ++++ >  1 file changed, 4 insertions(+) >  create mode 100644 arch/c6x/include/asm/kdebug.h > > diff --git a/arch/c6x/include/asm/kdebug.h b/arch/c6x/include/asm/kdebug.h > new file mode 100644 > index 0000000..5d09de1 > --- /dev/null > +++ b/arch/c6x/include/asm/kdebug.h > @@ -0,0 +1,4 @@ > + > +static inline void arch_breakpoint(void) > +{ > +}