[U-Boot] [PATCH 1/4] x86: Call cpu_init_interrupts() from interrupt_init()

Simon Glass sjg at chromium.org
Tue Nov 25 04:42:20 CET 2014


On 24 November 2014 at 20:05, Simon Glass <sjg at chromium.org> wrote:
> On 20 November 2014 at 01:10, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Currently cpu_init_interrupts() is called from cpu_init_r() to
>> setup the interrupt and exception of the cpu core, but at that
>> time the i8259 has not been initialized to mask all the irqs
>> and remap the master i8259 interrupt vector base, so the whole
>> system is at risk of being interrupted, and if interrupted,
>> wrong interrupt/exception message is shown.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>  arch/x86/cpu/cpu.c             | 2 --
>>  arch/x86/lib/pcat_interrupts.c | 3 +++
>>  2 files changed, 3 insertions(+), 2 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>
>
> Tested on chromebook_link:
> Tested-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list