Skip to content

linux-omarchy-aarch64: let a device tree turn on QSEECOM - #2294

Closed
birkskyum wants to merge 1 commit into
omacom:masterfrom
birkskyum:qseecom-dt-flag
Closed

birkskyum wants to merge 1 commit into
omacom:masterfrom
birkskyum:qseecom-dt-flag

Conversation

@birkskyum

Copy link
Copy Markdown
Contributor

qcom_scm uses QSEECOM, through which Linux reads and writes the UEFI variables (efibootmgr's boot entries and the RTC offset the firmware keeps there), only on the machines in its allowlist. So every laptop added here also needs a driver patch, and the last three (#2273, #2276, #2289) each carried one. That makes each one a kernel change, even when the rest of it is a device tree and hardware IDs.

linux-omarchy-aarch64 (pkgrel 33)

  • 2218 adds a boolean, qcom,uefisecapp, to the SCM binding. It says the board's firmware runs the UEFI secure application behind QSEECOM and has been tested with it.
  • 2219 makes qcom_scm allow QSEECOM where the SCM node has it, as for the machines on the allowlist.

A new laptop's tree turns it on with

&scm {
	qcom,uefisecapp;
};

and needs no driver patch. The allowlist and the entries already carried stay. No tree sets the flag yet, so machines in use today see no change.

Checks

  • All 501 local sources match both checksum arrays, and the 471 patches apply to 7.3 in order with --fuzz=0. 2218 and 2219 follow 2217 and leave the allowlist alone, so the allowlist patches after them apply unchanged.
  • qcom_scm.o builds with W=1, and dt_binding_check passes for qcom,scm.yaml.
  • With the flag added to the Surface Laptop 13-inch tree, CHECK_DTBS reports nothing new. Without 2218, dt-schema rejects it ('qcom,uefisecapp' does not match any of the regexes).

@birkskyum

Copy link
Copy Markdown
Contributor Author

@greptileai

@greptile-apps

greptile-apps Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Lets a board enable QSEECOM by setting qcom,uefisecapp on its SCM node.

  • Boards can enable QSEECOM by marking their SCM device-tree node.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Existing QSEECOM checks] --> B{Machine on allowlist?}
  B -->|Yes| E[Continue QSEECOM setup]
  B -->|No| C{SCM node has qcom,uefisecapp?}
  C -->|Yes| E
  C -->|No| D[Skip QSEECOM]
Loading

Reviews (1) · Last reviewed commit: "linux-omarchy-aarch64: let a device tree..." · Reviewed by Greptile

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.

1 participant