[PATCH v2 0/2] nvme: apple: add t8132 (M4) ANS2 NVMe support
From: Yureka Lilian
Date: Sun Sep 06 2026 - 16:16:57 EST
This patch series adds dt-bindings and driver support for ANS2 NVMe on
the Apple t8132 (M4) SoC.
This variant requires the IO queues to be registered using additional
MMIO writes. Otherwise it is largerly the same as the ANS2 NVMe variants
present on Apple M1-M3 SoCs.
Signed-off-by: Yureka Lilian <yureka@xxxxxxxxxxxxxx>
---
Changes in v2:
- Reverted the separate_nvmmu_base part, since reg[9] from the Apple
device tree works for both nvme and nvmmu regs.
- Differentiate the meaning of mmio_nvme+0x1210 between t8103 and t8132
resolves an ANS crash caused by the IO completion queue size mismatching
between our data structures (64) and the ANS (65).
- Link to v1: https://patch.msgid.link/20260811-apple-nvme-t8132-v1-0-865be32e42c3@xxxxxxxxxxxxxx
To: Sven Peter <sven@xxxxxxxxxx>
To: Janne Grunau <j@xxxxxxxxxx>
To: Neal Gompa <neal@xxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Keith Busch <kbusch@xxxxxxxxxx>
To: Jens Axboe <axboe@xxxxxxxxx>
To: Christoph Hellwig <hch@xxxxxx>
To: Sagi Grimberg <sagi@xxxxxxxxxxx>
Cc: asahi@xxxxxxxxxxxxxxx
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-nvme@xxxxxxxxxxxxxxxxxxx
models: On t8132 this now sets the IO queue sizes and is 0-based. This
---
Yureka Lilian (2):
dt-bindings: nvme: Add apple,t8132-nvme-ans2 compatible
nvme: apple: add t8132 (M4) ANS2 NVMe support
.../devicetree/bindings/nvme/apple,nvme-ans.yaml | 1 +
drivers/nvme/host/apple.c | 39 +++++++++++++++++++---
2 files changed, 36 insertions(+), 4 deletions(-)
---
base-commit: e5e04726cdd043e309677071ab1b65a4b18f422b
change-id: 20260811-apple-nvme-t8132-31399d6f81aa
Best regards,
--
Yureka Lilian <yureka@xxxxxxxxxxxxxx>