Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937881AbcLMRUo (ORCPT ); Tue, 13 Dec 2016 12:20:44 -0500 Received: from mail.skyhub.de ([78.46.96.112]:33790 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936440AbcLMRUi (ORCPT ); Tue, 13 Dec 2016 12:20:38 -0500 Date: Tue, 13 Dec 2016 18:51:29 +0100 From: Borislav Petkov To: Andy Lutomirski Cc: Josh Poimboeuf , x86-ml , lkml , Andy Lutomirski Subject: Re: WARNING: kernel stack frame pointer at ffffffff82e03f40 in swapper:0 has bad value (null) Message-ID: <20161213175129.t6opvcuj5eukayki@pd.tnic> References: <20161212154542.ul6cnzjtkbvooluh@treble> <20161212175023.455mlwhmnqfew2nu@pd.tnic> <20161212181025.uz3gk3jasuskqfmf@treble> <20161212211627.yuodrw35xwq3hmn7@treble> <20161212213446.imd3hpt3nudomu7r@pd.tnic> <20161212221147.twp2nlcolokzq4a4@treble> <20161212223354.qpkut2kc254dfmxi@pd.tnic> <20161212230511.22dusz7bwrvmtjd3@treble> <20161213143455.kj5siigmad4f3xim@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 896 Lines: 35 On Tue, Dec 13, 2016 at 08:55:53AM -0800, Andy Lutomirski wrote: > I want to file a GCC bug, though. This code sucks. Looks like it started doing that with gcc-5. gcc-4.9 output looks fine here: .globl x86_64_start_kernel .type x86_64_start_kernel, @function x86_64_start_kernel: .LFB2013: .loc 1 134 0 .cfi_startproc pushq %rbp # .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp #, .cfi_def_cfa_register 6 pushq %rbx # .cfi_offset 3, -24 .loc 1 134 0 movq %rdi, %rbx # real_mode_data, real_mode_data .LBB157: .LBB158: .LBB159: .LBB160: .LBB161: .loc 3 69 0 #APP # 69 "./arch/x86/include/asm/special_insns.h" 1 mov %cr4,%rax # val -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.