From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754059AbbLTCb4 (ORCPT ); Sat, 19 Dec 2015 21:31:56 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:36887 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbbLTCbz (ORCPT ); Sat, 19 Dec 2015 21:31:55 -0500 Message-ID: <1450578711.3793.8.camel@gmail.com> Subject: Re: [PATCH v4] Fix INT1 Recursion with unregistered breakpoints From: Mike Galbraith To: Jeff Merkey , linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, peterz@infradead.org, luto@kernel.org Date: Sun, 20 Dec 2015 03:31:51 +0100 In-Reply-To: <20151220021347.GA14466@localhost.localdomain> References: <20151220021347.GA14466@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2015-12-19 at 19:13 -0700, Jeff Merkey wrote: > @@ -519,6 +528,18 @@ static int hw_breakpoint_handler(struct die_args > *args) > (dr6 & (~DR_TRAP_BITS))) > rc = NOTIFY_DONE; > > + /* > + * if we are about to signal to > + * do_debug() to stop further processing > + * and we have not ascertained the source > + * of the breakpoint, log it as spurious. > + */ Ahem...