Re: [PATCH 1/2] iommu: apple: Mark device with DM_FLAG_VITAL

2024-11-01 Thread Mark Kettenis
> From: Janne Grunau > Date: Thu, 31 Oct 2024 23:48:01 +0100 > > 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. > > Si

Re: [PATCH 1/2] iommu: apple: Mark device with DM_FLAG_VITAL

2024-11-01 Thread Heinrich Schuchardt
On 10/31/24 23:48, Janne Grunau wrote: 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. Signed-off-by: Janne Grunau Hello S

Re: [PATCH 1/2] iommu: apple: Mark device with DM_FLAG_VITAL

2024-11-01 Thread Heinrich Schuchardt
On 10/31/24 23:48, Janne Grunau wrote: 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. Signed-off-by: Janne Grunau Hello S

[PATCH 1/2] iommu: apple: Mark device with DM_FLAG_VITAL

2024-10-31 Thread Janne Grunau
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. Signed-off-by: Janne Grunau --- drivers/iommu/apple_dart.c | 2 +- 1 file cha