Skip to content

shikra-evk: add phone to MACHINE_FEATURES#2665

Open
Mrigank Dembla (mdembla-bit) wants to merge 1 commit into
qualcomm-linux:masterfrom
mdembla-bit:shikra-evk-phone-feature
Open

shikra-evk: add phone to MACHINE_FEATURES#2665
Mrigank Dembla (mdembla-bit) wants to merge 1 commit into
qualcomm-linux:masterfrom
mdembla-bit:shikra-evk-phone-feature

Conversation

@mdembla-bit

@mdembla-bit Mrigank Dembla (mdembla-bit) commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

shikra-evk does not support cellular data calls, as modemmanager is
not enabled for this machine.

modemmanager is conditionally enabled at the distro layer based on
'phone' being present in a machine's MACHINE_FEATURES. Add 'phone'
to MACHINE_FEATURES for shikra-evk so that modemmanager gets enabled
and cellular data connectivity is supported.

@lumag Dmitry Baryshkov (lumag) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pleasev start your commit message by describing the issue you are trying to solve.

@mdembla-bit

Copy link
Copy Markdown
Contributor Author

Pleasev start your commit message by describing the issue you are trying to solve.

Hi Dmitry Baryshkov (@lumag) , updated the commit text, as well as PR description. Please let me know if this is fine?

@lumag

Copy link
Copy Markdown
Contributor

Pleasev start your commit message by describing the issue you are trying to solve.

Please let me know if this is fine?

Did you start your commit message with the description of the issue? No, you didn't. So you can guess my answer. Also please drop the description of the change. "This change does this" is completely redundant, you can see it from the patch itself. Why do you need to repeat yourself?

@mdembla-bit

Copy link
Copy Markdown
Contributor Author

Pleasev start your commit message by describing the issue you are trying to solve.

Please let me know if this is fine?

Did you start your commit message with the description of the issue? No, you didn't. So you can guess my answer. Also please drop the description of the change. "This change does this" is completely redundant, you can see it from the patch itself. Why do you need to repeat yourself?

I've updated the commit message based on your feedback to better explain the problem being solved and the role of phone in enabling ModemManager support.
Could you please take another look?

@lumag Dmitry Baryshkov (lumag) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we want to support cellular calls on Shikra?

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 7e00ed5

nodistro
Pass: 10 | Fail: 0 | Total: 10
qcom-distro_linux-qcom-6.18
Pass: 218 | Fail: 0 | Total: 241
qcom-distro
Pass: 9 | Fail: 1 | Total: 10

@test-reporting-app

test-reporting-app Bot commented Jul 1, 2026

Copy link
Copy Markdown

Test Results

  110 files    657 suites   7h 38m 50s ⏱️
  162 tests   125 ✅  2 💤 35 ❌
6 237 runs  6 123 ✅ 64 💤 50 ❌

For more details on these failures, see this check.

Results for commit 2e15d74.

♻️ This comment has been updated with latest results.

@mdembla-bit

Copy link
Copy Markdown
Contributor Author

Why do we want to support cellular calls on Shikra?

Shikra includes modem support and cellular data connectivity is an expected platform capability. This change enables the standard ModemManager userspace stack required to make use of the modem for WWAN data calls.

@lumag

Copy link
Copy Markdown
Contributor

Shikra includes modem support and cellular data connectivity is an expected platform capability

This should be a part of the commit message. Which board has a modem? Is it a PCIe modem or a part of the SoC, etc.

@mdembla-bit

Copy link
Copy Markdown
Contributor Author

Shikra includes modem support and cellular data connectivity is an expected platform capability

This should be a part of the commit message. Which board has a modem? Is it a PCIe modem or a part of the SoC, etc.

Thanks. I've updated the commit message accordingly. It now explicitly states that shikra-evk requires WWAN connectivity support for the modem integrated into the SoC and explains that the phone MACHINE_FEATURE is needed to enable the required ModemManager userspace support.

@lumag Dmitry Baryshkov (lumag) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

shikra-evk lacks WWAN connectivity support for the modem integrated
into the SoC.

Lacks, ok. Does it specify, that Shikra has internal modem? No. Which SKUs have it? Does it make sense to split configuration into two different machines (like it is done for QCM6490-IDP vs RB3 Gen2) or does it make sense to keep all of them enabled as a single machine entry?
Is the cellular modem supported by the published qdsp6sw firmware or does it require a separate firmware file, to be licenced from Qualcomm?

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 2e15d74

nodistro
Pass: 10 | Fail: 0 | Total: 10
qcom-distro_linux-qcom-6.18
Pass: 221 | Fail: 1 | Total: 252
qcom-distro
Pass: 253 | Fail: 0 | Total: 283

@vkraleti

Viswanath Kraleti (vkraleti) commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Which SKUs have it?

The CQM variant supports an integrated CAT4 cellular modem in addition to WLAN running on the Q6. The CQS variant supports Audio and WLAN on the Q6, but does not include cellular modem functionality.

Does it make sense to split configuration into two different machines (like it is done for QCM6490-IDP vs RB3 Gen2) or does it make sense to keep all of them enabled as a single machine entry?

Maintaining separate machine configurations does not provide much value as the there is no difference in the publicly available firmware between the CQM and CQS variants. Even the CDT is shared by these variants.

Is the cellular modem supported by the published qdsp6sw firmware or does it require a separate firmware file, to be licenced from Qualcomm?

The qdsp6sw firmware published in linux-firmware.git does not include support for the cellular modem. Cellular modem functionality requires an additional modem firmware package that is provided separately to licensed customers.

@lumag

Copy link
Copy Markdown
Contributor

Thanks! Now you can turn it into a nice commit message.

@ricardosalveti

Copy link
Copy Markdown
Contributor

Yeah, please fix the commit message, we do have variants which do have such "machine feature", it is just that we are using one board conf supporting multiple variants, which is fine.

The Shikra CQM variant includes an integrated LTE Cat 4 modem. To
support WWAN connectivity on modem-enabled configurations, the
userspace modem management stack (ModemManager) must be enabled.

qcom-distro enables ModemManager only for machines advertising the
'phone' capability through MACHINE_FEATURES.

The CQM and CQS variants share the same publicly available firmware
and CDT, so maintaining separate machine definitions provides little
value.

Note: cellular modem functionality requires an additional modem
firmware package provided separately to licensed customers.

Signed-off-by: Mrigank Dembla <mdembla@qti.qualcomm.com>
@mdembla-bit

Copy link
Copy Markdown
Contributor Author

Thanks. I've pushed an updated commit message covering the CQM integrated modem support and the shared shikra-evk configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants