[OS-BUILD PATCHv2] redhat: Enable HSR and PRP
From: Felix Maurer redhat: Enable HSR and PRP Enable hsr as a module to support the protocols HSR and PRP in the kernel. Leave it unset in the s390x-zfcpdump config because that does not need networking. Signed-off-by: Felix Maurer diff --git a/redhat/configs/common/generic/CONFIG_HSR b/redhat/configs/common/generic/CONFIG_HSR index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/CONFIG_HSR +++ b/redhat/configs/common/generic/CONFIG_HSR @@ -1 +1 @@ -# CONFIG_HSR is not set +CONFIG_HSR=m diff --git a/redhat/configs/rhel/generic/s390x/zfcpdump/CONFIG_HSR b/redhat/configs/rhel/generic/s390x/zfcpdump/CONFIG_HSR new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/s390x/zfcpdump/CONFIG_HSR @@ -0,0 +1 @@ +# CONFIG_HSR is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2610 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: [OS-BUILD PATCH] redhat: Enable HSR and PRP for rhel
From: Felix Maurer on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2610#note_1481161502 Sure, if there is a need for it, I'll move it to common/generic/ ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCH] redhat: Enable HSR and PRP for rhel
From: Felix Maurer redhat: Enable HSR and PRP for rhel Enable hsr as a module in the rhel configs to support the protocols HSR and PRP in the kernel. Leave it unset in the s390x-zfcpdump config because that does not need networking. Signed-off-by: Felix Maurer diff --git a/redhat/configs/rhel/generic/CONFIG_HSR b/redhat/configs/rhel/generic/CONFIG_HSR new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/CONFIG_HSR @@ -0,0 +1 @@ +CONFIG_HSR=m diff --git a/redhat/configs/rhel/generic/s390x/zfcpdump/CONFIG_HSR b/redhat/configs/rhel/generic/s390x/zfcpdump/CONFIG_HSR new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/s390x/zfcpdump/CONFIG_HSR @@ -0,0 +1 @@ +# CONFIG_HSR is not set -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2610 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCH] kernel.spec: package unstripped test_progs-no_alu32
From: Felix Maurer kernel.spec: package unstripped test_progs-no_alu32 Two bpf selftest run by test_progs-no_alu32 were failing: ./test_progs-no_alu32 -t attach_probe [...] libbpf: elf: failed to find symbol 'trigger_func2' in '/proc/self/exe' test_attach_probe:FAIL:attach_uprobe_byname unexpected error: -2 [...] ./test_progs-no_alu32 -t uprobe_autoattach [...] libbpf: elf: failed to find symbol 'autoattach_trigger_func' in '/proc/self/exe' libbpf: prog 'handle_uprobe_byname': failed to auto-attach: -2 test_uprobe_autoattach:FAIL:skel_attach unexpected error: -2 (errno 2) [...] These selftests require symbols in the test binary to pass. We already ship kselftests/bpf/test_progs unstripped. Package the no_alu32 variant of the test binary unstripped as well. Signed-off-by: Felix Maurer diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -2574,6 +2574,7 @@ for dir in bpf bpf/no_alu32 bpf/progs; do xargs -0 cp -t %{buildroot}%{_libexecdir}/kselftests/$dir || true done %buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs" +%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs-no_alu32" popd export -n BPFTOOL %endif -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2483 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: [OS-BUILD PATCHv2 0/2] kernel.spec: Fix packaging of no_alu32 bpf selftests
From: Felix Maurer on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2422#note_1370836160 There is, added it to the commit message ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCHv2 2/2] kernel.spec: package unstripped test_progs-no_alu32
From: Felix Maurer kernel.spec: package unstripped test_progs-no_alu32 Two bpf selftest run by test_progs-no_alu32 were failing: ./test_progs-no_alu32 -t attach_probe [...] libbpf: elf: failed to find symbol 'trigger_func2' in '/proc/self/exe' test_attach_probe:FAIL:attach_uprobe_byname unexpected error: -2 [...] ./test_progs-no_alu32 -t uprobe_autoattach [...] libbpf: elf: failed to find symbol 'autoattach_trigger_func' in '/proc/self/exe' libbpf: prog 'handle_uprobe_byname': failed to auto-attach: -2 test_uprobe_autoattach:FAIL:skel_attach unexpected error: -2 (errno 2) [...] These selftests require symbols in the test binary to pass. We already ship kselftests/bpf/test_progs unstripped. Package the no_alu32 variant of the test binary unstripped as well. Signed-off-by: Felix Maurer diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -2579,6 +2579,7 @@ for dir in bpf bpf/no_alu32 bpf/progs; do done ln -sr %{buildroot}%{_libexecdir}/kselftests/bpf/bpftool %{buildroot}%{_libexecdir}/kselftests/bpf/no_alu32/bpftool %buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs" +%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs-no_alu32" popd export -n BPFTOOL %endif -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2422 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCHv2 0/2] kernel.spec: Fix packaging of no_alu32 bpf selftests
From: Felix Maurer on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2422 Improve the packaging process of the no_alu32 bpf selftests. They need a link to the bpftool binary (this change is already in centos-stream-9 but now added to kernel-ark) and the test_progs-no_alu32 needs to have symbols, i.e., must not be stripped. Signed-off-by: Felix Maurer --- redhat/kernel.spec.template | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCH 2/2] kernel.spec: package unstripped test_progs-no_alu32
From: Felix Maurer kernel.spec: package unstripped test_progs-no_alu32 Some bpf selftests require symbols in the test binary to pass. We already ship kselftests/bpf/test_progs unstripped. Package the no_alu32 variant of the test binary unstripped as well. Signed-off-by: Felix Maurer diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -2579,6 +2579,7 @@ for dir in bpf bpf/no_alu32 bpf/progs; do done ln -sr %{buildroot}%{_libexecdir}/kselftests/bpf/bpftool %{buildroot}%{_libexecdir}/kselftests/bpf/no_alu32/bpftool %buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs" +%buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs-no_alu32" popd export -n BPFTOOL %endif -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2422 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCH 1/2] bpf/selftests: fix bpf selftests install
From: Jerome Marchand bpf/selftests: fix bpf selftests install bpftool is not installed in bpf/no_alu32/. That's because it is a link. Add a link to bpf/bpftool in bpf/no_alu32/. Signed-off-by: Jerome Marchand Signed-off-by: Felix Maurer diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -2577,6 +2577,7 @@ for dir in bpf bpf/no_alu32 bpf/progs; do -name '*.o' -exec sh -c 'readelf -h "{}" | grep -q "^ Machine:.*BPF"' \; \) -print0 | \ xargs -0 cp -t %{buildroot}%{_libexecdir}/kselftests/$dir || true done +ln -sr %{buildroot}%{_libexecdir}/kselftests/bpf/bpftool %{buildroot}%{_libexecdir}/kselftests/bpf/no_alu32/bpftool %buildroot_save_unstripped "usr/libexec/kselftests/bpf/test_progs" popd export -n BPFTOOL -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2422 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[OS-BUILD PATCH 0/2] kernel.spec: Fix packaging of no_alu32 bpf selftests
From: Felix Maurer on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2422 Improve the packaging process of the no_alu32 bpf selftests. They need a link to the bpftool binary (this change is already in centos-stream-9 but now added to kernel-ark) and the test_progs-no_alu32 needs to have symbols, i.e., must not be stripped. Signed-off-by: Felix Maurer --- redhat/kernel.spec.template | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue