u-boot/arch
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
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm arm: k3: use correct weak function name spl_board_prepare_for_linux 2020-07-13 20:58:34 +05:30
m68k Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
microblaze Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
nios2 Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
powerpc Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
riscv Merge branch 'next' 2020-07-06 15:46:38 -04:00
sandbox dm: acpi: Enhance acpi_get_name() 2020-07-17 14:32:24 +08:00
sh Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
x86 x86: apl: Fix save/restore of ITSS priorities 2020-07-17 14:32:24 +08:00
xtensa Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00