From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752296AbcGYHHX (ORCPT ); Mon, 25 Jul 2016 03:07:23 -0400 Received: from mail.skyhub.de ([78.46.96.112]:40377 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751134AbcGYHHP (ORCPT ); Mon, 25 Jul 2016 03:07:15 -0400 Date: Mon, 25 Jul 2016 09:06:48 +0200 From: Borislav Petkov To: Nicolai Stange Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arch/x86/kernel/cpu/microcode/intel: don't store initrd's start Message-ID: <20160725070648.GB24576@nazgul.tnic> References: <20160724150549.2833-1-nicstange@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160724150549.2833-1-nicstange@gmail.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 24, 2016 at 05:05:49PM +0200, Nicolai Stange wrote: > On x86_64 with CONFIG_RANDOMIZE_MEMORY and CONFIG_MICROCODE_INTEL, > I get the following splat upon booting on an Intel i7-4800MQ: Before we dive into this, let's establish which tree you're exactly testing... > > Call Trace: > [] ? find_microcode_patch+0x4a/0xa0 > [] load_microcode.isra.1.constprop.12+0x37/0xa0 > [...] > [] load_ucode_intel_ap+0x5d/0x80 > [] load_ucode_ap+0x94/0xa0 > [] cpu_init+0x58/0x3e0 > [] ? set_pte_vaddr+0x5c/0x90 > [] trap_init+0x2b6/0x328 > [] start_kernel+0x224/0x47f > [] ? early_idt_handler_array+0x120/0x120 > [] x86_64_start_reservations+0x29/0x2b > [] x86_64_start_kernel+0x14d/0x170 > [...] > RIP [] has_newer_microcode+0x5/0x20 > [...] > ---[ end trace b163fd3960fd46fb ]--- > Kernel panic - not syncing: Attempted to kill the idle task! > ---[ end Kernel panic - not syncing: Attempted to kill the idle task! > > It can be bisected to commit 21ef9a5c3164 ("Merge branch 'x86/microcode'"). This commit 21ef9a5c3164 does not exist - the current merge commit corresponding to this is commit 2a2a745e2d248498a21ba3876d2481e90c7fe0a5 Merge: caaaa222620c eb06158ee145 Author: Ingo Molnar Date: Sun Jul 24 08:26:41 2016 +0200 Merge branch 'x86/microcode' > Both of its parents, i.e. > commit f5846c92b0a5 ("Merge branch 'x86/headers'") This commit does not exist either. > and > commit eb06158ee145 ("x86/microcode: Remove unused symbol exports") This one does. > work fine by themselves. > "Cross-bisecting" between v4.7-rc6..f5846c92b0a5 and v4.7-rc6..eb06158ee145 > reveals the conflicting commits: > commit 021182e52fe0 ("x86/mm: Enable KASLR for physical mapping memory > regions") > and > commit 6c5456474e7f ("x86/microcode: Fix loading precedence"). Those two too. So it seems you're either testing an older tip/master or some linux-next. So let's clarify what exactly you're testing before we do anything else. Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --