Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbbF3RPy (ORCPT ); Tue, 30 Jun 2015 13:15:54 -0400 Received: from mail.skyhub.de ([78.46.96.112]:44236 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751080AbbF3RPq (ORCPT ); Tue, 30 Jun 2015 13:15:46 -0400 Date: Tue, 30 Jun 2015 19:15:24 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: Andy Lutomirski , X86 ML , "linux-kernel@vger.kernel.org" , =?utf-8?B?RnLDqWTDqXJpYw==?= Weisbecker , Rik van Riel , Oleg Nesterov , Denys Vlasenko , Kees Cook , Brian Gerst , Paul McKenney Subject: Re: [PATCH v4 07/17] x86/traps: Assert that we're in CONTEXT_KERNEL in exception entries Message-ID: <20150630171524.GG23297@pd.tnic> References: <20150630170103.GF23297@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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: 715 Lines: 26 On Tue, Jun 30, 2015 at 10:08:00AM -0700, Andy Lutomirski wrote: > I would agree, except that I remove the exception_enter calls later in > the series, so that wouldn't work. Ah. > Maybe we should move them into common code outside the specific > exception handlers (idtentry?) when the dust settles. Yeah, that macro is huge but it could survive yet another CALL . :-) Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- 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/