Repository navigation
soc: apple: select T6030 interrupt, GPIO and ANS sleep profiles - #3805
Conversation
Document the T6030 ANS3 compatible already present in the M3 Pro device tree. Keep the T8103 fallback for the shared register layout. Signed-off-by: Diljit Singh <hey@djdev.me>
Give T6030 AIC3 the firmware suspend callback, use the uncached Apple GPIO profile, and match the ANS3 suspend policy where the T6030 device tree already identifies those controllers. Preserve the existing fallback compatibles for older kernels. Signed-off-by: Diljit Singh <hey@djdev.me>
|
Local receipt at |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
J516s (T6030, M3 Pro) hardware qualification PASS for exact head
|
DjDeveloperr
left a comment
There was a problem hiding this comment.
HOLD at abcc952e8189
The first J516s run reported a failed post-wake direct NVMe read. The later run verified a file checksum and an fsynced 16 MiB write. Its checksum read used buffered I/O. Record a successful post-wake direct read against known data to close the earlier failure, along with the requested second-generation controller receipt.
Checks and evidence
I checked the new T6030 match entries against the AIC3, uncached GPIO and ANS profiles. Existing fallback entries are preserved. The Apple build, DT and host checks passed.
|
J516s hardware verification for exact head
|
|
J516s (M3 Pro, T6030) hardware row at
|
|
J714s (M5 Pro, T6050) second-generation peer-control S2R row at exact unchanged head Candidate:
|
satchlj
left a comment
There was a problem hiding this comment.
Verdict: MERGE at abcc952e81894b9c34cf8a22cd1895719f4d9657
Blockers: none (note: the earlier hold label conditions are now closed by the post-wake O_DIRECT J516s and J714s peer-control receipts below, so the hold label can be cleared)
Checked: no Apple material, no inappropriate model gating, default command-line compatibility, apple,nvme-ans.yaml, irq-apple-aic.c, drivers/nvme/host/apple.c, pinctrl-apple-gpio.c, hosted CI, J516s O_DIRECT and J714s peer-control hardware receipts, PR text
Evidence
Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml: documentsapple,t6030-nvme-ans3while keeping theapple,t8103-nvme-ans2fallback.drivers/irqchip/irq-apple-aic.c: addsaic3_t6030_info(.version = 3,.irq_cfg = AIC3_IRQ_CFG,.fast_ipi = true,.local_fast_ipi = true,.fw_suspend = true) matched onapple,t6030-aic3, preserving existing entries.drivers/nvme/host/apple.c&drivers/pinctrl/pinctrl-apple-gpio.c: mapsapple,t6030-nvme-ans3to&apple_nvme_t8122_hwandapple,t6030-pinctrlto&apple_gpio_uncached_hw.- Hosted CI: all 18 checks passed (
apple-build,dt-checks,host-tests,pr-text,readiness,KUnit plan);MERGEABLEwith zero conflicts. - Hardware rows at exact head
abcc952e8189close both earlier hold items: J516s (T6030,#issuecomment-7331615913) passed 2 physical deep-sleep cycles with deterministic pre/postO_DIRECT+drop_cachesNVMe readback and fresh post-wakeO_DIRECTwrite/read; J714s (T6050,#issuecomment-7339035073) passed second-generation peer-control physical deep sleep with AIC,pinctrl, andO_DIRECTNVMe readback intact.
|
Local CI for head Hosted CI last ran against a
Hardware rows at this head: the J516s post-wake |
What: Apply the firmware suspend AIC3 profile, uncached GPIO profile, and warm ANS3 policy to the T6030 controllers already named in the device tree. Document the ANS3 compatible and keep the existing T8103 fallback.
Tested: Strict checkpatch and whitespace checks passed. Clang AArch64 built the AIC, GPIO and NVMe objects and J516s DTB. Main and this change produced the same existing NVMe thread-safety warnings. The NVMe binding passed
dt-doc-validate.J516s, integrated kernel
af2647f710fd,direct-t357h-02: 89.921 s and 88.309 s suspended on the same boot, with zero new priority 0–3 kernel records in either wake window. The sleep controller reported restoring all 179 changed AP pins after both wakes. The second wake failed the RTC latch check, and the post-wake NVMe direct-read check failed.Risk: Two-way door. The new match entries apply to T6030. The affected AIC, GPIO and ANS code is shared with other generations.
Not yet: Nothing for this PR. The J516s row with the post-wake direct NVMe read (#3805 (comment)), the J714s second-generation row (#3805 (comment)) and the independent review are posted. This is a separate prerequisite for the T6030 suspend series.