Repository navigation
Conversation
Use the apple,apcie phandle instead of searching for a T8140-compatible controller. This allows the shared sleep path to assert J713 radio PERST before removing the native PCIe clocks. Signed-off-by: Erik Bourget <[email protected]>
52e3c8a to
3ac93e7
Compare
f9e9c5e to
170c161
Compare
RyanTheTide
left a comment
There was a problem hiding this comment.
The change itself is fine: both t8140.dtsi and t8132.dtsi already give the sleep node apple,apcie = <&pcie0>, the binding documents it, and of_parse_phandle() returns a reference the existing of_node_put() drops, as of_find_compatible_node() did.
The failing kunit job (https://github.com/aurora-silicon/linux/actions/runs/42695306042) is not caused by this commit. It fails to link with undefined symbol: t8132_spmi_va: arch/arm64/kernel/sleep.S on the base (b6f4482, from #1314) references a symbol that only exists with CONFIG_APPLE_T8140_SLEEP=y. It has to be fixed on the base.
|
Folded into #1314 (authorship kept), which carries the J713 radio sleep work from here on. Closing in favour of it. |
The shared sleep path searches for a T8140-compatible PCIe host, so it misses the T8132 host on J713. Follow the sleep controller's
apple,apciephandle instead. This lets the existing sleep sequence assert the shared radio PERST before removing PCIe clocks.Part 2/5 of J713 native radio S2R, stacked on #1314 at
00f5d3e3f848.stack/j713-radio-pr1314mirrors that PR's head so each subsystem has a separate review diff in this repository.Series order: #1378 → #1381 → #1382 → #1383 → #1384.
Depends on #1378.
Validation on this base:
Qualification covers radio recovery in the minimal sleep profile. GPU, external displays and SIO/audio were excluded, SLC allocation remained off, and paired Bluetooth traffic was not tested.