Hej, this series adapts Sven's Linux nvme-apple series of the same name to u-boot. It fixes bugs which are worked around on M1/M2/M3 based devices with NVMe firmware from macOS 14.x or earlier. Starting with the NVMe controller firmware from macOS 15.x (required for M4 support) the workaround is no longer available.
The quirk to require page-aligned buffers for the admin queue is not necessary for u-boot. As far as I can see the buffers are always page-aligned. Add noisy WARN_ON_ONCEs to ensure it's noticed if this changes or I was mistaken to begin with. Janne Link: https://lore.kernel.org/asahi/[email protected]/ Signed-off-by: Janne Grunau <[email protected]> --- Janne Grunau (4): nvme: apple: Don't set a DMA direction for commands without a data transfer nvme: apple: Never set the opcode in the NVMMU TCB nvme: apple: Add WARN_ON_ONCE for non page-aligned admin queue buffers nvme: apple: Drop the PRP null check chicken bit drivers/nvme/nvme_apple.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) --- base-commit: 964ad5b5c91b7be56e443e899d7f873e6aa8c9fc change-id: 20260904-apple-nvme-fwabi-cf74f7cefac4 Best regards, -- Janne Grunau <[email protected]>
