All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolai Stange <nicstange@gmail.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Nicolai Stange <nicstange@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arch/x86/kernel/cpu/microcode/intel: don't store initrd's start
Date: Mon, 25 Jul 2016 11:24:31 +0200	[thread overview]
Message-ID: <87bn1m5auo.fsf@gmail.com> (raw)
In-Reply-To: <20160725070648.GB24576@nazgul.tnic> (Borislav Petkov's message of "Mon, 25 Jul 2016 09:06:48 +0200")

Borislav Petkov <bp@alien8.de> writes:

> 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...

I tested on linux-next-20160722 (I wrote this below the '---' marker).

>
>> 
>>   Call Trace:
>>    [<ffffffffb6054cea>] ? find_microcode_patch+0x4a/0xa0
>>    [<ffffffffb6055487>] load_microcode.isra.1.constprop.12+0x37/0xa0
>>    [...]
>>    [<ffffffffb60557cd>] load_ucode_intel_ap+0x5d/0x80
>>    [<ffffffffb6054924>] load_ucode_ap+0x94/0xa0
>>    [<ffffffffb60481a8>] cpu_init+0x58/0x3e0
>>    [<ffffffffb60709bc>] ? set_pte_vaddr+0x5c/0x90
>>    [<ffffffffb6fac06c>] trap_init+0x2b6/0x328
>>    [<ffffffffb6fa0dba>] start_kernel+0x224/0x47f
>>    [<ffffffffb6fa0120>] ? early_idt_handler_array+0x120/0x120
>>    [<ffffffffb6fa02cf>] x86_64_start_reservations+0x29/0x2b
>>    [<ffffffffb6fa041e>] x86_64_start_kernel+0x14d/0x170
>>   [...]
>>   RIP  [<ffffffffb6055af5>] 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 <mingo@kernel.org>
> 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.

See above.

> So let's clarify what exactly you're testing before we do anything else.

If you want me to try any particular tree, please just tell me which one.

Thanks,

Nicolai

  reply	other threads:[~2016-07-25  9:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-24 15:05 [PATCH] arch/x86/kernel/cpu/microcode/intel: don't store initrd's start Nicolai Stange
2016-07-25  7:06 ` Borislav Petkov
2016-07-25  9:24   ` Nicolai Stange [this message]
2016-07-25 12:36     ` Borislav Petkov
2016-07-25 12:59       ` Nicolai Stange
2016-07-25 13:06         ` Nicolai Stange
2016-07-25 13:44         ` Borislav Petkov
2016-07-25 14:16           ` Nicolai Stange
2016-07-25 14:27             ` Nicolai Stange
2016-07-25 16:40               ` Borislav Petkov
2016-07-25 15:07             ` Borislav Petkov
2016-07-25 16:46             ` Borislav Petkov
2016-07-25 17:44               ` Nicolai Stange
2016-07-25 18:18                 ` Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn1m5auo.fsf@gmail.com \
    --to=nicstange@gmail.com \
    --cc=bp@alien8.de \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.