From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753843AbdKXVtP (ORCPT ); Fri, 24 Nov 2017 16:49:15 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:39039 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753620AbdKXVtN (ORCPT ); Fri, 24 Nov 2017 16:49:13 -0500 X-Google-Smtp-Source: AGs4zMZIFWKLhHbpAvC8moiPzDdMH6elck7GJw/WpdXztKjVoOo5PLj1FuDmz5SUbCOFl+Nn70tq2w== Date: Fri, 24 Nov 2017 22:49:09 +0100 From: Ingo Molnar To: Andy Lutomirski Cc: Josh Poimboeuf , "linux-kernel@vger.kernel.org" , Dave Hansen , Thomas Gleixner , "H . Peter Anvin" , Peter Zijlstra , Borislav Petkov , Linus Torvalds Subject: Re: [crash] PANIC: double fault, error_code: 0x0 Message-ID: <20171124214909.qi5v3rgka6ibtbpj@gmail.com> References: <20171124172411.19476-1-mingo@kernel.org> <20171124202237.oytdkqq25s3ak2ul@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andy Lutomirski wrote: > On Fri, Nov 24, 2017 at 12:22 PM, Ingo Molnar wrote: > > > > * Ingo Molnar wrote: > > > >> This is a repost of the latest entry-stack plus Kaiser bits from Andy Lutomirski > >> (v3 series from today) and Dave Hansen (kaiser-414-tipwip-20171123 version), > >> on top of latest tip:x86/urgent (12a78d43de76). > >> > >> This version is pretty well tested, at least on the usual x86 tree test systems. > >> It has a couple of merge mistakes fixed, the biggest difference is in patch #22: > >> > >> x86/mm/kaiser: Prepare assembly for entry/exit CR3 switching > >> > >> The other patches are identical or very close to what I posted earlier today. > > > > Here's a new bug, on a testsystem I get the double fault boot crash attached > > below. The same bzImage crashes on other systems as well, so it's not CPU > > dependent. > > > > Via Kconfig-bisection I have narrowed it down to the following .config detail: > > it's triggered by _disabling_ CONFIG_DEBUG_ENTRY and enabling CONFIG_KAISER=y. > > > > I.e. one of the sanity checks of CONFIG_DEBUG_ENTRY has some positive side effect. > > That's weird and definitely not intentional. Btw., can you reproduce the crash by disabling CONFIG_DEBUG_ENTRY with CONFIG_KAISER=y? Thanks, Ingo