Nord: PMU | reboot-mode| refresh PAS late-attach - #944
Merged
Komal Bajaj (Komal-Bajaj) merged 4 commits intoAug 12, 2026
Merged
Conversation
Add the top-level pmu node so perf events can be collected on Nord. Signed-off-by: Anurag Pateriya <apateriy@qti.qualcomm.com>
Add the reboot-mode node under psci with vendor-specific SYSTEM_RESET2 parameters for EDL and bootloader. This lets userspace request "reboot bootloader" and "reboot edl" via the standard reboot-mode framework. Signed-off-by: Anurag Pateriya <apateriy@qti.qualcomm.com>
…ubsystems" This reverts commit 74b4253. Reverting this to update to latest version. Signed-off-by: Anurag Pateriya <apateriy@qti.qualcomm.com>
Subsystems can be brought out of reset by entities such as bootloaders. As the irq enablement could be later than subsystem bring up, the state of subsystem should be checked by reading SMP2P bits. A new qcom_pas_attach() function is introduced. if crash state is detected for the subsystem, rproc_report_crash() is called. If the ready state is detected meanwhile stop state is not detected, it will be marked as "attached", otherwise it could be the early boot feature is not supported by other entities or it has already been stopped. In above cases, the state will be marked as RPROC_OFFLINE so that the PAS driver can load the firmware and start the remoteproc. Co-developed-by: Gokul Krishna Krishnakumar <gokul.krishnakumar@oss.qualcomm.com> Signed-off-by: Gokul Krishna Krishnakumar <gokul.krishnakumar@oss.qualcomm.com> Tested-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260623-knp-soccp-v7-5-1ec7bb5c9fec@oss.qualcomm.com Signed-off-by: Anurag Pateriya <apateriy@qti.qualcomm.com>
Komal Bajaj (Komal-Bajaj)
approved these changes
Aug 12, 2026
Komal Bajaj (Komal-Bajaj)
merged commit Aug 12, 2026
17e12fe
into
qualcomm-linux:staging/nord
1 of 2 checks passed
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.
Four patches on top of origin/staging/nord (9564ae4):
DT (1–2): add the top-level arm,armv8-pmuv3 node so perf events work on Nord, and a reboot-mode child under psci with the vendor SYSTEM_RESET2 params so userspace can do reboot bootloader / reboot edl.
Remoteproc (3–4): the tree carried an older revision of the late-attach series (74b4253); revert it and re-apply the version picked up upstream (lore link (https://lore.kernel.org/r/20260623-knp-soccp-v7-5-1ec7bb5c9fec@oss.qualcomm.com)). Net delta is confined to qcom_pas_probe() — the probe-time SMP2P ping handshake is dropped, and qcom_pas_attach() now decides purely from the SMP2P IRQ line levels: