[PATCH v2 1/3] arm: apple: nvme: Add SART support and RTKit buffer management

Tom Rini trini at konsulko.com
Thu Jun 23 17:27:52 CEST 2022


On Tue, Jun 14, 2022 at 09:09:07AM +0200, Janne Grunau wrote:

> The NVMe firmware in the macOS 13 beta blocks or crashes with u-boot's
> current minimal RTKit implementation. It does not provide buffers for
> the firmware's buffer requests. The ANS2 firmware included in macOS 11
> and 12 tolerates this. The firmware included in the first macOS 13 beta
> requires buffers for the crashlog and ioreport endpoints to function.
> 
> In the case of the NVMe the buffers are physical memory. Access to
> physical memory is guarded by what Apple calls SART.
> Import m1n1's SART driver (exclusively used for the NVMe controller).
> Implement buffer management helpers for RTKit. These are generic since
> other devices (none in u-boot so far) require different handling.
> 
> Signed-off-by: Janne Grunau <j at jannau.net>
> Reviewed-by: Mark Kettenis <kettenis at openbsd.org>
> Tested-by: Mark Kettenis <kettenis at openbsd.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220623/e8457dc9/attachment.sig>


More information about the U-Boot mailing list