[OS-BUILD PATCH] redhat/self-test: Ignore .rhpkg.mk files

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Ignore .rhpkg.mk files If a user specifies, for example, a ~/.rhpkg.mk file, the file will be included in the MAKEFILE_LIST variable. This breaks the dist-dump-variables test, so these files should be excluded. Ignore user specified .rhpkg.mk files. Sig

Re: [OS-BUILD PATCH 0/20] redhat: Update with RHEL-only changes

2022-09-17 Thread Vladis Dronov (via Email Bridge)
From: Vladis Dronov on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2021#note_1104341733 hi, @prarit, can you please, also drop "crypto: fips - make RHEL proc files report fips module name and version"? this a CentOS-only patch, should not be present in ARK. __

Re: [OS-BUILD PATCH 0/20] redhat: Update with RHEL-only changes

2022-09-17 Thread Vladis Dronov (via Email Bridge)
From: Vladis Dronov on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2021#note_1104340597 hi, @prarit, can you please, drop "redhat/configs: Enable Marvell OcteonTX2 crypto device"? these changes are in ARK already per: https://gitlab.com/cki-project/kernel- ark/-/merge_req

[OS-BUILD PATCH] redhat/configs: Restructure and consolidate AArch64 16K page size config options

2022-09-17 Thread Neal Gompa (via Email Bridge)
From: Neal Gompa redhat/configs: Restructure and consolidate AArch64 16K page size config options This deduplicates the AArch64 page size config options and makes it possible for alternative kernels to easily build with 16K pages. Signed-off-by: Neal Gompa diff --git a/redhat/configs/ark/gene

[OS-BUILD PATCH 14/20] kabi: add stablelist helpers

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava kabi: add stablelist helpers Add helper scripts to update the kabi stablelist checksums and to diff symtypes output. redhat/kabi/diff-kabi computes the current symtypes files and compares it to the reference symtypes stored in the stablelist. redhat/kabi/update-kabi compu

[OS-BUILD PATCH 20/20] redhat: Remove filter-i686.sh.rhel

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: Remove filter-i686.sh.rhel This file is no longer used and can be deleted. Suggested by: Herton R. Krzesinski Signed-off-by: Prarit Bhargava diff --git a/redhat/rhel_files/filter-i686.sh.rhel b/redhat/rhel_files/filter-i686.sh.rhel deleted file mode 100644 inde

[OS-BUILD PATCH 18/20] redhat: remove GL_DISTGIT_USER, RHDISTGIT and unify dist-git cloning

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: remove GL_DISTGIT_USER, RHDISTGIT and unify dist-git cloning Tested: make DISTRO=centos dist-git-test 1) GL_DISTGIT_USER is used for private fork cloning. There is no reason to use private fork in dist-git cloning. First this would require to keep the fork in

[OS-BUILD PATCH 16/20] kernel.spec: disable vmlinux.h generation for s390 zfcpdump config

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava kernel.spec: disable vmlinux.h generation for s390 zfcpdump config With the linux upstream commit d9847eb8be3d ("bpf: Make CONFIG_DEBUG_INFO_BTF depend upon CONFIG_BPF_SYSCALL") zfcpdump does not have btf anymore (it does not enable CONFIG_BPF_SYSCALL), so the generation fa

[OS-BUILD PATCH 17/20] redhat/Makefile.variables: Add ADD_COMMITID_TO_VERSION

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile.variables: Add ADD_COMMITID_TO_VERSION As noted in ARK commit 40aae9752b8b ("Fix versioning on stable Fedora"), adding the commit ID to all versions must be optional. Currently, the centos-stream-9 repository does not have this feature and adding it would c

[OS-BUILD PATCH 13/20] Makefile: add kabi targets

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava Makefile: add kabi targets Add make wrappers on redhat/kabi/{diff,update}-kabi and redhat/kabi/symtypes: - dist-kabi-update updates the stablelist checksums - dist-symtype-diff diffs the current state against a reference stored in the stablelist - dist-kabi-image-N

[OS-BUILD PATCH 15/20] perf: Require libbpf 0.6.0 or newer

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava perf: Require libbpf 0.6.0 or newer With libbpf 0.5 or older, feature-detection mechanism in tools/build silently fails for some functions (namely bpf_object__next_map() and bpf_object__next_program()), so fallbacks are used and that leads to endless loop. Make the problem

[OS-BUILD PATCH 12/20] kabi: add support for symbol namespaces into check-kabi

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava kabi: add support for symbol namespaces into check-kabi Symbol namespaces are emitted to Module.symvers as well as any Module.kabi files that check-kabi consumes. Correctly parse symbol namespaces, if present. Warn on symbol namespace changes, as they constitute an ABI bre

[OS-BUILD PATCH 9/20] crypto: fips - make RHEL proc files report fips module name and version

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava crypto: fips - make RHEL proc files report fips module name and version FIPS 140-3 introduced a requirement for the FIPS module to return information about itself, specifically a name and a version. These values must match the values reported on FIPS certificates. Signed-o

[OS-BUILD PATCH 10/20] redhat/Makefile: add dist-assert-tree-clean target

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: add dist-assert-tree-clean target Add dist-assert-tree-clean target that fails whenever staged/unstaged changes or untracked files are present in the git tree. Manual invocation of this target is not expected, thus left out of dist-help. It's intended to a

[OS-BUILD PATCH 11/20] kabi: ignore new stablelist metadata in show-kabi

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava kabi: ignore new stablelist metadata in show-kabi Stablelist symbol definition shall be extended to include extra metadata, such as a reference symtypes file, path to a file exporting given symbol, and version history. Reference and path information is not required by show

[OS-BUILD PATCH 8/20] redhat/configs: Enable Marvell OcteonTX2 crypto device

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs: Enable Marvell OcteonTX2 crypto device Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2042239 Upstream Status: RHEL only Enable CRYPTO_DEV_OCTEONTX2_CPT, HW_RANDOM_CN10K and build them as modules. Enable NET_VENDOR_MARVELL and OCTEONTX2_MBOX as these

[OS-BUILD PATCH 7/20] redhat/kernel.spec.template: Specify vmlinux.h path when building samples/bpf

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: Specify vmlinux.h path when building samples/bpf Bugzilla: https://bugzilla.redhat.com/2041365 Upstream status: RHEL only. Since the backport of commit 384b6b3bbf0d ("samples: bpf: Add vmlinux.h generation support"), building samples/bpf start

[OS-BUILD PATCH 5/20] redhat/scripts: Update merge-subtrees.sh with new subtree location

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/scripts: Update merge-subtrees.sh with new subtree location Update the maintainer's merge-subtrees.sh script with the location of the new redhat/rhdocs subtree. Signed-off-by: Prarit Bhargava diff --git a/redhat/scripts/merge-subtrees.sh b/redhat/scripts/merge-sub

[OS-BUILD PATCH 3/20] redhat: build and include memfd to kernel-selftests-internal

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: build and include memfd to kernel-selftests-internal Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2027506 Upstream Status: RHEL9 only Tested: by reporter This patch adds memfd to the list of selftests built and packaged in kernel-selftests-internal. Signe

[OS-BUILD PATCH 6/20] spec: Fix separate tools build

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava spec: Fix separate tools build Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2054579 Upstream Status: RHEL only If we re building only tools without kernel, we need to generate config headers and prepare tree for modules building. The modules_prepare target will co

[OS-BUILD PATCH 4/20] redhat/kernel.spec.template: enable dependencies generation

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: enable dependencies generation Updated kernel-rpm-macros-185-9 package brings various generators for Provides tags that usually present in RHEL kernel packages, including kernel(), which OOT kmod packages rely on. prarit: After discussion with

[OS-BUILD PATCH 2/20] redhat/kernel.spec.template: Link perf with --export-dynamic

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: Link perf with --export-dynamic Bugzilla: INTERNAL commit 00702a636e319b2c3fe913f3b8a8cff51cf96ff6 Author: Michael Petlan Date: Tue Nov 23 11:52:24 2021 +0100 redhat/kernel.spec.template: Link perf with --export-dynamic Bugzilla: h

[OS-BUILD PATCH 1/20] redhat: kernel.spec: selftests: abort on build failure

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: kernel.spec: selftests: abort on build failure When a selftest does not compile, abort the whole build. We want to know that we broke selftests by a backport. This commit is forward ported from RHEL 8. It could not have been forward ported to ARK: with rebases to t

[OS-BUILD PATCH 0/20] redhat: Update with RHEL-only changes

2022-09-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2021 centos-stream-9 !1308 [1] updates the redhat/ directory in centos-stream-9 to match that of ARK. After that update there are about 40 changes that are not applied to ARK but have bee