From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754295AbbFQKCy (ORCPT ); Wed, 17 Jun 2015 06:02:54 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:37586 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752780AbbFQKCr (ORCPT ); Wed, 17 Jun 2015 06:02:47 -0400 Date: Wed, 17 Jun 2015 12:02:42 +0200 From: Ingo Molnar To: Andy Lutomirski Cc: x86@kernel.org, linux-kernel@vger.kernel.org, =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Rik van Riel , Oleg Nesterov , Denys Vlasenko , Borislav Petkov , Kees Cook , Brian Gerst , Linus Torvalds Subject: Re: [RFC/INCOMPLETE 08/13] x86/entry/64: Migrate 64-bit syscalls to new exit hooks Message-ID: <20150617100242.GA6015@gmail.com> References: <0ee44a97cf6ffd9a948425b27fa8d48fa271c440.1434485184.git.luto@kernel.org> <20150617100009.GA5673@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150617100009.GA5673@gmail.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 * Ingo Molnar wrote: > > * Andy Lutomirski wrote: > > > This is separate for ease of bisection. > > > > Signed-off-by: Andy Lutomirski > > --- > > arch/x86/entry/entry_64.S | 68 +++++------------------------------------------ > > 1 file changed, 7 insertions(+), 61 deletions(-) > > > > diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S > > index 33acc3dcc281..a5044d7a9d43 100644 > > --- a/arch/x86/entry/entry_64.S > > +++ b/arch/x86/entry/entry_64.S > > @@ -229,6 +229,11 @@ entry_SYSCALL_64_fastpath: > > */ > > USERGS_SYSRET64 > > > > +GLOBAL(int_ret_from_sys_call_irqs_off) > > + TRACE_IRQS_ON > > + ENABLE_INTERRUPTS(CLBR_NONE) > > + jmp int_ret_from_sys_call > > Any reason why irq state tracking cannot be done in C as well, like the rest of > the irq state tracking code? Never mind, I see you've done exactly that in patch #12. Thanks, Ingo