Linux on Apple ARM platform development
 help / color / mirror / Atom feed
* [PATCH 0/4] Apple NVMe fixes for macOS 15+ firmware / M4 support
@ 2026-09-04 19:22 Janne Grunau
  2026-09-04 19:22 ` [PATCH 1/4] nvme: apple: Don't set a DMA direction for commands without a data transfer Janne Grunau
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Janne Grunau @ 2026-09-04 19:22 UTC (permalink / raw)
  To: u-boot
  Cc: asahi, Mark Kettenis, Sven Peter, Neil Armstrong, Bin Meng,
	Tom Rini, Francois Berder, Janne Grunau

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/20260806-b4-nvme-fwabi-v1-0-bde19ce8db04@kernel.org/

Signed-off-by: Janne Grunau <j@jannau.net>
---
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 <j@jannau.net>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-09-10 13:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 19:22 [PATCH 0/4] Apple NVMe fixes for macOS 15+ firmware / M4 support Janne Grunau
2026-09-04 19:22 ` [PATCH 1/4] nvme: apple: Don't set a DMA direction for commands without a data transfer Janne Grunau
2026-09-07 21:21   ` Mark Kettenis
2026-09-04 19:22 ` [PATCH 2/4] nvme: apple: Never set the opcode in the NVMMU TCB Janne Grunau
2026-09-07 21:21   ` Mark Kettenis
2026-09-04 19:22 ` [PATCH 3/4] nvme: apple: Add WARN_ON_ONCE for non page-aligned admin queue buffers Janne Grunau
2026-09-07 21:23   ` Mark Kettenis
2026-09-04 19:22 ` [PATCH 4/4] nvme: apple: Drop the PRP null check chicken bit Janne Grunau
2026-09-07 21:24   ` Mark Kettenis
2026-09-10 12:44 ` [PATCH 0/4] Apple NVMe fixes for macOS 15+ firmware / M4 support Neil Armstrong
2026-09-10 13:11   ` Mark Kettenis
2026-09-10 13:14 ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox