Skip to content

Conversation

@kraghava-qti
Copy link
Contributor

@kraghava-qti kraghava-qti commented Feb 11, 2026

qualcomm-linux/qcom-dtb-metadata#48 adds support for the Lemans EL2
DTB overlay.

The EL2 DTB overlay is currently absent for Lemans machines, which
prevents enabling KVM use cases. This change enables EL2 support by
updating the corresponding machine configuration files and FIT DTB
compatible string mappings.

@kraghava-qti kraghava-qti changed the title EL2 fit image dtb support for lemans el2 fit image dtb support for lemans Feb 11, 2026
@kraghava-qti kraghava-qti force-pushed the dev-add-el2-dtb branch 4 times, most recently from 838d10d to 53bf9b1 Compare February 11, 2026 13:55
@kraghava-qti kraghava-qti force-pushed the dev-add-el2-dtb branch 2 times, most recently from 0fd5e30 to 13b552e Compare February 11, 2026 16:56
@kraghava-qti kraghava-qti force-pushed the dev-add-el2-dtb branch 2 times, most recently from d568fe3 to f767f85 Compare February 11, 2026 18:13
@@ -8,7 +8,7 @@ DEPENDS += "dtc-native"

SRC_URI = "git://github.com/qualcomm-linux/qcom-dtb-metadata.git;branch=main;protocol=https;tag=v${PV}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just qcom-dtb-metadata: foo, please. Also, it's not update SRCREV, it's switch to the next release.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is now a tag (https://github.com/qualcomm-linux/qcom-dtb-metadata/releases/tag/v0.2), so say you are updating to the corresponding tag version.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, tag = release in my opinion, but yeah, tag also works.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@github-actions
Copy link

Test run workflow

Test jobs for commit f767f85

Test dragonboard-410c dragonboard-820c qcs615-adp-air qcs6490 qcs8300 qcs9100 qcs9100-rb8 qrb2210-rb1
boot pass pass pass pass pass pass pass pass

All jobs summary

Job ID Device State Health
141754 qcs6490 Finished Complete
141768 qcs615-adp-air Finished Complete
141747 dragonboard-410c Finished Complete
141771 qcs8300 Finished Complete
141762 qcs6490 Finished Complete
141745 qcs9100 Finished Complete
141773 qrb2210-rb1 Finished Complete
141748 dragonboard-820c Finished Complete
141758 qcs9100-rb8 Finished Complete
141759 qcs8300 Finished Complete
141763 qrb2210-rb1 Finished Complete
141746 qcs9100 Finished Complete
141761 qcs8300 Finished Complete
141749 qcs615-adp-air Finished Complete
141753 dragonboard-410c Finished Complete
141766 qcs6490 Finished Complete
141769 qcs6490 Finished Complete
141764 qrb2210-rb1 Finished Complete
141774 dragonboard-410c Finished Complete
141772 qcs615-adp-air Finished Complete
141775 dragonboard-410c Finished Complete
141767 qcs9100 Finished Complete
141751 qcs615-adp-air Finished Complete
141750 qcs9100-rb8 Finished Complete
141757 dragonboard-820c Finished Complete
141744 qcs9100 Finished Complete
141765 qcs8300 Finished Complete
141752 qcs9100-rb8 Finished Complete
141770 dragonboard-820c Finished Complete
141756 dragonboard-820c Finished Complete
141755 qrb2210-rb1 Finished Complete
141760 qcs9100-rb8 Finished Incomplete

@test-reporting-app
Copy link

Test Results

 31 files   31 suites   1h 4m 31s ⏱️
 11 tests  11 ✅ 0 💤 0 ❌
265 runs  265 ✅ 0 💤 0 ❌

Results for commit f767f85.

FIT_DTB_COMPATIBLE[lemans-evk+lemans-evk-camx+lemans-el2] = " \
qcom,qcs9075-iot-camx-el2kvm \
qcom,qcs9075v2-iot-camx-el2kvm \
"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see new suffix to compatible is added.
Does UEFI release already support the logic to handle -el2kvm, if not this compatible will never get matched ?

Copy link
Contributor Author

@kraghava-qti kraghava-qti Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UEFI does not provide support as of today.

The options I am aware of:

  • wait for the uefi team to provide support and then merge, (or)
  • merge this pr and then wait on uefi for the new binary with the support, (or)
  • any other alternative ?

Copy link
Member

@sbanerjee-quic sbanerjee-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approve was by mistake need to understand the -el2kvm usage

qualcomm-linux/qcom-dtb-metadata#48 adds support for the Lemans EL2
DTB overlay. EL2 DTB overlay support is required during FIT DTB image
creation to enable KVM use cases for Lemans. Update SRCREV and version
to point to the commit that adds the compatible strings for Lemans EL2
KVM support.

Signed-off-by: Keerthivasan Raghavan <kraghava@qti.qualcomm.com>
qualcomm-linux/qcom-dtb-metadata#48 adds support for the Lemans EL2
DTB overlay. There is no existing FIT DTB mapping to allow KVM
usecases to be enabled for qcs9100. Add the mapping.

Signed-off-by: Keerthivasan Raghavan <kraghava@qti.qualcomm.com>
…3 EL2

qualcomm-linux/qcom-dtb-metadata#48 adds support for the Lemans EL2
DTB overlay. There is no existing FIT DTB mapping to allow KVM
usecases to be enabled for qcs9100-ride-r3. Add the mapping.

Signed-off-by: Keerthivasan Raghavan <kraghava@qti.qualcomm.com>
qualcomm-linux/qcom-dtb-metadata#48 adds support for the Lemans EL2
DTB overlay. There is no existing FIT DTB mapping to allow KVM
usecases to be enabled for qcs9075. Add the mapping.

Signed-off-by: Keerthivasan Raghavan <kraghava@qti.qualcomm.com>
…th CAMX

qualcomm-linux/qcom-dtb-metadata#48 adds support for the Lemans EL2
DTB overlay. There is no existing FIT DTB mapping to allow KVM with
camex usecases to be enabled for qcs9075. Add the mapping.

Signed-off-by: Keerthivasan Raghavan <kraghava@qti.qualcomm.com>
qualcomm-linux/qcom-dtb-metadata#48 introduces support for the
Lemans EL2 DTB overlay. KVM use cases are currently disabled
due to the absence of the EL2 DTBO. Enable KVM support by
adding the EL2 DTBO.

Signed-off-by: Keerthivasan Raghavan <kraghava@qti.qualcomm.com>
qualcomm-linux/qcom-dtb-metadata#48 introduces support for the
Lemans EL2 DTB overlay. KVM use cases are currently disabled
due to the absence of the EL2 DTBO. Enable KVM support by
adding the EL2 DTBO.

Signed-off-by: kas User <kas@example.com>
@vkraleti vkraleti changed the title el2 fit image dtb support for lemans El2 FIT image dtb support for Lemans Feb 12, 2026
@kraghava-qti
Copy link
Contributor Author

[Build on PR / build-pr / qcom-armv8a/qcom-distro-selinux (pull_request)](https://github.com/qualcomm-linux/meta-qcom/actions/runs/21940489086/job/63367768238?pr=1538)Failing after 10m

["ERROR: refpolicy-targeted-2.20250923+git-r0 do_patch: Applying patch '/work/build/../../repo/dynamic-layers/selinux/recipes-security/refpolicy/refpolicy-targeted/0057-pd-mapper-Introduce-SELinux-domain-for-pd-mapper.patch' on target directory '/work/build/tmp/work/qcom_armv8a-qcom-linux/refpolicy-targeted/2.20250923+git/sources/refpolicy'\n", "CmdError('quilt --quiltrc /work/build/tmp/work/qcom_armv8a-qcom-linux/refpolicy-targeted/2.20250923+git/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0057-pd-mapper-Introduce-SELinux-domain-for-pd-mapper.patch\n", 'The next patch would create the file policy/modules/services/pd_mapper.fc,\n', 'which already exists!  Applying it anyway.\n', 'patching file policy/modules/services/pd_mapper.fc\n', 'Hunk #1 FAILED at 1.\n', '1 out of 1 hunk FAILED -- rejects in file policy/modules/services/pd_mapper.fc\n', 'The next patch would create the file policy/modules/services/pd_mapper.if,\n', 'which already exists!  Applying it anyway.\n', 'patching file policy/modules/services/pd_mapper.if\n', 'Hunk #1 FAILED at 1.\n', '1 out of 1 hunk FAILED -- rejects in file policy/modules/services/pd_mapper.if\n', 'The next patch would create the file policy/modules/services/pd_mapper.te,\n', 'which already exists!  Applying it anyway.\n', 'patching file policy/modules/services/pd_mapper.te\n', 'Hunk #1 FAILED at 1.\n', '1 out of 1 hunk FAILED -- rejects in file policy/modules/services/pd_mapper.te\n', 'Patch 0057-pd-mapper-Introduce-SELinux-domain-for-pd-mapper.patch does not apply (enforce with -f)\n', '\n', "stderr: ')\n", 'ERROR: Logfile of failure stored in: /work/build/tmp/work/qcom_armv8a-qcom-linux/refpolicy-targeted/2.20250923+git/temp/log.do_patch.50451\n', "ERROR: Task (/work/build/../meta-selinux/recipes-security/refpolicy/refpolicy-targeted_git.bb:do_patch) failed with exit code '1'\n"]

Problem with upstream recipe: meta-selinux/recipes-security/refpolicy/refpolicy-targeted_git.bb:do_patch

@vkraleti
Copy link
Contributor

[Build on PR / build-pr / qcom-armv8a/qcom-distro-selinux (pull_request)](https://github.com/qualcomm-linux/meta-qcom/actions/runs/21940489086/job/63367768238?pr=1538)Failing after 10m

["ERROR: refpolicy-targeted-2.20250923+git-r0 do_patch: Applying patch '/work/build/../../repo/dynamic-layers/selinux/recipes-security/refpolicy/refpolicy-targeted/0057-pd-mapper-Introduce-SELinux-domain-for-pd-mapper.patch' on target directory '/work/build/tmp/work/qcom_armv8a-qcom-linux/refpolicy-targeted/2.20250923+git/sources/refpolicy'\n", "CmdError('quilt --quiltrc /work/build/tmp/work/qcom_armv8a-qcom-linux/refpolicy-targeted/2.20250923+git/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0057-pd-mapper-Introduce-SELinux-domain-for-pd-mapper.patch\n", 'The next patch would create the file policy/modules/services/pd_mapper.fc,\n', 'which already exists!  Applying it anyway.\n', 'patching file policy/modules/services/pd_mapper.fc\n', 'Hunk #1 FAILED at 1.\n', '1 out of 1 hunk FAILED -- rejects in file policy/modules/services/pd_mapper.fc\n', 'The next patch would create the file policy/modules/services/pd_mapper.if,\n', 'which already exists!  Applying it anyway.\n', 'patching file policy/modules/services/pd_mapper.if\n', 'Hunk #1 FAILED at 1.\n', '1 out of 1 hunk FAILED -- rejects in file policy/modules/services/pd_mapper.if\n', 'The next patch would create the file policy/modules/services/pd_mapper.te,\n', 'which already exists!  Applying it anyway.\n', 'patching file policy/modules/services/pd_mapper.te\n', 'Hunk #1 FAILED at 1.\n', '1 out of 1 hunk FAILED -- rejects in file policy/modules/services/pd_mapper.te\n', 'Patch 0057-pd-mapper-Introduce-SELinux-domain-for-pd-mapper.patch does not apply (enforce with -f)\n', '\n', "stderr: ')\n", 'ERROR: Logfile of failure stored in: /work/build/tmp/work/qcom_armv8a-qcom-linux/refpolicy-targeted/2.20250923+git/temp/log.do_patch.50451\n', "ERROR: Task (/work/build/../meta-selinux/recipes-security/refpolicy/refpolicy-targeted_git.bb:do_patch) failed with exit code '1'\n"]

Problem with upstream recipe: meta-selinux/recipes-security/refpolicy/refpolicy-targeted_git.bb:do_patch

Addressed with #1544 Please rebase once merged.

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.

6 participants