u-boot-brain/arch/x86
Simon Glass b95611f67e x86: apl: Fix save/restore of ITSS priorities
The FSP-S changes the ITSS priorities. The code that tries to save it
before running FSP-S and restore it afterwards does not work as U-Boot
relocates in between the save and restore. This means that the driver
data saved before relocation is lost and the new driver just sees zeroes.

Fix this by allocating space in the relocated memory for the ITSS data.
Save it there and access it from the driver after relocation.

This fixes interrupt handling on coral.

Also drop the log_msg_ret() in irq_first_device_type() since this function
can be called speculatively in places where we are not sure if there is
an interrupt controller of that type. The resulting log errors are
confusing when there is no error.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
2020-07-17 14:32:24 +08:00
..
cpu x86: apl: Fix save/restore of ITSS priorities 2020-07-17 14:32:24 +08:00
dts x86: fsp: Support a warning message when DRAM init is slow 2020-07-17 14:32:24 +08:00
include/asm x86: apl: Fix save/restore of ITSS priorities 2020-07-17 14:32:24 +08:00
lib x86: apl: Use memory-mapped access for VBT 2020-07-17 14:32:24 +08:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig x86: p2sb: make P2SB driver depend on P2SB uclass 2020-07-17 14:32:24 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00