u-boot-brain/arch/x86/cpu
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
..
apollolake x86: apl: Fix save/restore of ITSS priorities 2020-07-17 14:32:24 +08:00
baytrail acpi: Allow creating the GNVS to fail 2020-07-17 14:32:24 +08:00
braswell common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
broadwell x86: Avoid #ifdef with CONFIG_HAVE_ACPI_RESUME 2020-07-17 14:32:24 +08:00
coreboot x86: coreboot: add SMBIOS cbmem entry parsing 2020-05-27 14:40:09 +08:00
efi common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
i386 x86: fsp: Reinit the FPU after FSP meminit 2020-07-09 12:33:24 +08:00
intel_common x86: apl: Fix save/restore of ITSS priorities 2020-07-17 14:32:24 +08:00
ivybridge common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
qemu common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
quark acpi: Allow creating the GNVS to fail 2020-07-17 14:32:24 +08:00
queensbay common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
slimbootloader common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tangier acpi: Allow creating the GNVS to fail 2020-07-17 14:32:24 +08:00
x86_64 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
acpi_gpe.c x86: irq: Support flags for acpi_gpe 2020-07-17 14:32:24 +08:00
call32.S
config.mk Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
cpu_x86.c x86: cpu_x86: Make cpu_x86_get_count() non-static 2020-03-05 18:25:22 +08:00
cpu.c x86: apl: Fix save/restore of ITSS priorities 2020-07-17 14:32:24 +08:00
ioapic.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
irq.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lapic.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile x86: coreboot: Allow building an SPL image 2020-05-04 15:28:28 +08:00
mp_init.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mtrr.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
qfw_cpu.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
resetvec.S x86: Reduce resetvec size 2019-10-11 17:37:38 +08:00
sipi_vector.S
start16.S Revert "x86: use invd instead of wbinvd in real mode start code" 2020-03-05 18:19:40 +08:00
start64.S x86: start64: Fix copyright message 2019-05-08 13:02:10 +08:00
start_from_spl.S x86: Use the existing stack when chain-loading 2020-04-30 17:48:17 +08:00
start_from_tpl.S x86: Add more comments to the start-up code 2019-10-08 13:57:36 +08:00
start.S Revert "x86: use invd instead of wbinvd in real mode start code" 2020-03-05 18:19:40 +08:00
turbo.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
u-boot-64.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
u-boot-spl.lds x86: Define the SPL image start 2019-12-15 11:44:12 +08:00
u-boot.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
wakeup.S x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00