On 21.05.2016 02:20, Gabriel C wrote:
On 20.05.2016 12:08, Gabriel C wrote:
Does it work when you disable CONFIG_BLK_DEV_INITRD in there?
I can test this when I'm home since I need to change the config a bit.
I got to test an kernel without CONFIG_BLK_DEV_INITRD and this way
does work.
While that worked I read the code not sure I get this right but:
scan_microcode() has :
...
if (!size) {
if (!load_builtin_intel_microcode(&cd))
return UCODE_ERROR;
} else {
cd = find_cpio_data(p, (void *)start, size, &offset);
if (!cd.data)
return UCODE_ERROR;
}
...
So when I get this correctly load_builtin_intel_microcode() only works
on !initrd ?
Should this check not be the other way around ?
something like :
cd = find_cpio_data(p, (void *)start, size, &offset);
if (!cd.data) {
if (!load_builtin_intel_microcode(&cd))
return UCODE_ERROR;
}
Regards,
Gabriel C