From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753167AbbC0MEL (ORCPT ); Fri, 27 Mar 2015 08:04:11 -0400 Received: from mail.skyhub.de ([78.46.96.112]:43636 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752091AbbC0MEH (ORCPT ); Fri, 27 Mar 2015 08:04:07 -0400 Date: Fri, 27 Mar 2015 13:02:18 +0100 From: Borislav Petkov To: Dave Hansen Cc: linux-kernel@vger.kernel.org, x86@kernel.org, tglx@linutronix.de, dave.hansen@linux.intel.com Subject: Re: [PATCH 04/17] x86, mpx: trace entry to bounds exception paths Message-ID: <20150327120218.GB18927@pd.tnic> References: <20150326183327.64807530@viggo.jf.intel.com> <20150326183338.A18B4E8D@viggo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150326183338.A18B4E8D@viggo.jf.intel.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 On Thu, Mar 26, 2015 at 11:33:38AM -0700, Dave Hansen wrote: > > From: Dave Hansen > > There are two basic things that can happen as the result of > a bounds exception (#BR): > > 1. We allocate a new bounds table > 2. We pass up a bounds exception to userspace. > > This patch adds a trace points for the case where we are a tracepoint > passing the exception up to userspace with a signal. > > We are also explicit that we're printing out the inverse of > the 'upper' that we encounter. If you want to filter, for > instance, you need to ~ the value first. negate > > Signed-off-by: Dave Hansen > --- > > b/arch/x86/include/asm/trace/mpx.h | 25 +++++++++++++++++++++++++ > b/arch/x86/mm/mpx.c | 2 ++ > 2 files changed, 27 insertions(+) ... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --