Skip to content

Nord: PMU | reboot-mode| refresh PAS late-attach - #944

Merged
Komal Bajaj (Komal-Bajaj) merged 4 commits into
qualcomm-linux:staging/nordfrom
apateriy-qcom:nord-staging-12082026
Aug 12, 2026
Merged

Nord: PMU | reboot-mode| refresh PAS late-attach#944
Komal Bajaj (Komal-Bajaj) merged 4 commits into
qualcomm-linux:staging/nordfrom
apateriy-qcom:nord-staging-12082026

Conversation

@apateriy-qcom

Copy link
Copy Markdown

Four patches on top of origin/staging/nord (9564ae4):

  • 665a61b — PENDING: arm64: dts: qcom: nord: Add PMU node
  • a4728db — PENDING: arm64: dts: qcom: nord: Add reboot-mode for EDL and bootloader
  • c38f7cf — Revert "FROMGIT: remoteproc: qcom: pas: Add late attach support for subsystems"
  • 0076c72 — FROMGIT: remoteproc: qcom: pas: Add late attach support for subsystems

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:

  • if (desc->early_boot) {
    
  •         ret = qcom_q6v5_ping_subsystem_init(&pas->q6v5, pdev);
    
  •         ...
    
  • }
    
  • if (desc->early_boot)
    
  •         pas->rproc->state = RPROC_DETACHED;
    

apateriy-qcom and others added 4 commits August 12, 2026 18:08
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 (Komal-Bajaj) merged commit 17e12fe into qualcomm-linux:staging/nord Aug 12, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants