summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorIngo Molnar2015-03-03 07:34:33 +0100
committerMatt Fleming2015-04-01 13:46:22 +0200
commit23a0d4e8fa6d3a1d7fb819f79bcc0a3739c30ba9 (patch)
treea39fccdee6dc1a89756331aac0c4db066060e96c /drivers/firmware
parentx86/efi: Add a "debug" option to the efi= cmdline (diff)
downloadkernel-qcow2-linux-23a0d4e8fa6d3a1d7fb819f79bcc0a3739c30ba9.tar.gz
kernel-qcow2-linux-23a0d4e8fa6d3a1d7fb819f79bcc0a3739c30ba9.tar.xz
kernel-qcow2-linux-23a0d4e8fa6d3a1d7fb819f79bcc0a3739c30ba9.zip
efi: Disable interrupts around EFI calls, not in the epilog/prolog calls
Tapasweni Pathak reported that we do a kmalloc() in efi_call_phys_prolog() on x86-64 while having interrupts disabled, which is a big no-no, as kmalloc() can sleep. Solve this by removing the irq disabling from the prolog/epilog calls around EFI calls: it's unnecessary, as in this stage we are single threaded in the boot thread, and we don't ever execute this from interrupt contexts. Reported-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions