Skip to content

FROMLIST: soc: qcom: geni-se: Leave resource management to protocol d… - #2435

Open
vdadhani wants to merge 1 commit into
qualcomm-linux:tech/bus/peripheralsfrom
vdadhani:drop-resource-management
Open

vdadhani wants to merge 1 commit into
qualcomm-linux:tech/bus/peripheralsfrom
vdadhani:drop-resource-management

Conversation

@vdadhani

@vdadhani vdadhani commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

…rivers

Protocol drivers power the Serial Engine (SE) up and down from their runtime PM callbacks. Firmware loading runs with a runtime PM reference held, so the resources and interconnect paths are already enabled.

geni_load_se_fw() redundantly enables these resources and unconditionally disables them after programming the firmware. This drops the protocol driver's ICC vote while the device remains active.

Leave resource management to the protocol drivers and keep the common firmware loader limited to programming the SE.

Link: https://lore.kernel.org/all/20261025-gen-se-remove-resources-handling-v1-1-e81da6707b5f@oss.qualcomm.com/
Fixes: d4bf065 ("soc: qcom: geni-se: Add support to load QUP SE Firmware via Linux subsystem")
Cc: stable@vger.kernel.org

…rivers

Protocol drivers power the Serial Engine (SE) up and down from their
runtime PM callbacks. Firmware loading runs with a runtime PM reference
held, so the resources and interconnect paths are already enabled.

geni_load_se_fw() redundantly enables these resources and unconditionally
disables them after programming the firmware. This drops the protocol
driver's ICC vote while the device remains active.

Leave resource management to the protocol drivers and keep the common
firmware loader limited to programming the SE.

Link: https://lore.kernel.org/all/20261025-gen-se-remove-resources-handling-v1-1-e81da6707b5f@oss.qualcomm.com/
Fixes: d4bf065 ("soc: qcom: geni-se: Add support to load QUP SE Firmware via Linux subsystem")
Cc: stable@vger.kernel.org
Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
@qswat-orbit-external

Copy link
Copy Markdown

Change Requests Validation Check

No CR numbers found in the pull request description.

Please add CR numbers in the format: CRs-fixed: {number} (one per line).

Example:

CRs-fixed: 12345
CRs-fixed: 67890

@qcomlnxci
qcomlnxci requested review from a team, jseerapu and mukesh-savaliya and removed request for a team December 1, 2026 07:47
@qcomlnxci

Copy link
Copy Markdown

Topic branch CI failed — tree reproduction

This branch is not built on its own. CI rebuilds the whole qcom-next
tree from qcom-next.yaml, then applies the exact branch-tip SHA overrides
captured below before merging the PR head.

Input Value
Run 46601295343 (attempt 1)
Failed stage(s) build, build_rt
kernel-config 58784a34cca36ecc6bf011e70751817d419cf875 (main)
PR head merged after candidate a010821f1b1028b3880bda6e1b6a5c79838a6487
Candidate topic/dependency SHAs unavailable
PR qualcomm-linux/kernel-topics#2435
automerge sgaud-quic/automerge @ sha_config_yaml
rerere cache qualcomm-linux/kernel-rrcache

Candidate topic overrides

Unavailable: this workflow failed before the topic candidate was generated.

qcom-next.yaml at kernel-config 58784a34cca3 pins the baseline
and every non-overridden topic to an explicit SHA. The table above captures
the exact topic and dependency overrides used by each build job.

Rebuild the exact tree
mkdir qcom-topic-repro && cd qcom-topic-repro

# 1. Topic config, at the exact commit this run used
git clone https://github.com/qualcomm-linux/kernel-config.git
git -C kernel-config checkout 58784a34cca36ecc6bf011e70751817d419cf875

# 2. Scratch tree; ci-merge resets it to the baseline named in the config
git clone https://github.com/qualcomm-linux/kernel.git

# 3. automerge tooling, same branch CI uses
git clone --branch sha_config_yaml https://github.com/sgaud-quic/automerge.git

# 4. Apply the exact candidate topic overrides from the table above
cp kernel-config/qcom-next.yaml qcom-next-pr.yaml
#    Set each listed topic branch to its recorded SHA and remove any tag field.
#    If build and build_rt differ, use the matching table for that job.

# 5. Reassemble the tree
cd kernel
git config user.email you@example.com
git config user.name "Your Name"
../automerge/ci-merge --yaml-config ../qcom-next-pr.yaml \
  -t head -i qcom-next \
  -c https://github.com/qualcomm-linux/kernel-rrcache | tee ../merge.log

# 6. Merge this PR on top, as CI does
git fetch https://github.com/qualcomm-linux/kernel-topics.git pull/2435/head:pr-2435
git merge pr-2435

# 7. Confirm the tree matches the run
grep '^Merge successful' ../merge.log
git log --oneline -1

The run log for the failed stage contains the same Merge successful lines;
comparing them against local merge.log confirms an identical tree. The
workspace is assembled by .github/actions/sync in
qualcomm-linux/kernel-config at that commit.

Note: automerge and the rerere cache are tracked by branch, not pinned, so a
later change to either can alter conflict resolution.

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.

2 participants