u-boot/drivers/nvme
Janne Grunau e44d59c6ad arm: apple: nvme: Add SART support and RTKit buffer management
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@jannau.net>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Tested-by: Mark Kettenis <kettenis@openbsd.org>
2022-06-23 08:24:49 -04:00
..
Kconfig nvme: apple: Add driver for Apple NVMe storage controller 2022-02-10 16:44:23 -05:00
Makefile nvme: apple: Add driver for Apple NVMe storage controller 2022-02-10 16:44:23 -05:00
nvme_apple.c arm: apple: nvme: Add SART support and RTKit buffer management 2022-06-23 08:24:49 -04:00
nvme_pci.c pci: Add mask parameter to dm_pci_map_bar() 2022-05-03 18:33:29 -04:00
nvme_show.c nvme: Do not allocate 8kB buffer on stack 2022-01-14 13:16:10 -05:00
nvme-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
nvme.c nvme: call device_probe() after scanning 2022-04-09 21:06:31 +02:00
nvme.h nvme: Add shutdown function 2022-02-10 16:44:23 -05:00