Repository navigation
soc: apple: retain the live J614s MTP handoff - #817
RyanTheTide merged 1 commit into
Conversation
When the bootloader advertises a running J614s MTP session, validate its DART bypass and retain the session and its reserved buffer inventory for the RTKit helper. A malformed advertised handoff is refused; a boot without one retains the existing initialization path. On a J614s using the matching bootloader, the MTP DART was retained, three shared buffers were adopted, and keyboard and trackpad worked. Generated-by: LLM Assisted-by: LLM Signed-off-by: Michal S. <[email protected]>
|
Reviewed for the M4 merge train. Same two blockers as #804:
It pairs with aurora-silicon/u-boot#29, so the two should land together. The description says this exact branch hasn't been built or booted as a standalone stack. A boot of the standalone branch with the matching U-Boot on the J614s would close that gap. On our side we'll check that the J616s and J614s paths without an advertised |
f015a5c to
2eef04d
Compare
2eef04d to
49d9477
Compare
|
Added the author sign-off and LLM disclosure, and retargeted this to |
On a J614s whose bootloader has used the built-in keyboard, the MTP coprocessor and its DART can still be live when Linux starts. Resetting the DART or starting a new RTKit session would discard that handoff.
For the J614s MTP DART, retain the bypass only when the advertised
mtp-live-v1handoff names the matching MTP and the DART passes the existing hardware checks. Reject an invalid advertised handoff. Extend the RTKit helper's existing buffer-inventory and retained-session handling to the J614s T6041 MTP. Without the advertised handoff the normal initialization path remains unchanged.Validation
mtp-live-v1; the kernel reports retaining the J614s MTP DART and adopting three RTKit buffers. The keyboard and trackpad initialized and the owner reported the system worked after the recent device-tree trial.7.3.0-1-14-ARCHkernel was built from the integrated J614s source24bfd5ba2c182bf67d40c7d02f4947d124f04fa4, which includes this PR alongside other J614s changes. The matching U-Boot was built from power: supply: macsmc: J700 battery reporting (reworked, 3 patches) #29's original source commit7a6dc91397981d52339be0fa7cce981bc5d47c2d. The current boot log reports that U-Boot revision, retaining the live MTP bypass and adopting three buffers; keyboard and trackpad initialized. This is a combined-stack boot, not a boot of the standalone kernel PR branch.checkpatch.pl --strictreports no errors, warnings or checks on the diff.The matching U-Boot producer is proposed in aurora-silicon/u-boot#29; the two changes should land together. This kernel-side change does not by itself provide a bootloader handoff.