Skip to content

linux-qcom: build IPv6 in for early systemd startup - #476

Merged
Ricardo Salveti (ricardosalveti) merged 1 commit into
qualcomm-linux:mainfrom
wenwfu:optimize-build-in-ipv6
Sep 16, 2026
Merged

Ricardo Salveti (ricardosalveti) merged 1 commit into
qualcomm-linux:mainfrom
wenwfu:optimize-build-in-ipv6

Conversation

@wenwfu

Copy link
Copy Markdown
Contributor

systemd modprobes ipv6.ko during PID 1 initialization when it is configured as a module. Build IPv6 in so it is ready before userspace starts and remove this boot-critical module-load path.

@quaresmajose

Copy link
Copy Markdown
Member

Why do you only do this for 6.18? Shouldn't this be version-agnostic?

@wenwfu

Copy link
Copy Markdown
Contributor Author

Why do you only do this for 6.18? Shouldn't this be version-agnostic?

Good point. This configuration is required for all Qualcomm kernel variants used by qcom-distro, not only 6.18. I will make the bbappend version- and variant-agnostic so it applies to linux-qcom, linux-qcom-rt, linux-qcom-next and linux-qcom-next-rt.

@wenwfu

Copy link
Copy Markdown
Contributor Author

I updated the patch to make it version- and variant-agnostic:

  • use linux-qcom%.bbappend
  • move the fragment to linux-qcom/configs/distro-additions.cfg
  • apply it to all linux-qcom kernel variants

Comment thread recipes-kernel/linux/linux-qcom-6.18.bbappend Outdated
@@ -0,0 +1,3 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/linux-qcom:"

SRC_URI += "file://configs/distro-additions.cfg"

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.

Use SRC_URI:append:qcom-distro instead here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

@github-actions

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 3e28fb1

qcom-distro
Pass: 112 | Fail: 1 | Total: 119
qcom-distro_linux-qcom-6.18
Pass: 5 | Fail: 1 | Total: 6

@test-reporting-app

test-reporting-app Bot commented Sep 15, 2026

Copy link
Copy Markdown

Test Results

   34 files    260 suites   2h 13m 35s ⏱️
   91 tests    91 ✅  0 💤 0 ❌
1 646 runs  1 634 ✅ 12 💤 0 ❌

Results for commit cbaa530.

♻️ This comment has been updated with latest results.

systemd modprobes ipv6.ko during PID 1 initialization when it is
configured as a module. Build IPv6 in so it is ready before userspace
starts and remove this boot-critical module-load path.

Signed-off-by: Wenwen Fu <wenwfu@qti.qualcomm.com>
@wenwfu

Copy link
Copy Markdown
Contributor Author

I updated the patch to use SRC_URI:append:qcom-distro for Yocto compatibility.

@ricardosalveti
Ricardo Salveti (ricardosalveti) merged commit acc7f52 into qualcomm-linux:main Sep 16, 2026
146 checks passed
@quic-yocto-ci

Copy link
Copy Markdown

Successfully created backport PR for wrynose:

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