Repository navigation
spi: apple-qspi: admit both J616s boot NOR parts - #724
Merged
RyanTheTide merged 1 commit intoNov 2, 2026
Merged
RyanTheTide merged 1 commit into
RyanTheTide merged 1 commit into
Conversation
Commit eac7924 ("spi: apple-qspi: use the J616s Macronix boot NOR ID and registers") pinned the J616s boot NOR to c22b27, the Macronix ID macOS reports, in place of the W25Q64 ID. Not every J616s has that part: on a Mac16,7 RDID returns ef6517, the ID the driver already calls W25Q64, and SFDP is valid. That Mac now fails every NVRAM program and erase with -ENODEV. flash_status fails as well, because 35h is refused for the whole board although it is an ordinary SR2 read on this part. Let a board name a second JEDEC ID and list W25Q64 on the J616s. Decide 35h from the flash's own RDID, since the table no longer says which part is fitted. An empty second slot admits nothing, so a bus that reads zeroes stays refused. The status checks already follow the ID read from the flash. Fixes: eac7924 ("spi: apple-qspi: use the J616s Macronix boot NOR ID and registers") Assisted-by: LLM Signed-off-by: Jonathan Goyvaerts <[email protected]>
This was referenced Nov 2, 2026
notmysegv
pushed a commit
to notmysegv/linux
that referenced
this pull request
Nov 4, 2026
…nto integration/aurora Bring integration/aurora up to the aurora-wip tip 9ff2b9a. After this merge the two branches have the same tree. The range contains the fleet14o source c243830 (aurora-silicon#857, aurora-silicon#858, aurora-silicon#795, aurora-silicon#859), which was promoted on all four machines on 2026-11-02 and 03, and the merges after it: aurora-silicon#861 (apple-dcp selftest stubs for aurora-silicon#858), aurora-silicon#860 (SEP keybag in the shared xART window, the aurora-wip copy of aurora-silicon#856), aurora-silicon#724 (J616s boot NOR, both parts), aurora-silicon#779 (ALS colour temperature ABI), aurora-silicon#862 (J700 GD25UF16E boot NOR, the Neo bless fix), aurora-silicon#863 (J616s ANE H16 start stall), aurora-silicon#797 (T6000 DCS whole-word writes) and aurora-silicon#803 (G17 keeps innocent clients alive across another client's recovery). aurora-silicon#858 and aurora-silicon#860 make the same changes integration/aurora already had as aurora-silicon#855 and aurora-silicon#856, so they merge without conflicts. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
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.
eac79241035dpinned the J616s boot NOR toc22b27, the Macronix ID macOS reports. The Mac16,7 here has a different part: RDID returnsef6517, the ID the driver already calls W25Q64, and SFDP is valid. On this Mac:-ENODEVflash_statusfails with error 524, because 35h is refused for the whole board even though it is an ordinary SR2 read on this partI can't tell whether
c22b27came from a different J616s or from how macOS reports the part, so this keeps both IDs rather than swapping one for the other.What changes
The status checks already follow the ID read from the flash, so the Winbond part gets the Winbond checks.
Testing
On the Mac16,7, with this driver built for a kernel whose
spi-apple-qspi.cmatches this base, and swapped in as a module:flash_statusjedec=ef6517 sr1=00 sr2=02 sr3=60/dev/mtd0written back unchanged,read_only=NENODEV203081c48a98c24e…203081c48a98c24e…tools/asahi/qspi-nvram-tests.pypasses, also throughrun-host-tests.py --only qspi. It has new cases for the W25Q64 part on the J616s entry, a third ID and an empty second slot, plus two new changed-guard controls. checkpatch--strictis clean on the patch.Not tested:
🤖 Generated with Claude Code