On Tue, Jan 9, 2018 at 12:15 AM, Peter Humphrey <pe...@prh.myzen.co.uk> wrote: > On Monday, 8 January 2018 10:29:41 GMT Max Zettlmeißl wrote: >> > How do you build the microcode into the kernel? The only >> > place I can see to do that in menuconfig is under Device Drivers; >> > there's no such field under Firmware. >> >> The Device Drivers section is exactly where the microcode is included. >> CONFIG_EXTRA_FIRMWARE is the relevant symbol. > > Right. So which of the 95 files under /lib/firmware/intel-ucode do I > specify? That's in addition to the 14 files I have for my amdgpu. >
In my system (intel): $ iucode_tool -S iucode_tool: system has processor(s) with signature 0x000906e9 $ iucode_tool -L /lib/firmware/intel-ucode | grep 0x000906e9 -B 1 microcode bundle 18: /lib/firmware/intel-ucode/06-9e-09 018/001: sig 0x000906e9, pf_mask 0x2a, 2017-04-06, rev 0x005e, size 97280 018/002: sig 0x000906e9, pf_mask 0x2a, 2017-04-06, rev 0x005e, size 97280 So in this example "intel-ucode/06-9e-09" is what you'll write in the kernel form. There is a amd-ucode dir in /lib/firmware, so I assume it will be the same. Jorge Almeida