commit | 7dcf0d6f3af40414526ef53b07e4084799640b50 | [log] [tgz] |
---|---|---|
author | Janne Grunau <j@jannau.net> | Sat Nov 23 22:44:04 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sun Nov 24 15:41:28 2024 -0600 |
tree | 3fc66d36b134469d47b48cd0d4d89ed7012527df | |
parent | 15ef0abfbfd445360c989decf4e49adf91c025b1 [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>