From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932914AbcETAzr (ORCPT ); Thu, 19 May 2016 20:55:47 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:35703 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932492AbcETAzn (ORCPT ); Thu, 19 May 2016 20:55:43 -0400 MIME-Version: 1.0 From: Gabriel C Date: Fri, 20 May 2016 02:55:12 +0200 Message-ID: Subject: Builtin microcode does nothing To: LKML Cc: Borislav Petkov , Ingo Molnar , Thomas Gleixner Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi guys , I tested kernel 4.6 with the built in microcode method , following Documentation/x86/early-microcode.txt. The kernel config[1] has : CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="intel-ucode/06-1a-05" CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" also CONFIG_MICROCODE=y CONFIG_MICROCODE_INTEL=y CONFIG_MICROCODE_AMD=y CONFIG_MICROCODE_OLD_INTERFACE=y I also use a basic initrd generated with dracut. With this kernel the early microcode loading does nothing nor the 'old interface'. Interesting is the following : doing a ' echo 1 >/sys/devices/system/cpu/microcode/reload ' the kernel finds the buitin firmware and updates the microcode. ... [ 713.273956] platform microcode: firmware: using built-in firmware intel-ucode/06-1a-05 [ 713.274024] microcode: CPU0 sig=0x106a5, pf=0x1, revision=0x15 [ 713.274596] microcode: CPU0 updated to revision 0x19, date = 2013-06-21 ... Also the method with the 'combined initrd' works just fine. [1] http://crazy.dnshome.de/~crazy/lkml/config/config Please CC me since I'm not subscribed to the list. Best Regards, Gabriel C ( sorry but gmail messed up so I resend )