Repository navigation
arm64: dts: apple: t8140-j700: enable the SIO AES engine - #1736
Merged
Merged
Conversation
The skcipher driver drives the revision 5 engine on T8140. Enable the engine on the J700. Its power state is already enabled in t8140-pmgr, and the SIO DART that maps it is enabled by the board. Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable the SIO AES engine on the J700 (T8140). #1622 added revision 5 support to apple-aes (42-bit DMA and the upper address word) and enabled the engine on the J616s; this enables it on the J700.
Only
&aeschanges. On T8140,ps_aesis already enabled in t8140-pmgr.dtsi (parentps_sio, not always-on), and the board enablessio_dart. The loader givessio_dartanapple,dma-rangeof 0x100_0001c000 to 0x400_0000_0000, so the bounce buffer sits above 4 GiB, inside the 42-bit mask.The compiled DTB differs from the base only in
status = "okay"on /soc/crypto@38500c000.Tested on a J700 with this DTB on an aura trial Stage 2 and an integration/aurora 53857e6 kernel (+ #1735), apple-aes as a module:
AES engine rev 5 ready (readiness 0x01023f80, 42-bit DMA, ECB/CBC/CTR, priority 150). The aes power domain is off when idle.Speed at 4 KiB sectors: 53 to 55 MB/s through the engine (cbc encrypt 14 MB/s), against 0.86 to 2.8 GB/s for aes-ce. At 512 byte sectors the engine does 8 to 16 MB/s.
🤖 Generated with Claude Code