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 16:16:41 +0200 [thread overview]
Message-ID: <87shuxiz06.fsf@gmail.com> (raw)
In-Reply-To: <20160725134453.GB18535@nazgul.tnic> (Borislav Petkov's message of "Mon, 25 Jul 2016 15:44:53 +0200")
Borislav Petkov <bp@alien8.de> writes:
> On Mon, Jul 25, 2016 at 02:59:43PM +0200, Nicolai Stange wrote:
>> Applied on top of next-20160722 and it boots
>
> Does it apply the microcode too? Or your box doesn't need microcode?
[ 0.000000] microcode: microcode updated early to revision 0x20, date = 2016-03-16
[ 2.929972] microcode: sig=0x306c3, pf=0x10, revision=0x20
Is this a "yes"?
/proc/cpuinfo shows a "microcode" value of 0x20 for all logical cores at
least.
>> Doesn't this break the builtin-ucode case (!blobs.valid) where
>> blobs.start is supposed to be zero?
>
> Good point.
>
> Well, it shouldn't because in the builtin case start should simply
> contain the ASLR offset the physmem mapping was moved to and this offset
> is exactly where the builtin images should be... Let me poke at it to
> see whether I'm seeing things correctly.
Hmm. From what I've seen, I've concluded that the builtin images'
addresses are __va ones (assuming x86_64). I might be wrong though.
Another point: does PAGE_OFFSET_BASE exist on ARCH=i386?
And a third one, more of a sidenote: I've seen a comment somewhere that
blobs.start is set to 0 in the builtin case. However, I was unable to
find this initialization in the original code. This very last point
would have been fixed by my patch as a sideeffect. I just forgot about
this remark.
Thanks,
Nicolai
next prev parent reply other threads:[~2016-07-25 14:17 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
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 [this message]
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=87shuxiz06.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox