[OS-BUILD PATCH] Enable DRM_CDNS_DSI_J721E for fedora
From: Andrew Halaney Enable DRM_CDNS_DSI_J721E for fedora Some TI SoCs use this for DSI, such as the j784s4evm (who's dts from the bsp can be seen below). This should allow DISPLAY_PORT1 to work pending TI ironing out a few remaining issues with the display path upstream. Link: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi?h=09.01.00.006#n1897 Link: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts?h=09.01.00.006#n1211 Signed-off-by: Andrew Halaney diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_DRM_CDNS_DSI b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_DRM_CDNS_DSI new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_DRM_CDNS_DSI @@ -0,0 +1 @@ +CONFIG_DRM_CDNS_DSI=m diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_DRM_CDNS_DSI_J721E b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_DRM_CDNS_DSI_J721E new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_DRM_CDNS_DSI_J721E @@ -0,0 +1 @@ +CONFIG_DRM_CDNS_DSI_J721E=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3031 -- ___ 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: configs: fedora: Enable QSEECOM and friends
From: Andrew Halaney redhat: configs: fedora: Enable QSEECOM and friends The Lenovo x13s laptop uses these for its efivars. Signed-off-by: Andrew Halaney diff --git a/redhat/configs/pending-fedora/generic/CONFIG_QCOM_QSEECOM b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_QSEECOM rename from redhat/configs/pending-fedora/generic/CONFIG_QCOM_QSEECOM rename to redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_QSEECOM index blahblah..blahblah 100644 --- a/redhat/configs/pending-fedora/generic/CONFIG_QCOM_QSEECOM +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_QSEECOM @@ -12,4 +12,4 @@ # # # -# CONFIG_QCOM_QSEECOM is not set +CONFIG_QCOM_QSEECOM=y diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_QSEECOM_UEFISECAPP b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_QSEECOM_UEFISECAPP new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_QSEECOM_UEFISECAPP @@ -0,0 +1 @@ +CONFIG_QCOM_QSEECOM_UEFISECAPP=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2796 ___ 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] redhat: makefile: remove stray rpmbuild --without
From: Eric Chanudet redhat: makefile: remove stray rpmbuild --without This was carried around for some time and should not serve much of a purpose. Signed-off-by: Eric Chanudet Signed-off-by: Andrew Halaney diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -749,7 +749,7 @@ dist-kernel-%: dist-sources dist-prep: RPMBUILDOPTS=--nodeps --target noarch -bp dist-prep: dist-sources do-rpmbuild -dist-perf: RPMBUILDOPTS=--without up --without smp --without zfcpdump --without debug --without doc --without headers --without --without doc --without debuginfo --target $(MACH) -bb +dist-perf: RPMBUILDOPTS=--without up --without smp --without zfcpdump --without debug --without doc --without headers --without doc --without debuginfo --target $(MACH) -bb dist-perf: dist-sources do-rpmbuild dist-rpm-baseonly: RPMBUILDOPTS=--target $(MACH) --without debug --without debuginfo --without vdso_install --without bpftool --without perf --without tools -bb -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2764 ___ 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] redhat: self-test: Use a more complete SRPM file suffix
From: Andrew Halaney redhat: self-test: Use a more complete SRPM file suffix QE reported that some of the tests were skipped due to having both the SRPM and the resulting RPMs built. While the self-test folder has some expectations on the environment, let's make it so the check only counts SRPMs and not RPMs. Reported-by: Stephen Bertram Signed-off-by: Andrew Halaney diff --git a/redhat/self-test/1002-basic-structural-test.bats b/redhat/self-test/1002-basic-structural-test.bats index blahblah..blahblah 100644 --- a/redhat/self-test/1002-basic-structural-test.bats +++ b/redhat/self-test/1002-basic-structural-test.bats @@ -8,12 +8,12 @@ _SRPM_unpacks_OK() { } @test "SRPM unpacks OK" { - numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.rpm" | wc -l) + numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm" | wc -l) if [ "$numsrpms" != "1" ]; then skip "Only one SRPM should be in $BATS_TEST_DIRNAME/redhat/rpms/SRPMS." fi - srpm=$(find "$BATS_TEST_DIRNAME"/.. -name "*.rpm") + srpm=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm") pushd "$BATS_TMPDIR" if [ -e SRPMS ]; then rm -fr SRPMS @@ -26,7 +26,7 @@ _SRPM_unpacks_OK() { } @test "Linux tree unpacks OK" { -numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.rpm" | wc -l) +numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm" | wc -l) if [ "$numsrpms" != "1" ]; then skip "Only one SRPM should be in $BATS_TEST_DIRNAME/redhat/rpms/SRPMS." fi @@ -40,7 +40,7 @@ numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.rpm" | wc -l) } @test "Linux top level structural check" { - numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.rpm" | wc -l) + numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm" | wc -l) if [ "$numsrpms" != "1" ]; then skip "Only one SRPM should be in $BATS_TEST_DIRNAME/redhat/rpms/SRPMS." fi diff --git a/redhat/self-test/1003-rpminspect.bats b/redhat/self-test/1003-rpminspect.bats index blahblah..blahblah 100644 --- a/redhat/self-test/1003-rpminspect.bats +++ b/redhat/self-test/1003-rpminspect.bats @@ -10,12 +10,12 @@ load test-lib.bash skip "Skip rpminspect test pending fixes" fi - numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.rpm" | wc -l) + numsrpms=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm" | wc -l) if [ "$numsrpms" != "1" ]; then skip "Only one SRPM should be in $BATS_TEST_DIRNAME/redhat/rpms/SRPMS." fi - srpm=$(find "$BATS_TEST_DIRNAME"/.. -name "*.rpm") + srpm=$(find "$BATS_TEST_DIRNAME"/.. -name "*.src.rpm") run rpminspect $srpm check_status } -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2764 ___ 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] redhat: various cleanups
From: Andrew Halaney on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2764 Clean up a few things caught down in automotive. Signed-off-by: Andrew Halaney --- redhat/self-test/1002-basic-structural-test.bats | 8 redhat/self-test/1003-rpminspect.bats| 4 ++-- redhat/Makefile | 2 +- 3 files changed, 7 insertions(+), 7 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
Re: [OS-BUILD PATCHv2] redhat/configs: increase CONFIG_FRAME_WARN for Fedora on aarch64
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2506#note_1425573741 Thanks, this makes sense to me! ___ 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/configs: increase CONFIG_FRAME_WARN for Fedora on aarch64
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2506#note_1425406897 Ok, so: 1. Removing the 1024 setting 2. Moving the 2048 setting to common sounds reasonable if I'm following right. ___ 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/configs: increase CONFIG_FRAME_WARN for Fedora on aarch64
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2506#note_1425399343 We currently have this: ``` ahalaney@halaney-x13s ~/git/redhat/kernel-ark/redhat (git)-[x13s-configs] % git grep CONFIG_FRAME_WARN configs/fedora/generic/CONFIG_FRAME_WARN:CONFIG_FRAME_WARN=2048 configs/fedora/generic/arm/CONFIG_FRAME_WARN:CONFIG_FRAME_WARN=1024 configs/rhel/generic/CONFIG_FRAME_WARN:CONFIG_FRAME_WARN=2048 ahalaney@halaney-x13s ~/git/redhat/kernel-ark/redhat (git)-[x13s-configs] % ``` Would it make sense to consilidate the 2048 config settings to `configs/common` and move the 1024 setting to `configs/fedora/generic/arm/armv7/`? ___ 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] redhat/configs: Enable CONFIG_SC_GPUCC_8280XP for fedora
From: Andrew Halaney redhat/configs: Enable CONFIG_SC_GPUCC_8280XP for fedora This is necessary for the platform's GPU to work. Signed-off-by: Andrew Halaney diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_SC_GPUCC_8280XP b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_SC_GPUCC_8280XP new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_SC_GPUCC_8280XP @@ -0,0 +1 @@ +CONFIG_SC_GPUCC_8280XP=m -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2499 ___ 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] redhat/configs: Enable CONFIG_QCOM_IPCC for fedora
From: Andrew Halaney redhat/configs: Enable CONFIG_QCOM_IPCC for fedora This mailbox driver is used by various IP blocks in Qualcomm platforms. Signed-off-by: Andrew Halaney diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_IPCC b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_IPCC new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_IPCC @@ -0,0 +1 @@ +CONFIG_QCOM_IPCC=m -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2499 ___ 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] redhat/configs: Enable some missing Qualcomm drivers
From: Andrew Halaney on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2499 These drivers are used by the x13s laptop, let's enable them. Signed-off-by: Andrew Halaney --- redhat/configs/fedora/generic/arm/aarch64/CONFIG_QCOM_IPCC | 1 + redhat/configs/fedora/generic/arm/aarch64/CONFIG_SC_GPUCC_8280XP | 1 + 2 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
Re: [OS-BUILD PATCHv2] redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2041#note_1128644792 Closing this MR since it isn't considered favorable by many. Thanks all for the input ___ 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] redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2041#note_1124355243 I'm arguing this for fedora/rhel out of personal interest at the moment, but there's been enough push back here that this MR is probably destined to be closed unless some advocates for enabling it come forth countering the points being made here better than I can (specifically the VMs comment, the others don't sway me personally as strongly). ___ 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] redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2041#note_1124300349 The virt situation is one I had not considered, thanks ___ 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] redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2041#note_1124299346 I unfortunately don't have an objective way of countering this, in the commit I tried to capture the increase in size I've seen (just shy of 50 KB out of the 30 MB kernel image) but I don't know of a requirement to settle the discussion of "what's too much wasted memory". If that's deemed too large then so be it, but the minimum requirements[0] for fedora seemed beefy enough that I thought this increase a drop in the ocean, as well as the kernel size itself being many magnitudes larger than the increase I saw. [0] https://docs.fedoraproject.org/en-US/fedora/latest/release- notes/welcome/Hardware_Overview/#hardware_overview-specs ___ 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] redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2041#note_1124283425 I get your point, but I'm trying to look at it from the otherside of someone who's used to using `/proc/config.gz`. It's a kernel standardized interface, provides the current running config no matter what you've done to your system, and they may already have software that utilizes this. ___ 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] redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC
From: Andrew Halaney on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2041#note_1124272291 I unfortunately posted this the day before the os-build rebase :shrug: I'm going to remove all the reviewers since only a tiny amount are supposed to be here ___ 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] redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC
From: Andrew Halaney redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC Some users expect to check /proc/config.gz instead of /boot/config-$(uname -r), and both are valid approaches. In fact, one could argue it is easier to trust the contents of /proc/config.gz than it is to trust the config install at /boot/. There's a cost to kernel size (mainly the gzipped size of the config file), but ~50 KB isn't much compared to the size of the ~30 MB kernel image I just compiled using the fedora aarch64 configs. bloat-o-meter output below doesn't show the increase because the config is injected with .incbin and uses symbol labels to grab it in C code: [ahalaney@halaney-x13s kernel-ark]$ ./scripts/bloat-o-meter vmlinux.original vmlinux.ikconfig_proc add/remove: 7/1 grow/shrink: 0/0 up/down: 320/-8 (312) Function old new delta ikconfig_init - 100+100 config_gz_proc_ops - 88 +88 ikconfig_read_current - 68 +68 ikconfig_cleanup - 40 +40 e843419@0969_fd78_82f4 - 8 +8 e843419@08a0_e7d2_a58 - 8 +8 e843419@074e_bea9_8988 - 8 +8 e843419@0170_25c9_53a8 8 - -8 Total: Before=31935449, After=31935761, chg +0.00% [ahalaney@halaney-x13s kernel-ark]$ echo "31935761 - 31935449" | bc 312 [ahalaney@halaney-x13s kernel-ark]$ But you can still grab that bit too with a little more work: [ahalaney@halaney-x13s kernel-ark]$ nm vmlinux.ikconfig_proc| grep kernel_config_data 88c78540 D kernel_config_data 88c8257e D kernel_config_data_end [ahalaney@halaney-x13s kernel-ark]$ echo 'ibase=16; 8C8257E - 8C78540' | bc 41022 [ahalaney@halaney-x13s kernel-ark]$ ls -la kernel/config_data.gz -rw-r--r-- 1 ahalaney ahalaney 41022 Sep 30 15:43 kernel/config_data.gz [ahalaney@halaney-x13s kernel-ark]$ All in all that's not that much of a difference in the image size, so let's enable this feature. Signed-off-by: Andrew Halaney diff --git a/redhat/configs/common/generic/CONFIG_IKCONFIG b/redhat/configs/common/generic/CONFIG_IKCONFIG index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/CONFIG_IKCONFIG +++ b/redhat/configs/common/generic/CONFIG_IKCONFIG @@ -1 +1 @@ -# CONFIG_IKCONFIG is not set +CONFIG_IKCONFIG=y diff --git a/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC b/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC @@ -0,0 +1 @@ +CONFIG_IKCONFIG_PROC=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2041 ___ 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/configs/common: Turn on CONFIG_IKCONFIG_PROC
From: Andrew Halaney redhat/configs/common: Turn on CONFIG_IKCONFIG_PROC Some users expect to check /proc/config.gz instead of /boot/config-$(uname -r), and both are valid approaches. In fact, one could argue it is easier to trust the contents of /proc/config.gz than it is to trust the config install at /boot/. There's a cost to kernel size (mainly the gzipped size of the config file), but ~50 KB isn't much compared to the size of the ~30 MB kernel image I just compiled using the fedora aarch64 configs. bloat-o-meter output below doesn't show the increase because the config is injected with .incbin and uses symbol labels to grab it in C code: [ahalaney@halaney-x13s kernel-ark]$ ./scripts/bloat-o-meter vmlinux.original vmlinux.ikconfig_proc add/remove: 7/1 grow/shrink: 0/0 up/down: 320/-8 (312) Function old new delta ikconfig_init - 100+100 config_gz_proc_ops - 88 +88 ikconfig_read_current - 68 +68 ikconfig_cleanup - 40 +40 e843419@0969_fd78_82f4 - 8 +8 e843419@08a0_e7d2_a58 - 8 +8 e843419@074e_bea9_8988 - 8 +8 e843419@0170_25c9_53a8 8 - -8 Total: Before=31935449, After=31935761, chg +0.00% [ahalaney@halaney-x13s kernel-ark]$ echo "31935761 - 31935449" | bc 312 [ahalaney@halaney-x13s kernel-ark]$ But you can still grab that bit too with a little more work: [ahalaney@halaney-x13s kernel-ark]$ nm vmlinux.ikconfig_proc| grep kernel_config_data 88c78540 D kernel_config_data 88c8257e D kernel_config_data_end [ahalaney@halaney-x13s kernel-ark]$ echo 'ibase=16; 8C8257E - 8C78540' | bc 41022 [ahalaney@halaney-x13s kernel-ark]$ ls -la kernel/config_data.gz -rw-r--r-- 1 ahalaney ahalaney 41022 Sep 30 15:43 kernel/config_data.gz [ahalaney@halaney-x13s kernel-ark]$ All in all that's not that much of a difference in the image size, so let's enable this feature. Signed-off-by: Andrew Halaney diff --git a/redhat/configs/common/generic/CONFIG_IKCONFIG b/redhat/configs/common/generic/CONFIG_IKCONFIG index blahblah..blahblah 100644 --- a/redhat/configs/common/generic/CONFIG_IKCONFIG +++ b/redhat/configs/common/generic/CONFIG_IKCONFIG @@ -1 +1 @@ -# CONFIG_IKCONFIG is not set +CONFIG_IKCONFIG=y diff --git a/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC b/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/common/generic/CONFIG_IKCONFIG_PROC @@ -0,0 +1 @@ +CONFIG_IKCONFIG_PROC=y -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2041 ___ 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