Re: [PATCH] x86: Unbreak early processor microcode loading
From: Borislav Petkov
Date: Wed Mar 04 2015 - 04:20:14 EST
On Wed, Mar 04, 2015 at 04:27:12PM +0800, Daniel J Blueman wrote:
> Yes, it's built into the kernel with config:
>
> CONFIG_FIRMWARE_IN_KERNEL=y
> CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd.bin
> amd-ucode/microcode_amd_fam15h.bin"
> CONFIG_EXTRA_FIRMWARE_DIR="../firmware"
>
> That's as some customer and in-house environments we use are initramfs-less
> and some we don't have direct control over the initramfs.
>
> I don't see why built-in microcode loading shouldn't work,
Well, it doesn't matter really. If you need to update microcode, either
with the early loader or with a built-in microcode, you'd still have to
regenerate the initrd *and* the kernel. Let me try to reproduce that
here.
Btw, you could also use the late-update method without rebooting the
machine by putting the microcode in
/lib/firmware/amd-ucode/
and doing
echo 1 > /sys/devices/system/cpu/microcode/reload
as root.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/