u-boot/arch
Tom Rini 880fcc49eb Merge patch series "Fix device removal order for Apple dart iommu"
Janne Grunau <j@jannau.net> says:

Starting with v2024.10 dev_iommu_dma_unmap calls during device removal
trigger a NULL pointer dereference in the Apple dart iommu driver. The
iommu device is removed before its user. The sparsely used DM_FLAG_VITAL
flag is intended to describe this dependency. Add it to the driver.

Adding this flag is unfortunately not enough since the boot routines
except the arm one simply remove all drivers. Add and use a new function
which calls
    dm_remove_devioce_flags(DM_REMOVE_ACTIVE_ALL | DM_REMOVE_NON_VITAL);
    dm_remove_devices_flags(DM_REMOVE_ACTIVE_ALL);
to ensure this order dependency is head consistently.

Link: https://lore.kernel.org/r/20241123-iommu_apple_dart_ordering-v2-0-cc2ade6dde97@jannau.net
2024-11-24 15:41:32 -06:00
..
arc dts: Deduplicate dtbs target 2024-10-14 19:32:04 -06:00
arm Merge patch series "Fix device removal order for Apple dart iommu" 2024-11-24 15:41:32 -06:00
m68k m68k: asm/ptrace.h: include linux/types.h 2024-10-23 06:52:38 +02:00
microblaze dts: Deduplicate dtbs target 2024-10-14 19:32:04 -06:00
mips CONFIG_SYS_NONCACHED_MEMORY: Move prototypes to include/cpu_func.h for consistency 2024-10-29 16:17:18 -06:00
nios2 dts: Deduplicate dtbs target 2024-10-14 19:32:04 -06:00
powerpc dts: Deduplicate dtbs target 2024-10-14 19:32:04 -06:00
riscv dm: Add dm_remove_devices_active() for ordered device removal 2024-11-24 15:41:28 -06:00
sandbox test: efi: boot: Set up an image suitable for EFI testing 2024-11-09 10:01:47 +01:00
sh dts: Deduplicate dtbs target 2024-10-14 19:32:04 -06:00
x86 dm: Add dm_remove_devices_active() for ordered device removal 2024-11-24 15:41:28 -06:00
xtensa dts: Deduplicate dtbs target 2024-10-14 19:32:04 -06:00
.gitignore
Kconfig test: run longjmp() test only on supported architectures 2024-11-13 08:16:47 -06:00
Kconfig.nxp
u-boot-elf.lds