[OS-BUILD PATCH] redhat: Add dummy-module kernel module
From: Prarit Bhargava For years we've had a useful kernel kernel module, dummy-module, in the tree. Add dummy-module to the redhat directory. Signed-off-by: Prarit Bhargava --- redhat/debug/dummy-module/Makefile | 15 + redhat/debug/dummy-module/dummy-module.c | 39 2 files changed, 54 insertions(+) create mode 100644 redhat/debug/dummy-module/Makefile create mode 100644 redhat/debug/dummy-module/dummy-module.c diff --git a/redhat/debug/dummy-module/Makefile b/redhat/debug/dummy-module/Makefile new file mode 100644 index ..4c2daaad0b51 --- /dev/null +++ b/redhat/debug/dummy-module/Makefile @@ -0,0 +1,15 @@ +ifneq ($(KERNELRELEASE),) + +obj-m := dummy-module.o + +else + +KDIR := /lib/modules/$(shell uname -r)/build +PWD:= $(shell pwd) + +default: + $(MAKE) -C $(KDIR) M=$(PWD) +endif + +clean: + rm -rf *o .*.cmd .tmp* *.mod.c diff --git a/redhat/debug/dummy-module/dummy-module.c b/redhat/debug/dummy-module/dummy-module.c new file mode 100644 index ..89748e636511 --- /dev/null +++ b/redhat/debug/dummy-module/dummy-module.c @@ -0,0 +1,39 @@ +/* + * Just an skeleton module. Useful for debugging. + * + * Written by: Prarit Bhargava + * + * Please don't clutter this file with a bunch of bells-and-whistles. It + * is meant to be a simple module. + */ +#include +#include +#include + +static int dummy_arg = 0; + +void dummy_greetings(void) +{ + printk("This module has loaded.\n"); + if (dummy_arg) + printk("And dummy_arg is %d.\n", dummy_arg); +} + +static int init_dummy(void) +{ + dummy_greetings(); + return 0; +} + +static void cleanup_dummy(void) +{ + printk("unloading module\n"); +} + +module_init(init_dummy); +module_exit(cleanup_dummy); + +MODULE_LICENSE("GPL"); + +module_param(dummy_arg, int, 0444); +MODULE_PARM_DESC(dummy_arg, "An argument for this module"); -- 2.26.2 ___ 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
[OS-BUILD PATCH] configs: Enable CONFIG_ENERGY_MODEL
From: Phil Auld CONFIG_ENERGY_MODEL will help make the schedutil frequency governor more accurate. This will be useful in the future. It also enables the use of the energy aware scheduler. Signed-off-by: Phil Auld --- redhat/configs/ark/generic/CONFIG_ENERGY_MODEL | 1 + 1 file changed, 1 insertion(+) create mode 100644 redhat/configs/ark/generic/CONFIG_ENERGY_MODEL diff --git a/redhat/configs/ark/generic/CONFIG_ENERGY_MODEL b/redhat/configs/ark/generic/CONFIG_ENERGY_MODEL new file mode 100644 index ..a4fec3a5d9eb --- /dev/null +++ b/redhat/configs/ark/generic/CONFIG_ENERGY_MODEL @@ -0,0 +1 @@ +CONFIG_ENERGY_MODEL=y -- 2.26.2 ___ 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
Re: [OS-BUILD PATCHv2] Add git config hook
On Wed, May 20, 2020 at 04:25:24PM -, GitLab Bridge on behalf of dzickusrh wrote: > From: Don Zickus > > The kernel workflow is adding complexity. Let's hide some of that complexity > behind git aliases. Instead of having the developer manually add them all > the time, add a make command to 'include' kernel aliases. > > A new command 'make rh-gitsetup' runs > > git config --local --add include.path "../redhat/kernel.gitconfig" > > and adds an include to the local repo's .git/config file. > > Over time more workflow commands can be added to help developers. > > Start with a stub config file. > > V6: rebase to dist- changes, text changes > V5: text cleanups > V4: s/gitconfig/gitsetup > V3: expand comment in kernel.gitconfig > > Signed-off-by: Don Zickus Acked-by: Brian Masney Tested-by: Brian Masney ___ 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
Re: [OS-BUILD PATCHv2] Add git config hook
On Wed, 20 May 2020 16:25:24 -, GitLab Bridge on behalf of dzickusrh wrote: > From: Don Zickus > > The kernel workflow is adding complexity. Let's hide some of that complexity > behind git aliases. Instead of having the developer manually add them all > the time, add a make command to 'include' kernel aliases. > > A new command 'make rh-gitsetup' runs > > git config --local --add include.path "../redhat/kernel.gitconfig" > > and adds an include to the local repo's .git/config file. > > Over time more workflow commands can be added to help developers. > > Start with a stub config file. > > V6: rebase to dist- changes, text changes > V5: text cleanups > V4: s/gitconfig/gitsetup > V3: expand comment in kernel.gitconfig Thanks! Acked-by: Jiri Benc ___ 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
[OS-BUILD PATCHv2] Add git config hook
From: Don Zickus The kernel workflow is adding complexity. Let's hide some of that complexity behind git aliases. Instead of having the developer manually add them all the time, add a make command to 'include' kernel aliases. A new command 'make rh-gitsetup' runs git config --local --add include.path "../redhat/kernel.gitconfig" and adds an include to the local repo's .git/config file. Over time more workflow commands can be added to help developers. Start with a stub config file. V6: rebase to dist- changes, text changes V5: text cleanups V4: s/gitconfig/gitsetup V3: expand comment in kernel.gitconfig Signed-off-by: Don Zickus --- redhat/Makefile | 8 redhat/kernel.gitconfig | 10 ++ 2 files changed, 18 insertions(+) create mode 100644 redhat/kernel.gitconfig diff --git a/redhat/Makefile b/redhat/Makefile index 1465469cab95..858240325bf2 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -133,6 +133,10 @@ dist-kabi-dw-check: dist-kabi @echo " End of KABI DWARF-based comparison report " @rm -rf $(KABIDW)/base/$(CURARCH).tmp +dist-gitsetup: + @git config --get include.path | grep -q 'redhat/kernel.gitconfig' || \ + git config --local --add include.path "../redhat/kernel.gitconfig" + dist-configs-commit: dist-configs-prep @cd $(REDHAT)/configs; VERSION=$(KVERSION) ./generate_all_configs.sh $(FLAVOR) 1; \ ./process_configs.sh -z $(PACKAGE_NAME) $(KVERSION) "" $(FLAVOR) @@ -365,6 +369,7 @@ dist-help: @echo 'compiler.' @echo '' @echo 'Configuration targets:' + @echo ' dist-gitsetup - Adjust the git repo configuration for the Fedora/ARK workflow.' @echo ' dist-configs- Create RHEL config files in redhat/config/.' @echo '' @echo 'For detailed description and full list of targets, run `make dist-full-help`.' @@ -452,6 +457,9 @@ dist-full-help: @echo '' @echo 'Configuration targets:' + @echo ' dist-gitsetup - Adjust the git repo configuration for the Fedora/ARK workflow' + @echo ' by including the redhat/kernel.gitconfig file. This hook' + @echo ' allows the creation of git alias shortcuts.' @echo ' dist-configs - Creates config files for RHEL $(RHEL_MAJOR) architectures,' @echo ' cleans them by running make nonint_oldconfig, and copies' @echo ' them to redhat/configs/ directory. This is the target to use' diff --git a/redhat/kernel.gitconfig b/redhat/kernel.gitconfig new file mode 100644 index ..6fd63c7ac1aa --- /dev/null +++ b/redhat/kernel.gitconfig @@ -0,0 +1,10 @@ +# The kernel workflow is growing in complexity. Developers can not always +# remember all the nuisances involved. +# This file is meant to aid developers by providing wrappers around some +# parts of the workflow that everyone can use. +# +# Examples include 'aliases' for git-push options or a shortcut for +# executing workflow checks before pushing. +# +# Please do not include personal information here. +[alias] -- 2.26.2 ___ 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
Re: [OS-BUILD PATCHv2 0/2] Fix 'make scripts' for kernel-devel package
On Tue, May 19, 2020 at 07:35:30PM -, GitLab Bridge on behalf of masneyb wrote: > From: masneyb on gitlab.com > > This merge request contains two patches from the RHEL kernel: > > - One to fix the 'make scripts' functionality in the kernel-devel > package. Once the patch https://src.fedoraproject.org/rpms/kernel/c/a443 > bcbf915cc5797ae3d950ee6c26b71e57e92e?branch=master is merged into the > ARK kernel, then 'make scripts' will work properly. > > - A minor patch to fix the help text for rh-cross--rpms in 'make > rh-full-help' > > I didn't make these separate merge requests to avoid conflicts between > the two patches since both touch the spec file. Acked-by: Don Zickus > > Signed-off-by: Brian Masney > ___ > 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 ___ 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
Re: [PATCH] Fix boot hang caused by buggy TPM support in some EFI firmwares
Hello Don, On 5/19/20 3:25 PM, Don Zickus wrote: > On Mon, May 18, 2020 at 05:19:12PM -0500, Justin Forbes wrote: >> On Mon, May 18, 2020 at 3:48 PM Don Zickus wrote: >> >>> Hi Javier, >>> >>> We update the fedora kernel process to use a git tree to submit patches >>> now. >>> >> >> This was a request for stable, which doesn't follow this process. Javier >> asked before he sent it here. It has been added and included in the 5.6.13 >> builds. > > Sorry about that Javier! Thanks for explaining that to me Justin. > No worries. I'll make sure to follow the new process for F33 onwards. > Cheers, > Don > >> >> Justin >> >> >>> >>> Can I ask you to spend a few minutes to read over the new steps >>> >>> https://cki-project.gitlab.io/kernel-ark/submitting-contributions.html >>> Thanks a lot for the reference. Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat ___ 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
Re: ❌ FAIL: Test report for kernel (ark)
- Original Message - > From: "CKI Project" > To: kernel@lists.fedoraproject.org > Sent: Wednesday, May 20, 2020 6:45:38 AM > Subject: ❌ FAIL: Test report for kernel (ark) > > > Hello, > > We ran automated tests on a recent commit from this kernel tree: > >Kernel repo: https://gitlab.com/cki-project/kernel-ark.git > Commit: 043b9bd8bbd7 - [redhat] > kernel-5.7.0-0.rc6.20200520git115a54162a6c.1 > > The results of these automated tests are provided below. > > Overall result: FAILED (see details below) > Merge: OK >Compile: FAILED > > All kernel binaries, config files, and logs are available for download here: > > > https://cki-artifacts.s3.us-east-2.amazonaws.com/index.html?prefix=datawarehouse/2020/05/20/573230 > > We attempted to compile the kernel for multiple architectures, but the > compile > failed on one or more architectures: > > Source RPM: FAILED (see build-generic.log.xz attachment) > Hi, this is due to the rh-to-dist renames, currently testing a fix. Not a kernel problem. The attachment didn't go through on this list which made it obscure, sorry about that - we'll be adding the srpm log into the artifacts storage instead. Veronika > We hope that these logs can help you find the problem quickly. For the full > detail on our testing procedures, please scroll to the bottom of this > message. > > Please reply to this email if you have any questions about the tests that we > ran or if you have any suggestions on how to make future tests more > effective. > > ,-. ,-. >( C ) ( K ) Continuous > `-',-.`-' Kernel > ( I ) Integration >`-' > __ > > Compile testing > --- > > We tried to create the SRPM package but failed. > > ___ 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
Re: [OS-BUILD PATCHv2 0/2] Fix 'make scripts' for kernel-devel package
- Original Message - > From: masneyb on gitlab.com > > This merge request contains two patches from the RHEL kernel: > > - One to fix the 'make scripts' functionality in the kernel-devel > package. Once the patch https://src.fedoraproject.org/rpms/kernel/c/a443 > bcbf915cc5797ae3d950ee6c26b71e57e92e?branch=master is merged into the > ARK kernel, then 'make scripts' will work properly. > > - A minor patch to fix the help text for rh-cross--rpms in 'make > rh-full-help' > > I didn't make these separate merge requests to avoid conflicts between > the two patches since both touch the spec file. > > Signed-off-by: Brian Masney Acked-by: Jan Stancek This should fix: https://bugzilla.redhat.com/show_bug.cgi?id=1758710 https://bugzilla.redhat.com/show_bug.cgi?id=1821365 https://bugzilla.redhat.com/show_bug.cgi?id=1821946 ___ 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