diff options
author | Janne Grunau <j@jannau.net> | 2024-11-23 22:44:04 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-24 15:41:28 -0600 |
commit | 544a76bac3393045e86a56cc5dfe2477e437c59b (patch) | |
tree | 3fc66d36b134469d47b48cd0d4d89ed7012527df /drivers/core/root.c | |
parent | cca05617a8f585f3a98a8fa82f75cc68a530d771 (diff) |
iommu: apple: Mark device with DM_FLAG_VITAL
Avoids NULL pointer dereferences in apple_dart_unmap when the iommu
device is removed before its user. U-boot's device model does not track
dependencies between devices.
Observed on a M1 Ultra Mac Studio with v2024.10.
Acked-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Janne Grunau <j@jannau.net>
Diffstat (limited to 'drivers/core/root.c')
0 files changed, 0 insertions, 0 deletions