Repository navigation
soc: apple: mcc: allow up to 32 cache planes - #911
Merged
RyanTheTide merged 1 commit intoNov 5, 2026
Merged
RyanTheTide merged 1 commit into
RyanTheTide merged 1 commit into
Conversation
The M4 Max (T6041) has up to eight AMCCs with four cache planes each: 32 on the full part, 24 on the binned one (amcc-enable-mask 0x3f). Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
Contributor
|
Merge train (MTL, 06/11). Gates passed on test tree 0412501 (integration/aurora 2661d71 + this batch):
|
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.
MCC_MAX_PLANESis 16, but the M4 Max (T6041) has up to eight AMCCs with four cache planes each: 32 on the full part, 24 on the binned 14-core one (ADTamcc-enable-mask0x3f). This raises the limit to 32, in the driver and in the binding'sregmaxItems.Tested on a J616C (M4 Max, 14 cores) with a DT listing the 24 planes:
apple-mcc 220000000.memory-controller: system level cache allocation enabled on 24 planes. 16 MiB random-read latency went from 51.1 ns to 14.9 ns. Running daily since 23 Oct (7.2.10 J616C tree); applies to integration/aurora unchanged.The J616C DT that uses it comes separately.
Update (4 Nov): booted on a J616C on 7.3 with #914 and #929:
apple-mcclogssystem level cache allocation enabled on 24 planes.