Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfiles and kernel versions #67

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

dylandreimerink
Copy link
Member

@dylandreimerink dylandreimerink commented Sep 25, 2024

In kernel 6.11 decl tag generation for kfuncs has been added. This
allows users to list all kfuncs built into the kernel via the vmlinux
BTF. This commit updates the versions.json to include kernel 6.11.

The current builder ships with pahole 1.24 which it gets from the
debian repository. This version does not support the new decl tag
generation. This commit updates the builder to build pahole 1.27 from
source.

During the version upgrade two CI build errors were found. For 6.11
we new require `CONFIG_MPTCP=y`. Due to missing dependencies in the
backport process the selftests can't build on v6.6.42-v6.6.52. So
despite v6.6.52 being the latest version, only upgrading to v6.6.41.
We should be able to upgrade once
`tools/testing/selftests/bpf/netlink_helpers.{c,h}` have been backported
to v6.6.x.

@dylandreimerink dylandreimerink marked this pull request as ready for review September 25, 2024 20:29
Copy link
Contributor

@ti-mo ti-mo left a comment

Choose a reason for hiding this comment

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

Nice work, thanks for taking a closer look! Left a few comments.

I'll close #66 now this PR is out and passing builds.

versions.json Outdated Show resolved Hide resolved
Dockerfile.builder Outdated Show resolved Hide resolved
In kernel 6.11 decl tag generation for kfuncs has been added. This
allows users to list all kfuncs built into the kernel via the vmlinux
BTF. This commit updates the versions.json to include kernel 6.11.

The current builder ships with pahole 1.24 which it gets from the
debian repository. This version does not support the new decl tag
generation. This commit updates the builder to build pahole 1.27 from
source.

During the version upgrade two CI build errors were found. For 6.11
we new require `CONFIG_MPTCP=y`. Due to missing dependencies in the
backport process the selftests can't build on v6.6.42-v6.6.52. So
despite v6.6.52 being the latest version, only upgrading to v6.6.41.
We should be able to upgrade once
`tools/testing/selftests/bpf/netlink_helpers.{c,h}` have been backported
to v6.6.x.

Signed-off-by: Dylan Reimerink <[email protected]>
Copy link
Contributor

@ti-mo ti-mo left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@dylandreimerink dylandreimerink merged commit e3830fd into main Oct 1, 2024
11 checks passed
@dylandreimerink dylandreimerink deleted the feature/kfunc-decl-tags branch October 1, 2024 12:53
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