linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Builtin microcode does nothing..
@ 2016-05-20 10:08 Gabriel C
  2016-05-20 10:23 ` Borislav Petkov
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Gabriel C @ 2016-05-20 10:08 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: LKML

> Does it work when you disable CONFIG_BLK_DEV_INITRD in there?

I can test this whne I'm home since I need to change the config a bit.

> I have a patchset which I'm testing right now which should correct some
> warts in builtin microcode, if you want me to, I can push it out for you
> to test too.

Sure just give me an link or tell me where I can find your testing
patchset and I give it a try.


( I think you forgot to CC me )


Regards,

Gabriel C

^ permalink raw reply	[flat|nested] 22+ messages in thread
[parent not found: <CAEJqkgjFWak5fUc_zR4v-BDgAnjU0NtRfUDDPaEVGjjbEZoqUQ@mail.gmail.com>]
* Builtin microcode does nothing
@ 2016-05-20  0:55 Gabriel C
  0 siblings, 0 replies; 22+ messages in thread
From: Gabriel C @ 2016-05-20  0:55 UTC (permalink / raw)
  To: LKML; +Cc: Borislav Petkov, Ingo Molnar, Thomas Gleixner

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 )

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-06-04  6:35 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 10:08 Builtin microcode does nothing Gabriel C
2016-05-20 10:23 ` Borislav Petkov
2016-05-20 16:03 ` Gabriel C
2016-05-21  0:20 ` Gabriel C
2016-05-21  2:59   ` Gabriel C
2016-05-21  7:51     ` Borislav Petkov
2016-05-25  9:31       ` Borislav Petkov
2016-05-25 13:48         ` Jim Bos
2016-05-25 14:57           ` Borislav Petkov
2016-05-25 21:29         ` Gabriel C
2016-05-25 21:38           ` Borislav Petkov
2016-05-25 21:50             ` Gabriel C
2016-05-25 23:36               ` Gabriel C
2016-05-26 10:03                 ` Borislav Petkov
2016-05-26 11:52                   ` Gabriel C
2016-05-26 12:46                     ` Borislav Petkov
2016-06-03  8:02                       ` Borislav Petkov
2016-06-04  0:37                         ` Gabriel C
2016-06-04  6:35                           ` Borislav Petkov
2016-05-21  7:45   ` Borislav Petkov
     [not found] <CAEJqkgjFWak5fUc_zR4v-BDgAnjU0NtRfUDDPaEVGjjbEZoqUQ@mail.gmail.com>
2016-05-20  8:36 ` Borislav Petkov
  -- strict thread matches above, loose matches on Subject: below --
2016-05-20  0:55 Gabriel C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).