[OS-BUILD PATCH] configs: make CONFIG_EDAC_GHES a module

2024-01-30 Thread Aristeu Rozanski (via Email Bridge)
From: Aristeu Rozanski configs: make CONFIG_EDAC_GHES a module Since 802e7f1dfed7cc7fb309995e0c4138f08977fdfc it's possible to build ghes_edac as module and this is useful for customers that want to unload it during runtime. Signed-off-by: Aristeu Rozanski diff --git a/redhat/configs/common/g

[OS-BUILD PATCHv3 4/5] Remove separate license tag for libperf

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes Remove separate license tag for libperf Signed-off-by: Justin M. Forbes 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 @@ -1135,13 +1135,11 @@ This

[OS-BUILD PATCHv3 3/5] Don't use upstream bpftool version for Fedora package

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes Don't use upstream bpftool version for Fedora package Upstream bpftool went with their own versioning. While this works in rawhide and RHEL where release is bumped wth every build, it does not work with Fedora. Because bpftool sublevel is not bumped with stable updates, an

[OS-BUILD PATCHv3 1/5] add libperf packages and enable perf, libperf, tools and bpftool packages

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Thorsten Leemhuis add libperf packages and enable perf, libperf, tools and bpftool packages Signed-off-by: Thorsten Leemhuis 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.t

[OS-BUILD PATCHv3 5/5] Remove defines forcing tools on, they override cmdline

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes Remove defines forcing tools on, they override cmdline Signed-off-by: Justin M. Forbes 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 @@ -301,11 +3

[OS-BUILD PATCHv3 2/5] Don't ship libperf.a in libperf-devel

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes Don't ship libperf.a in libperf-devel Signed-off-by: Justin M. Forbes 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 @@ -3042,6 +3042,8 @@ rm -rf %

[OS-BUILD PATCHv3 0/5] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907 When kernel-tools was split out to a separate package in Fedora, it was due to several factors. Most of those issues have been mitigated in other ways, and there are advantages to bu

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749975554 I believe you are correct. Will fix it up. -- ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to k

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749970833 @jmflinuxtx ah I think I have an idea, the spec file now has the following lines for Fedora: ``` %define with_libperf 1 %define with_tools 1 ``` with these, is it even possible to

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749965091 I'll keep on digging... -- ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fe

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749916656 I do not expect that it would hit Makefile.perf for any reason. -- ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscri

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749908405 @jmflinuxtx do you have an idea whether it is expected that the above rpmbuild command still hits Makefile.perf? ``` 00:33:18 make[1]: *** [Makefile.perf:251: sub-make] Error 2 ```

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749901619 ok, one mistake found: the Rawhide pipeline was never restarted with the change in https://gitlab.com/cki-project/pipeline- definition/-/merge_requests/1879, so the `--without --libp

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749892200 checking an ELN log, the same error is present there 🤦 -- ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749878052 the first failure is 30 seconds into the build: ``` > /usr/bin/make CROSS_COMPILE=ppc64le-linux-gnu- ... vmlinux > 00:00:28 cc1: error: bad value ‘power8’ for ‘-mtune=’ switch ```

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749873338 As I said above, this particular MR is include in releases because I need koji building these packages. Since pipelines now run on include in releases, this MR should be impacting

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749872330 aaah the builds merge `ark-latest` now 🤦 -- ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kern

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749870876 I assumed it has nothing to do with native tools as https://gitlab.com/cki- project/kernel-ark/-/merge_requests/2912 is also impacted? --

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749868492 Why would we remove arches which should work fine? If we can build tools for ELN with the native_tools bit, we should be able to do the same for rawhide, no? --

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749868378 same for the Clang pipeline which seem to be red everywhere, @dzickusrh should we remove them as well? -- ___ kernel mailing list -- kerne

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749864890 This is a cross-compile issue so is not visible in Brew; if this is not something you want to keep green for Fedora/Rawhide, should we remove the ppc64le/s390x arches for the Rawhide

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749862756 To enable native tools for Rawhide similar to ELN, the only change to `.gitlab-ci.yml` is ```yaml .trigger_rawhide: variables: native_tools: 'true' ``` As the Rawhide non-deb

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749862624 This MR is "include in release" so it is being tested in all pipelines. -- ___ kernel mailing list -- kernel@lists.fedoraproject.org To u

Re: [OS-BUILD PATCHv2 0/4] Add libperf packages and build kernel tools for Fedora

2024-01-30 Thread Michael Hofmann (via Email Bridge)
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2907#note_1749852844 whatever is failing the Rawhide pipeline in this MR is also failing e.g. https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2912, so this particular breakage seems to be caus