Skip to content
Commit 05147693 authored by Enjia Mai's avatar Enjia Mai Committed by Christopher Friedt
Browse files

arch: x86: workaround for EFI call return with interrupt enabled



The EFI console output call return with interrput enabled, it is a
firmware bug. And there was a solution that disabled interrupt it
return right away. But in some case the interrupt could happen
during the efi call context. If an interrupt was handled, a printk
call again will make it re-entried, or a swap might be happens.
This is suggested solution appiled for EFI console output:

1. Skip printk call when it is called in interrupt context.
2. Disable the schedule during the EFI call window.

Signed-off-by: default avatarEnjia Mai <enjia.mai@intel.com>
parent 5a57e026
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment