]> git.baikalelectronics.ru Git - kernel.git/commit
microcode: Use request_firmware_direct()
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Dec 2013 14:38:17 +0000 (15:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 02:22:32 +0000 (18:22 -0800)
commit4b1486b87a9f7e3de0a3ac0cb91dea64e5504a86
tree70ff2cf065cbf2bb72bcc9c8cdef2073b16f09ad
parent556f9951eef79ccec60a0a95de3777a8ac25f567
microcode: Use request_firmware_direct()

Use the new helper, request_firmware_direct(), for avoiding the
lengthy timeout of non-existing firmware loads.  Especially the Intel
microcode driver suffers from this problem because each CPU triggers
the f/w loading, thus it ends up taking (literally) hours with many
cores.

Tested-by: Prarit Bhargava <prarit@redhat.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/microcode_amd.c
arch/x86/kernel/microcode_intel.c