Compare commits

...

963 Commits

Author SHA1 Message Date
Justin M. Forbes 1dfc57d4e1 kernel-5.11.0-0.rc3.122
* Mon Jan 11 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.11.0-0.rc3.122]
- irq: export irq_check_status_bit (Levi Yun)
- Turn off vdso_install for ppc ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-11 08:41:28 -06:00
Justin M. Forbes fb6d0adee7 kernel-5.11.0-0.rc2.20210108gitf5e6c330254a.119
* Fri Jan 08 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.11.0-0.rc2.20210108gitf5e6c330254a.119]
- irq: export irq_check_status_bit (Levi Yun)
- Turn off vdso_install for ppc ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-08 10:21:27 -06:00
Justin M. Forbes e846787707 kernel-5.11.0-0.rc2.20210106git36bbbd0e234d.117
* Wed Jan 06 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.11.0-0.rc2.20210106git36bbbd0e234d.117]
- Add gcc-c++ to BuildRequires ("Justin M. Forbes")
- irq: export irq_check_status_bit (Levi Yun)
- Turn off vdso_install for ppc ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-06 08:05:34 -06:00
Justin M. Forbes 3a91cbd61f Quick build fixup for aarch64
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-05 10:43:17 -06:00
Justin M. Forbes 5934d86345 Build fixes
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-05 08:57:39 -06:00
Justin M. Forbes 51aa5c5b1d Enable CONFIG_KASAN_HW_TAGS on aarch64 debug
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-04 13:44:27 -06:00
Justin M. Forbes cd43701a37 Add gcc-c++ buildreq for structleak_plugin
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-04 12:54:35 -06:00
Justin M. Forbes cce6406988 Merge fixup for secureboot
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-04 12:38:23 -06:00
Justin M. Forbes a7f5e8cd7c kernel-5.11.0-0.rc1.20210103giteda809aef534.113
* Sun Jan 03 2021 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.11.0-0.rc1.20210103giteda809aef534.113]
- Fedora: cleanup PCMCIA configs, move to x86 (Peter Robinson)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2021-01-04 12:24:18 -06:00
Justin M. Forbes a260e87234 kernel-5.11.0-0.rc0.20201223git614cb5894306.107
* Wed Dec 23 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.11.0-0.rc0.20201223git614cb5894306.107]
- New configs in drivers/rtc (Fedora Kernel Team)
- redhat/configs: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL (Josh Poimboeuf)
- redhat/configs: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK (Josh Poimboeuf)
- redhat/configs: Enable CONFIG_GCC_PLUGINS on ARK (Josh Poimboeuf)
- redhat/configs: Enable CONFIG_KASAN on Fedora (Josh Poimboeuf)
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- Enable Speakup accessibility driver ("Justin M. Forbes")
- New configs in init/Kconfig (Fedora Kernel Team)
- New configs in init/Kconfig (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-29 08:47:33 -06:00
Justin M. Forbes 41fd39a85b kernel-5.11.0-0.rc0.20201223git614cb5894306.107
* Wed Dec 23 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.11.0-0.rc0.20201223git614cb5894306.107]
- New configs in drivers/rtc (Fedora Kernel Team)
- redhat/configs: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL (Josh Poimboeuf)
- redhat/configs: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK (Josh Poimboeuf)
- redhat/configs: Enable CONFIG_GCC_PLUGINS on ARK (Josh Poimboeuf)
- redhat/configs: Enable CONFIG_KASAN on Fedora (Josh Poimboeuf)
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- Enable Speakup accessibility driver ("Justin M. Forbes")
- New configs in init/Kconfig (Fedora Kernel Team)
- New configs in init/Kconfig (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-23 12:11:33 -06:00
Justin M. Forbes 08b72ac0fb kernel-5.11.0-0.rc0.20201221gite37b12e4bb21.106
* Mon Dec 21 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.11.0-0.rc0.20201221gite37b12e4bb21.106]
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- ark-rebase-patches.sh: Fix for shellcheck (Ben Crocker)
- ark-create-release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- merge-subtrees.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- rh-dist-git.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- update_scripts.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- x86_rngd.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- parallel_xz.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- expand_srpm.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create-tarball.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_bls_conf.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- clone_tree.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- new_release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- download_cross.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create_distgit_changelog.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_cross_report.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- run_kabi-dw.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- scripts/configdiff.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-21 14:39:31 -06:00
Justin M. Forbes 14694918cd kernel-5.11.0-0.rc0.20201217gite994cc240a3b.102
* Thu Dec 17 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.11.0-0.rc0.20201217gite994cc240a3b.102]
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- ark-rebase-patches.sh: Fix for shellcheck (Ben Crocker)
- ark-create-release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- merge-subtrees.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- rh-dist-git.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- update_scripts.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- x86_rngd.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- parallel_xz.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- expand_srpm.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create-tarball.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_bls_conf.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- clone_tree.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- new_release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- download_cross.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create_distgit_changelog.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_cross_report.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- run_kabi-dw.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- scripts/configdiff.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-17 11:17:34 -06:00
Justin M. Forbes b0f31387cd Add 2 reverts from 5.10.1 for a quick build
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-15 15:53:51 -06:00
Justin M. Forbes 87e7c811b1 Turns out it was not BTF, but gcc 11 that is the issues
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-14 11:36:58 -06:00
Justin M. Forbes 12700e38e8 BTF Seems broken on aarch64
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-14 10:08:56 -06:00
Justin M. Forbes 952ed53b8d kernel-5.10.0-98
* Mon Dec 14 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.10.0-98]
- Add missing '$' sign to (GIT) in redhat/Makefile (Augusto Caringi)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-14 09:02:23 -06:00
Justin M. Forbes 39cafd6608 kernel-5.10.0-0.rc7.20201211git33dc9614dc20.97
* Fri Dec 11 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc7.20201211git33dc9614dc20.97]
- Remove cp instruction already handled in instruction below. ("Paulo E. Castro")
- Add all the dependencies gleaned from running `make prepare` on a bloated devel kernel. ("Paulo E. Castro")
- Add tools to path mangling script. ("Paulo E. Castro")
- Remove duplicate cp statement which is also not specific to x86. ("Paulo E. Castro")
- Correct orc_types failure whilst running `make prepare` https://bugzilla.redhat.com/show_bug.cgi?id=1882854 ("Paulo E. Castro")
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- ark-rebase-patches.sh: Fix for shellcheck (Ben Crocker)
- ark-create-release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- merge-subtrees.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- rh-dist-git.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- update_scripts.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- x86_rngd.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- parallel_xz.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- expand_srpm.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create-tarball.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_bls_conf.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- clone_tree.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- new_release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- download_cross.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create_distgit_changelog.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_cross_report.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- run_kabi-dw.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- scripts/configdiff.sh: Fix syntax flagged by shellcheck (Ben Crocker)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-11 11:14:46 -06:00
Justin M. Forbes f18b77c4da add config entry for KCSAN
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-09 11:13:02 -06:00
Justin M. Forbes 31d09346c8 kernel-5.10.0-0.rc7.20201209gita68a0262abda.95
* Wed Dec 09 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc7.20201209gita68a0262abda.95]
- Temporarily backout parallel xz script ("Justin M. Forbes")
- Remove cp instruction already handled in instruction below. ("Paulo E. Castro")
- Add all the dependencies gleaned from running `make prepare` on a bloated devel kernel. ("Paulo E. Castro")
- Add tools to path mangling script. ("Paulo E. Castro")
- Remove duplicate cp statement which is also not specific to x86. ("Paulo E. Castro")
- Correct orc_types failure whilst running `make prepare` https://bugzilla.redhat.com/show_bug.cgi?id=1882854 ("Paulo E. Castro")
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- ark-rebase-patches.sh: Fix for shellcheck (Ben Crocker)
- ark-create-release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- merge-subtrees.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- rh-dist-git.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- update_scripts.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- x86_rngd.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- parallel_xz.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- expand_srpm.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create-tarball.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_bls_conf.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- clone_tree.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- new_release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- download_cross.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create_distgit_changelog.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_cross_report.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- run_kabi-dw.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- scripts/configdiff.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- self-test/0001-shellcheck.bats: check for shellcheck (Ben Crocker)
- self-test/1001-rpmlint.bats, 1003-rpminspect.bats (Ben Crocker)
- Makefile, Makefile.common, egit.sh, 1005-dist-dump-variables.bats (Ben Crocker)
- Add GIT macro to Makefile and Makefile.common: (Ben Crocker)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-09 10:58:24 -06:00
Justin M. Forbes c1c209984b Turn off BTF for aarch64 while I figure out the build issue
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-08 11:00:42 -06:00
Justin M. Forbes 74d84fe61f Revert mm patch which breaks build
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-08 08:03:33 -06:00
Justin M. Forbes cfd11954f8 set CONFIG_KCSAN for x86_64
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-07 10:58:26 -06:00
Justin M. Forbes 486c425132 set CONFIG_KCSAN for x86_64 debug
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-07 10:41:08 -06:00
Justin M. Forbes a08cf045fe kernel-5.10.0-0.rc7.93
* Mon Dec 07 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc7.93]
- Temporarily backout parallel xz script ("Justin M. Forbes")
- Remove cp instruction already handled in instruction below. ("Paulo E. Castro")
- Add all the dependencies gleaned from running `make prepare` on a bloated devel kernel. ("Paulo E. Castro")
- Add tools to path mangling script. ("Paulo E. Castro")
- Remove duplicate cp statement which is also not specific to x86. ("Paulo E. Castro")
- Correct orc_types failure whilst running `make prepare` https://bugzilla.redhat.com/show_bug.cgi?id=1882854 ("Paulo E. Castro")
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- ark-rebase-patches.sh: Fix for shellcheck (Ben Crocker)
- ark-create-release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- merge-subtrees.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- rh-dist-git.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- update_scripts.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- x86_rngd.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- parallel_xz.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- expand_srpm.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create-tarball.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_bls_conf.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- clone_tree.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- new_release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- download_cross.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create_distgit_changelog.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_cross_report.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- run_kabi-dw.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- scripts/configdiff.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- self-test/0001-shellcheck.bats: check for shellcheck (Ben Crocker)
- self-test/1001-rpmlint.bats, 1003-rpminspect.bats (Ben Crocker)
- Makefile, Makefile.common, egit.sh, 1005-dist-dump-variables.bats (Ben Crocker)
- Add GIT macro to Makefile and Makefile.common: (Ben Crocker)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-07 10:28:00 -06:00
Justin M. Forbes 00b08d5bdf kernel-5.10.0-0.rc6.20201204git34816d20f173.92
* Fri Dec 04 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc6.20201204git34816d20f173.92]
- configs: Enable CONFIG_DEBUG_INFO_BTF (Don Zickus)
- Temporarily backout parallel xz script ("Justin M. Forbes")
- Remove cp instruction already handled in instruction below. ("Paulo E. Castro")
- Add all the dependencies gleaned from running `make prepare` on a bloated devel kernel. ("Paulo E. Castro")
- Add tools to path mangling script. ("Paulo E. Castro")
- Remove duplicate cp statement which is also not specific to x86. ("Paulo E. Castro")
- Correct orc_types failure whilst running `make prepare` https://bugzilla.redhat.com/show_bug.cgi?id=1882854 ("Paulo E. Castro")
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- ark-rebase-patches.sh: Fix for shellcheck (Ben Crocker)
- ark-create-release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- merge-subtrees.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- rh-dist-git.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- update_scripts.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- x86_rngd.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- parallel_xz.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- expand_srpm.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create-tarball.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_bls_conf.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- clone_tree.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- new_release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- download_cross.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create_distgit_changelog.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_cross_report.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- run_kabi-dw.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- scripts/configdiff.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- self-test/0001-shellcheck.bats: check for shellcheck (Ben Crocker)
- self-test/1001-rpmlint.bats, 1003-rpminspect.bats (Ben Crocker)
- Makefile, Makefile.common, egit.sh, 1005-dist-dump-variables.bats (Ben Crocker)
- Add GIT macro to Makefile and Makefile.common: (Ben Crocker)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-12-04 07:47:36 -06:00
Patrick Talbert 56bcd81089 kernel-5.10.0-0.rc6.20201202git509a15421674.91
* Wed Dec 02 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc6.20201202git509a15421674.91]
- Temporarily backout parallel xz script ("Justin M. Forbes")
- Remove cp instruction already handled in instruction below. ("Paulo E. Castro")
- Add all the dependencies gleaned from running `make prepare` on a bloated devel kernel. ("Paulo E. Castro")
- Add tools to path mangling script. ("Paulo E. Castro")
- Remove duplicate cp statement which is also not specific to x86. ("Paulo E. Castro")
- Correct orc_types failure whilst running `make prepare` https://bugzilla.redhat.com/show_bug.cgi?id=1882854 ("Paulo E. Castro")
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- ark-rebase-patches.sh: Fix for shellcheck (Ben Crocker)
- ark-create-release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- merge-subtrees.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- rh-dist-git.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- update_scripts.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- x86_rngd.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- parallel_xz.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- expand_srpm.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create-tarball.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_bls_conf.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- clone_tree.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- new_release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- download_cross.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create_distgit_changelog.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_cross_report.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- run_kabi-dw.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- scripts/configdiff.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- self-test/0001-shellcheck.bats: check for shellcheck (Ben Crocker)
- self-test/1001-rpmlint.bats, 1003-rpminspect.bats (Ben Crocker)
- Makefile, Makefile.common, egit.sh, 1005-dist-dump-variables.bats (Ben Crocker)
- Add GIT macro to Makefile and Makefile.common: (Ben Crocker)
Resolves: rhbz#

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
2020-12-02 16:31:29 +01:00
Justin M. Forbes d580f65c41 ELN needs dwarves now too
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-30 09:06:08 -06:00
Justin M. Forbes cb8ac0e9b4 kernel-5.10.0-0.rc6.90
* Mon Nov 30 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc6.90]
- Temporarily backout parallel xz script ("Justin M. Forbes")
- build_configs.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- genspec.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- ark-rebase-patches.sh: Fix for shellcheck (Ben Crocker)
- ark-create-release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- merge-subtrees.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- rh-dist-git.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- update_scripts.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- x86_rngd.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- parallel_xz.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- expand_srpm.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create-tarball.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_bls_conf.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- clone_tree.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- new_release.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- download_cross.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- create_distgit_changelog.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- generate_cross_report.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- run_kabi-dw.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- mod-blacklist.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- scripts/configdiff.sh: Fix syntax flagged by shellcheck (Ben Crocker)
- self-test/0001-shellcheck.bats: check for shellcheck (Ben Crocker)
- self-test/1001-rpmlint.bats, 1003-rpminspect.bats (Ben Crocker)
- Makefile, Makefile.common, egit.sh, 1005-dist-dump-variables.bats (Ben Crocker)
- Add GIT macro to Makefile and Makefile.common: (Ben Crocker)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-30 07:42:58 -06:00
Justin M. Forbes dd1adb6d63 kernel-5.10.0-0.rc5.20201125git127c501a03d5.85
* Wed Nov 25 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc5.20201125git127c501a03d5.85]
- Temporarily backout parallel xz script ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-25 09:12:27 -06:00
Justin M. Forbes 7407c59065 kernel-5.10.0-0.rc5.20201124gitd5beb3140f91.84
* Tue Nov 24 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc5.20201124gitd5beb3140f91.84]
- Temporarily backout parallel xz script ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-24 12:07:28 -06:00
Justin M. Forbes 07ebe84e7e kernel-5.10.0-0.rc4.20201120git4d02da974ea8.81
* Fri Nov 20 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc4.20201120git4d02da974ea8.81]
- Fedora config update ("Justin M. Forbes")
- redhat: generic  enable CONFIG_INET_MPTCP_DIAG (Davide Caratti)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-23 10:53:22 -06:00
Justin M. Forbes 9a733b7fc9 kernel-5.10.0-0.rc4.20201119gitc2e7554e1b85.80
* Thu Nov 19 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc4.20201119gitc2e7554e1b85.80]
- No need to review, Temporary workarounds due to DEBUG_INFO_BTF not working ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-19 09:51:09 -06:00
Justin M. Forbes 4d0a2f43d8 kernel-5.10.0-0.rc4.20201117git9c87c9f41245.78
* Tue Nov 17 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc4.20201117git9c87c9f41245.78]
- No need to review, Temporary workarounds due to DEBUG_INFO_BTF not working ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-17 10:46:21 -06:00
Justin M. Forbes 1c3978ac34 Testing different thread limits in parallel_xz.sh
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-16 10:52:07 -06:00
Justin M. Forbes 6c08b065ee kernel-5.10.0-0.rc4.77
* Mon Nov 16 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc4.77]
- No need to review, Temporary workarounds due to DEBUG_INFO_BTF not working ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-16 10:50:42 -06:00
Justin M. Forbes f1879fd534 kernel-5.10.0-0.rc3.20201112git3d5e28bff7ad.71.test
* Thu Nov 12 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc3.20201112git3d5e28bff7ad.71.test]
- 3d5e28bff7ad rebase
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-12 12:18:41 -06:00
Justin M. Forbes f7a31ded5b kernel-5.10.0-0.rc3.68
* Mon Nov 09 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.10.0-0.rc3.68]
- Fedora 5.10 config updates ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-09 09:53:20 -06:00
Justin M. Forbes da1e462237 kernel-5.10.0-0.rc2.20201104git4ef8451b3326.62.test
* Wed Nov 04 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc2.20201104git4ef8451b3326.62.test]
- 4ef8451b3326 rebase
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-05 10:16:39 -06:00
Justin M. Forbes 2ed43f5c28 Turn off clang buildreq for kernel-tools until BTF is fixed
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-03 15:13:24 -06:00
Justin M. Forbes c49d885798 kernel-5.10.0-0.rc2.61.test
* Mon Nov 02 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc2.61.test]
- v5.10-rc2 rebase
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-02 10:27:06 -06:00
Justin M. Forbes 6e7aa6132f kernel-5.10.0-0.rc1.20201030git07e088730245.58.test
* Fri Oct 30 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc1.20201030git07e088730245.58.test]
- 07e088730245 rebase
- Fix LTO issues with kernel-tools (Don Zickus)
- New configs in drivers/mfd (Fedora Kernel Team)
- arm64/defconfig: Enable CONFIG_KEXEC_FILE (Bhupesh Sharma) [https://bugzilla.redhat.com/show_bug.cgi?id=1821565]
- redhat/configs: Cleanup CONFIG_CRYPTO_SHA512 (Prarit Bhargava)
- redhat: ark: disable CONFIG_NET_ACT_CTINFO (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_TEQL (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_SFB (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_QFQ (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_PLUG (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_PIE (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_MULTIQ (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_HHF (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_DSMARK (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_DRR (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_CODEL (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_CHOKE (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_CBQ (Davide Caratti)
- redhat: ark: disable CONFIG_NET_SCH_ATM (Davide Caratti)
- redhat: ark: disable CONFIG_NET_EMATCH and sub-targets (Davide Caratti)
- redhat: ark: disable CONFIG_NET_CLS_TCINDEX (Davide Caratti)
- redhat: ark: disable CONFIG_NET_CLS_RSVP6 (Davide Caratti)
- redhat: ark: disable CONFIG_NET_CLS_RSVP (Davide Caratti)
- redhat: ark: disable CONFIG_NET_CLS_ROUTE4 (Davide Caratti)
- redhat: ark: disable CONFIG_NET_CLS_BASIC (Davide Caratti)
- redhat: ark: disable CONFIG_NET_ACT_SKBMOD (Davide Caratti)
- redhat: ark: disable CONFIG_NET_ACT_SIMP (Davide Caratti)
- redhat: ark: disable CONFIG_NET_ACT_NAT (Davide Caratti)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-11-02 10:17:44 -06:00
Justin M. Forbes a616131ac2 kernel-5.10.0-0.rc1.20201028gited8780e3f2ec.56
* Wed Oct 28 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc1.20201028gited8780e3f2ec.56]
- Fix LTO issues with kernel-tools (Don Zickus)
- Point pathfix to the new location for gen_compile_commands.py ("Justin M. Forbes")
- Filter out LTO build options from the perl ccopts ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-28 10:47:43 -05:00
Justin M. Forbes 8dbfc48c5c Fix build issue on s390
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-26 16:29:17 -05:00
Justin M. Forbes 46911ba68e Fix up merge issue with rxe.c
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-26 10:21:26 -05:00
Justin M. Forbes b0c5d2c8b2 gen_compile_commands.py has moved to clang-tools
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-26 09:29:37 -05:00
Justin M. Forbes 037bd254c4 CONFIG_DEBUG_INFO_BTF is still broken
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-26 09:12:29 -05:00
Justin M. Forbes a70311f7e4 kernel-5.10.0-0.rc1.55
* Mon Oct 26 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc1.55]
- Filter out LTO build options from the perl ccopts ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-26 08:55:55 -05:00
Justin M. Forbes c3c7328894 Turn off BTF until it builds again
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-22 16:03:14 -05:00
Justin M. Forbes f0d012a767 kernel-5.10.0-0.rc0.20201022git96485e446260.50
* Thu Oct 22 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc0.20201022git96485e446260.50]
- Filter out LTO build options from the perl ccopts ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-22 16:01:46 -05:00
Justin M. Forbes 5457c8dc33 Turn off DEBUG_INFO_BTF temporarily
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-21 14:17:02 -05:00
Justin M. Forbes d2df94e56a kernel-5.10.0-0.rc0.20201020git071a0578b0ce.48
* Tue Oct 20 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc0.20201020git071a0578b0ce.48]
- Filter out LTO build options from the perl ccopts ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-21 13:51:39 -05:00
Justin M. Forbes 6eef319afa kernel-5.10.0-0.rc0.20201019git071a0578b0ce.48
* Mon Oct 19 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.10.0-0.rc0.20201019git071a0578b0ce.48]
- Fedora config updates ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-19 13:57:24 -05:00
Justin M. Forbes 351b480089 Add CONFIG_ARM64_MTE for aarch64
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-14 11:27:58 -05:00
Justin M. Forbes ed5935c1e5 kernel-5.10.0-0.rc0.20201014gitb5fc7a89e58b.40
* Wed Oct 14 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc0.20201014gitb5fc7a89e58b.40]
- Filter out LTO build options from the perl ccopts ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-14 08:46:09 -05:00
Justin M. Forbes bcd1246585 kernel-5.10.0-0.rc0.20201013gitc4439713e82a.39
* Tue Oct 13 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.10.0-0.rc0.20201013gitc4439713e82a.39]
- Filter out LTO build options from the perl ccopts ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-13 16:35:53 -05:00
Justin M. Forbes 5ea2478213 Attempt to build tools for eln
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-12 16:12:57 -05:00
Justin M. Forbes aa6d9438d0 kernel-5.9.0-35
* Mon Oct 12 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-35]
- Filter out LTO build options from the perl ccopts ("Justin M. Forbes")
- Temporarily remove cdomain from sphinx documentation ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-12 08:20:43 -05:00
Justin M. Forbes becc6a87e3 kernel-5.9.0-0.rc8.20201009git7575fdda569b.31
* Fri Oct 09 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc8.20201009git7575fdda569b.31]
- Modify patchlist changelog output (Don Zickus)
- Filter out LTO build options from the perl ccopts ("Justin M. Forbes")
- Temporarily remove cdomain from sphinx documentation ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-09 08:08:55 -05:00
Justin M. Forbes f7a55ba381 kernel-5.9.0-0.rc8.20201007git7575fdda569b.29
* Wed Oct 07 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc8.20201007git7575fdda569b.29]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-07 09:54:44 -05:00
Justin M. Forbes 5f7d08ee5f kernel-5.9.0-0.rc8.27
* Mon Oct 05 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc8.27]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-05 09:27:47 -05:00
Justin M. Forbes 98bf14a6aa kernel-5.9.0-0.rc7.20201002git60e720931556.23
* Fri Oct 02 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc7.20201002git60e720931556.23]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-10-02 12:57:41 -05:00
Justin M. Forbes 8bf7e7fde6 kernel-5.9.0-0.rc7.20200930gitfb0155a09b02.21
* Wed Sep 30 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc7.20200930gitfb0155a09b02.21]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-30 10:55:26 -05:00
Justin M. Forbes 430af95700 kernel-5.9.0-0.rc7.19
* Mon Sep 28 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc7.19]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-28 07:35:52 -05:00
Justin M. Forbes 4f4dcd74d3 kernel-5.9.0-0.rc6.20200925git171d4ff79f96.16
* Fri Sep 25 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc6.20200925git171d4ff79f96.16]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-25 12:04:33 -05:00
Justin M. Forbes bb2a3806f5 kernel-5.9.0-0.rc6.20200923git805c6d3c1921.14
* Wed Sep 23 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc6.20200923git805c6d3c1921.14]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-23 15:39:08 -05:00
Justin M. Forbes 975f012f66 kernel-5.9.0-0.rc6.20200922git98477740630f.13
* Tue Sep 22 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc6.20200922git98477740630f.13]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-22 14:31:27 -05:00
Justin M. Forbes abdc294d6d Compilation fix from upstream
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-21 10:06:16 -05:00
Justin M. Forbes d328de94fd kernel-5.9.0-0.rc6.12
* Mon Sep 21 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc6.12]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-21 09:22:48 -05:00
Justin M. Forbes 0433fb292b kernel-5.9.0-0.rc5.20200915gitfc4f28bb3daf.11
* Tue Sep 15 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc5.20200915gitfc4f28bb3daf.11]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-16 09:31:10 -05:00
Justin M. Forbes 1342d517c3 kernel-5.9.0-0.rc5.10
* Mon Sep 14 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc5.10]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-14 12:24:57 -05:00
Justin M. Forbes 17c24014d8 kernel-5.9.0-0.rc4.20200911git581cb3a26baf.7
* Fri Sep 11 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc4.20200911git581cb3a26baf.7]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-11 13:24:27 -05:00
Justin M. Forbes 9f7f1a167a kernel-5.9.0-0.rc4.20200909git34d4ddd359db.5
* Wed Sep 09 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc4.20200909git34d4ddd359db.5]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-09 12:27:11 -05:00
Justin M. Forbes 45d4c5a623 kernel-5.9.0-0.rc4.4
* Mon Sep 07 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc4.4]
- Merge ark-patches
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-07 08:20:03 -05:00
Justin M. Forbes 6493c5a9c4 kernel-5.9.0-0.rc3.20200902git9c7d619be5a0.1
* Wed Sep 02 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc3.20200902git9c7d619be5a0.1]
- 9c7d619be5a0 rebase
- Updated changelog for the release based on b51594df17d0 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-02 12:10:21 -05:00
Justin M. Forbes 50137282fa kernel-5.9.0-0.rc3.20200901gitb51594df17d0.1
* Tue Sep 01 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc3.20200901gitb51594df17d0.1]
- b51594df17d0 rebase
- Fedora filter update ("Justin M. Forbes")
- Config update for Fedora ("Justin M. Forbes")
- Updated changelog for the release based on v5.9-rc3 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-01 13:57:36 -05:00
Justin M. Forbes 0338eb127a Turn off tools for eln
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-09-01 08:46:59 -05:00
Justin M. Forbes c5365632f0 Build fixes
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-31 09:20:02 -05:00
Justin M. Forbes b41e8da84d kernel-5.9.0-0.rc3.1
* Mon Aug 31 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc3.1]
- v5.9-rc3 rebase
- Updated changelog for the release based on 1127b219ce94 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-31 08:06:52 -05:00
Justin M. Forbes 5c2e3ce22c Arm64 work around until after Plumbers
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-27 15:16:33 -05:00
Justin M. Forbes e126bc19ae Forgot the manual patch mod
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-27 13:49:12 -05:00
Justin M. Forbes 13bd6da63c kernel-5.9.0-0.rc2.20200827git15bc20c6af4c.1
* Thu Aug 27 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc2.20200827git15bc20c6af4c.1]
- 15bc20c6af4c rebase
- Updated changelog for the release based on 2ac69819ba9e (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-27 12:31:22 -05:00
Justin M. Forbes b8e77e8fe2 Revert vdso_install patch for aarch64 which breaks build
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-25 12:36:19 -05:00
Justin M. Forbes 49998f8a0d Need to push this to kernel-ark
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-24 10:35:42 -05:00
Justin M. Forbes 427e0b0cd9 kernel-5.9.0-0.rc2.1
* Mon Aug 24 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc2.1]
- v5.9-rc2 rebase
- Updated changelog for the release based on c3d8f220d012 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-24 09:10:00 -05:00
Justin M. Forbes b22144999f Build fixes
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-21 15:03:11 -05:00
Justin M. Forbes 1e0aef3c8f kernel-5.9.0-0.rc1.20200821gitda2968ff879b.1
* Fri Aug 21 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc1.20200821gitda2968ff879b.1]
- da2968ff879b rebase
- Temporarily remove cdomain from sphinx documentation ("Justin M. Forbes")
- Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377 ("Justin M. Forbes")
- Updated changelog for the release based on 18445bf405cb (Fedora Kernel Team)
- enable PROTECTED_VIRTUALIZATION_GUEST for all s390x kernels (=?UTF-8?q?Dan=20Hor=C3=A1k?=)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-21 10:23:40 -05:00
Justin M. Forbes 7c2668e42b kernel-5.9.0-0.rc1.20200819git18445bf405cb.1
* Wed Aug 19 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc1.20200819git18445bf405cb.1]
- 18445bf405cb rebase
- Add mlx5_vdpa to module filter for Fedora ("Justin M. Forbes")
- Add python3-sphinx_rtd_theme buildreq for docs ("Justin M. Forbes")
- kernel.spec: Remove kernel-keys directory on rpm erase (Prarit Bhargava)
- More Fedora config updates ("Justin M. Forbes")
- New config deps ("Justin M. Forbes")
- Updated changelog for the release based on 06a4ec1d9dc6 (Fedora Kernel Team)
- redhat: ark: enable CONFIG_NET_SCH_TAPRIO (Davide Caratti)
- redhat: ark: enable CONFIG_NET_SCH_ETF (Davide Caratti)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-20 11:46:38 -05:00
Justin M. Forbes 799319231f Fix typo
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-18 13:06:10 -05:00
Justin M. Forbes c65148b45d Filter updates
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-18 12:38:12 -05:00
Justin M. Forbes b64b1c26dd kernel-5.9.0-0.rc1.20200818git06a4ec1d9dc6.1
* Tue Aug 18 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.9.0-0.rc1.20200818git06a4ec1d9dc6.1]
- New config deps ("Justin M. Forbes")
- Fedora config updates ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-18 10:53:53 -05:00
Justin M. Forbes 3b51698072 Temporarily disable CONFIG_VIDE_TI_CAL due to build error
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-17 16:38:33 -05:00
Justin M. Forbes 9e67c21980 Config changes for aarch64
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-17 12:56:25 -05:00
Justin M. Forbes fa13b59d63 kernel-5.9.0-0.rc1.1
* Mon Aug 17 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc1.1]
- v5.9-rc1 rebase
- Config updates for Fedora ("Justin M. Forbes")
- fedora: enable enery model (Peter Robinson)
- iio: enable LTR-559 light and proximity sensor (Peter Robinson)
- iio: chemical: enable some popular chemical and partical sensors (Peter Robinson)
- More mismatches ("Justin M. Forbes")
- Fedora config change due to deps ("Justin M. Forbes")
- CONFIG_SND_SOC_MAX98390 is now selected by SND_SOC_INTEL_DA7219_MAX98357A_GENERIC ("Justin M. Forbes")
- Config change required for build part 2 ("Justin M. Forbes")
- Config change required for build ("Justin M. Forbes")
- Enable ARM_SMCCC_SOC_ID on all aarch64 kernels (Peter Robinson)
- Enable ZSTD compression algorithm on all kernels (Peter Robinson)
- Fedora config update ("Justin M. Forbes")
- Revert "Merge branch 'make_configs_fix' into 'os-build'" (Justin Forbes)
- Use the configs/generic config for SND_HDA_INTEL everywhere (Peter Robinson)
- redhat/configs/process_configs.sh: Remove *.config.orig files (Prarit Bhargava)
- redhat/configs/process_configs.sh: Add process_configs_known_broken flag (Prarit Bhargava)
- redhat/Makefile: Fix '*-configs' targets (Prarit Bhargava)
- Updated changelog for the release based on v5.8 (Fedora Kernel Team)
- Add ability to sync upstream through Makefile (Don Zickus)
- Add master merge check (Don Zickus)
- Replace hardcoded values 'os-build' and project id with variables (Don Zickus)
- gitattributes: Remove unnecesary export restrictions (Prarit Bhargava)
- redhat/Makefile.common: Fix MARKER (Prarit Bhargava)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-17 11:18:16 -05:00
Justin M. Forbes f7a3bf6547 kernel-5.9.0-0.rc0.20200813gitdc06fe51d26e.1
* Thu Aug 13 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc0.20200813gitdc06fe51d26e.1]
- dc06fe51d26e rebase
- More mismatches ("Justin M. Forbes")
- Fedora config change due to deps ("Justin M. Forbes")
- CONFIG_SND_SOC_MAX98390 is now selected by SND_SOC_INTEL_DA7219_MAX98357A_GENERIC ("Justin M. Forbes")
- Config change required for build part 2 ("Justin M. Forbes")
- Config change required for build ("Justin M. Forbes")
- Fedora config update ("Justin M. Forbes")
- Revert "Merge branch 'make_configs_fix' into 'os-build'" (Justin Forbes)
- redhat/configs/process_configs.sh: Remove *.config.orig files (Prarit Bhargava)
- redhat/configs/process_configs.sh: Add process_configs_known_broken flag (Prarit Bhargava)
- redhat/Makefile: Fix '*-configs' targets (Prarit Bhargava)
- Updated changelog for the release based on v5.8 (Fedora Kernel Team)
- Add ability to sync upstream through Makefile (Don Zickus)
- Add master merge check (Don Zickus)
- Replace hardcoded values 'os-build' and project id with variables (Don Zickus)
- gitattributes: Remove unnecesary export restrictions (Prarit Bhargava)
- redhat/Makefile.common: Fix MARKER (Prarit Bhargava)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-13 12:44:32 -05:00
Justin M. Forbes 142d1dbc87 Quick changes for an ELN build while toolchain is worked out
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-13 09:58:16 -05:00
Justin M. Forbes 29d3f64f7e Add python3-sphinx_rtd_theme dep for docs
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-10 07:38:39 -05:00
Justin M. Forbes 4403d9295a kernel-5.8.0-1
* Mon Aug 03 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-1]
- v5.8 rebase
- Updated changelog for the release based on ac3a0c847296 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-08-03 08:39:23 -05:00
Justin M. Forbes b303d37046 Forgot to apply the patch
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-30 13:04:59 -05:00
Justin M. Forbes 64d63e754c Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-30 10:27:30 -05:00
Justin M. Forbes 38ae8ad573 kernel-5.8.0-0.rc7.1
* Mon Jul 27 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc7.1]
- v5.8-rc7 rebase
- Updated changelog for the release based on 04300d66f0a0 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-27 09:57:23 -05:00
Justin M. Forbes e7f8b3f4a6 kernel-5.8.0-0.rc6.20200723gitd15be546031c.1
* Thu Jul 23 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc6.20200723gitd15be546031c.1]
- d15be546031c rebase
- fedora: arm: Update some meson config options (Peter Robinson)
- Updated changelog for the release based on 4fa640dc5230 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-23 12:02:14 -05:00
Justin M. Forbes 5b40d31261 kernel-5.8.0-0.rc6.20200721git4fa640dc5230.1
* Tue Jul 21 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc6.20200721git4fa640dc5230.1]
- 4fa640dc5230 rebase
- Updated changelog for the release based on 5714ee50bb43 (Fedora Kernel Team)
- redhat/docs: Add Fedora RPM tagging date (Prarit Bhargava)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-21 14:55:37 -05:00
Justin M. Forbes 3ccab6f68c Patch fixup
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-20 10:11:44 -05:00
Justin M. Forbes 359c3be329 kernel-5.8.0-0.rc6.20200720git5714ee50bb43.1
* Mon Jul 20 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc6.20200720git5714ee50bb43.1]
- 5714ee50bb43 rebase
- Updated changelog for the release based on f932d58abc38 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-20 09:41:12 -05:00
Justin M. Forbes fc8ee97867 kernel-5.8.0-0.rc5.20200717git07a56bb875af.1
* Fri Jul 17 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc5.20200717git07a56bb875af.1]
- 07a56bb875af rebase
- redhat/configs: Fix common CONFIGs (Prarit Bhargava)
- redhat/configs: General CONFIG cleanups (Prarit Bhargava)
- redhat/configs: Update & generalize evaluate_configs (Prarit Bhargava)
- arch/x86: Remove vendor specific CPU ID checks (Prarit Bhargava)
- Updated changelog for the release based on e9919e11e219 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-17 12:49:16 -05:00
Justin M. Forbes bd3a95eca9 Forgot a piece
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-16 13:09:57 -05:00
Justin M. Forbes fbc93f939b Fix secure boot signing
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-16 13:04:04 -05:00
Justin M. Forbes d09e44ea79 kernel-5.8.0-0.rc5.20200715gite9919e11e219.1
* Wed Jul 15 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc5.20200715gite9919e11e219.1]
- e9919e11e219 rebase
- arm64: dts: sun50i-a64-pinephone: Add touchscreen support (Ondrej Jirman)
- arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone (Icenowy Zheng)
- drm/panel: st7703: Assert reset prior to powering down the regulators (Ondrej Jirman)
- drm/panel: st7703: Enter sleep after display off (Ondrej Jirman)
- drm/panel: st7703: Add support for Xingbangda XBD599 (Ondrej Jirman)
- drm/panel: st7703: Move generic part of init sequence to enable callback (Ondrej Jirman)
- drm/panel: st7703: Move code specific to jh057n closer together (Ondrej Jirman)
- drm/panel: st7703: Prepare for supporting multiple panels (Ondrej Jirman)
- drm/panel: st7703: Rename functions from jh057n prefix to st7703 (Ondrej Jirman)
- drm/panel: rocktech-jh057n00900: Rename the driver to st7703 (Ondrej Jirman)
- dt-bindings: panel: Add compatible for Xingbangda XBD599 panel (Ondrej Jirman)
- dt-bindings: panel: Convert rocktech, jh057n00900 to yaml (Ondrej Jirman)
- dt-bindings: vendor-prefixes: Add Xingbangda (Icenowy Zheng)
- Revert "arm64: allwinner: dts: a64: add LCD-related device nodes for PinePhone" (Peter Robinson)
- Revert "drm/sun4i: sun6i_mipi_dsi: fix horizontal timing calculation" (Peter Robinson)
- Revert "drm: panel: add Xingbangda XBD599 panel" (Peter Robinson)
- Revert "dt-bindings: panel: add binding for Xingbangda XBD599 panel" (Peter Robinson)
- selinux: allow reading labels before policy is loaded (Jonathan Lebon)
- Fixes "acpi: prefer booting with ACPI over DTS" to be RHEL only (Peter Robinson)
- Update config for renamed panel driver. (Peter Robinson)
- Enable SERIAL_SC16IS7XX for SPI interfaces (Peter Robinson)
- Updated changelog for the release based on dcde237b9b0e (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-15 16:22:10 -05:00
Justin M. Forbes 6a267103d8 kernel-5.8.0-0.rc5.20200714git0dc589da873b.1
* Tue Jul 14 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc5.20200714git0dc589da873b.1]
- 0dc589da873b rebase
- arm64: dts: sun50i-a64-pinephone: Add touchscreen support (Ondrej Jirman)
- arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone (Icenowy Zheng)
- drm/panel: st7703: Assert reset prior to powering down the regulators (Ondrej Jirman)
- drm/panel: st7703: Enter sleep after display off (Ondrej Jirman)
- drm/panel: st7703: Add support for Xingbangda XBD599 (Ondrej Jirman)
- drm/panel: st7703: Move generic part of init sequence to enable callback (Ondrej Jirman)
- drm/panel: st7703: Move code specific to jh057n closer together (Ondrej Jirman)
- drm/panel: st7703: Prepare for supporting multiple panels (Ondrej Jirman)
- drm/panel: st7703: Rename functions from jh057n prefix to st7703 (Ondrej Jirman)
- drm/panel: rocktech-jh057n00900: Rename the driver to st7703 (Ondrej Jirman)
- dt-bindings: panel: Add compatible for Xingbangda XBD599 panel (Ondrej Jirman)
- dt-bindings: panel: Convert rocktech, jh057n00900 to yaml (Ondrej Jirman)
- dt-bindings: vendor-prefixes: Add Xingbangda (Icenowy Zheng)
- Revert "arm64: allwinner: dts: a64: add LCD-related device nodes for PinePhone" (Peter Robinson)
- Revert "drm/sun4i: sun6i_mipi_dsi: fix horizontal timing calculation" (Peter Robinson)
- Revert "drm: panel: add Xingbangda XBD599 panel" (Peter Robinson)
- Revert "dt-bindings: panel: add binding for Xingbangda XBD599 panel" (Peter Robinson)
- selinux: allow reading labels before policy is loaded (Jonathan Lebon)
- Fixes "acpi: prefer booting with ACPI over DTS" to be RHEL only (Peter Robinson)
- Update config for renamed panel driver. (Peter Robinson)
- Enable SERIAL_SC16IS7XX for SPI interfaces (Peter Robinson)
- Updated changelog for the release based on dcde237b9b0e (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-14 10:52:28 -05:00
Justin M. Forbes aa5ab7f890 kernel-5.8.0-0.rc5.1
* Mon Jul 13 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc5.1]
- v5.8-rc5 rebase
- arm64: dts: sun50i-a64-pinephone: Add touchscreen support (Ondrej Jirman)
- arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone (Icenowy Zheng)
- drm/panel: st7703: Assert reset prior to powering down the regulators (Ondrej Jirman)
- drm/panel: st7703: Enter sleep after display off (Ondrej Jirman)
- drm/panel: st7703: Add support for Xingbangda XBD599 (Ondrej Jirman)
- drm/panel: st7703: Move generic part of init sequence to enable callback (Ondrej Jirman)
- drm/panel: st7703: Move code specific to jh057n closer together (Ondrej Jirman)
- drm/panel: st7703: Prepare for supporting multiple panels (Ondrej Jirman)
- drm/panel: st7703: Rename functions from jh057n prefix to st7703 (Ondrej Jirman)
- drm/panel: rocktech-jh057n00900: Rename the driver to st7703 (Ondrej Jirman)
- dt-bindings: panel: Add compatible for Xingbangda XBD599 panel (Ondrej Jirman)
- dt-bindings: panel: Convert rocktech, jh057n00900 to yaml (Ondrej Jirman)
- dt-bindings: vendor-prefixes: Add Xingbangda (Icenowy Zheng)
- Revert "arm64: allwinner: dts: a64: add LCD-related device nodes for PinePhone" (Peter Robinson)
- Revert "drm/sun4i: sun6i_mipi_dsi: fix horizontal timing calculation" (Peter Robinson)
- Revert "drm: panel: add Xingbangda XBD599 panel" (Peter Robinson)
- Revert "dt-bindings: panel: add binding for Xingbangda XBD599 panel" (Peter Robinson)
- selinux: allow reading labels before policy is loaded (Jonathan Lebon)
- Fixes "acpi: prefer booting with ACPI over DTS" to be RHEL only (Peter Robinson)
- Update config for renamed panel driver. (Peter Robinson)
- Enable SERIAL_SC16IS7XX for SPI interfaces (Peter Robinson)
- Updated changelog for the release based on dcde237b9b0e (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-13 10:05:15 -05:00
Justin M. Forbes d8d578bfa8 kernel-5.8.0-0.rc4.20200710git42f82040ee66.1
* Fri Jul 10 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc4.20200710git42f82040ee66.1]
- 42f82040ee66 rebase
- Updated changelog for the release based on dcde237b9b0e (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-10 14:21:31 -05:00
Justin M. Forbes 1e802729aa kernel-5.8.0-0.rc4.20200709git0bddd227f3dc.1
* Thu Jul 09 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc4.20200709git0bddd227f3dc.1]
- 0bddd227f3dc rebase
- Updated changelog for the release based on v5.8-rc4 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-09 11:07:42 -05:00
Justin M. Forbes a6d0f2858f kernel-5.8.0-0.rc4.20200708gitdcde237b9b0e.1
* Wed Jul 08 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc4.20200708gitdcde237b9b0e.1]
- dcde237b9b0e rebase
- Updated changelog for the release based on v5.8-rc4 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-08 10:58:48 -05:00
Justin M. Forbes 358c00f77f kernel-5.8.0-0.rc4.1
* Mon Jul 06 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc4.1]
- v5.8-rc4 rebase
- Updated changelog for the release based on cd77006e01b3 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-06 10:09:04 -05:00
Justin M. Forbes 675db5ebad kernel-5.8.0-0.rc3.20200630git7c30b859a947.1
* Tue Jun 30 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc3.20200630git7c30b859a947.1]
- 7c30b859a947 rebase
- Updated changelog for the release based on v5.8-rc3 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-07-01 17:01:50 -05:00
Justin M. Forbes d176dfce22 kernel-5.8.0-0.rc3.20200630git7c30b859a947.1
* Tue Jun 30 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc3.20200630git7c30b859a947.1]
- 7c30b859a947 rebase
- Updated changelog for the release based on v5.8-rc3 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-30 09:24:22 -05:00
Augusto Caringi 61b5e2fd06 Fix buildid
Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2020-06-29 15:27:41 -03:00
Augusto Caringi 9b53592daf kernel-5.8.0-0.rc3.1
* Mon Jun 29 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc3.1]
- v5.8-rc3 rebase
- s390x-zfcpdump: Handle missing Module.symvers file (Don Zickus)
- Updated changelog for the release based on 8be3a53e18e0 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Augusto Caringi <acaringi@redhat.com>
2020-06-29 15:02:20 -03:00
Justin M. Forbes a6d5bdfa75 kernel-5.8.0-0.rc2.20200626git4a21185cda0f.1
* Fri Jun 26 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc2.20200626git4a21185cda0f.1]
- 4a21185cda0f rebase
- Updated changelog for the release based on 8be3a53e18e0 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-26 12:56:16 -05:00
Justin M. Forbes 7fc243d4f6 kernel-5.8.0-0.rc2.20200625git8be3a53e18e0.1
* Thu Jun 25 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc2.20200625git8be3a53e18e0.1]
- 8be3a53e18e0 rebase
- redhat: Replace hardware.redhat.com link in Unsupported message (Prarit Bhargava)
- redhat/configs: Add .tmp files to .gitignore (Prarit Bhargava)
- disable uncommon TCP congestion control algorithms (Davide Caratti)
- Updated changelog for the release based on dd0d718152e4 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-25 13:06:28 -05:00
Justin M. Forbes 4b70444246 kernel-5.8.0-0.rc2.20200623gitdd0d718152e4.1
* Tue Jun 23 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc2.20200623gitdd0d718152e4.1]
- dd0d718152e4 rebase
- Add new bpf man pages ("Justin M. Forbes")
- Add default option for CONFIG_ARM64_BTI_KERNEL to pending-common so that eln kernels build ("Justin M. Forbes")
- Updated changelog for the release based on 625d3449788f (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-23 09:44:18 -05:00
Justin M. Forbes 57c10c22cb kernel-5.8.0-0.rc2.20200622git625d3449788f.1
* Mon Jun 22 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc2.20200622git625d3449788f.1]
- 625d3449788f rebase
- Updated changelog for the release based on 1b5044021070 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-22 09:40:59 -05:00
Justin M. Forbes 5fa9753104 kernel-5.8.0-0.rc1.20200618git1b5044021070.1
* Thu Jun 18 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc1.20200618git1b5044021070.1]
- 1b5044021070 rebase
- redhat/Makefile: Add fedora-configs and rh-configs make targets (Prarit Bhargava)
- Updated changelog for the release based on 69119673bd50 (Fedora Kernel Team)
- redhat/configs: Use SHA512 for module signing (Prarit Bhargava)
- genspec.sh: 'touch' empty Patchlist file for single tarball (Don Zickus)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-18 09:10:16 -05:00
Justin M. Forbes 2a4f1d912c kernel-5.8.0-0.rc1.20200617git69119673bd50.1
* Wed Jun 17 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc1.20200617git69119673bd50.1]
- 69119673bd50 rebase
- Updated changelog for the release based on a5dc8300df75 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-17 10:25:51 -05:00
Justin M. Forbes 3167599aa0 Forgot the patch update again
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-16 11:39:03 -05:00
Justin M. Forbes 5c21031a3d kernel-5.8.0-0.rc1.20200616gita5dc8300df75.1
* Tue Jun 16 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc1.20200616gita5dc8300df75.1]
- a5dc8300df75 rebase
- Fedora config update for rc1 ("Justin M. Forbes")
- Updated changelog for the release based on v5.8-rc1 (Fedora Kernel Team)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-16 11:36:29 -05:00
Justin M. Forbes dadba4a34d fix patch from os-build
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-14 18:14:41 -05:00
Justin M. Forbes dc4f070792 kernel-5.8.0-0.rc1.1
* Sun Jun 14 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.8.0-0.rc1.1]
- Fedora config update for rc1 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-14 18:10:41 -05:00
Justin M. Forbes c0b2feb7cc kernel-5.8.0-0.rc0.20200612gitb791d1bdf921.1
* Fri Jun 12 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.8.0-0.rc0.20200612gitb791d1bdf921.1]
- Fedora config updates ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-12 10:00:25 -05:00
Justin M. Forbes e9f1331084 kernel-5.8.0-0.rc0.20200611gitb29482fde649.1
* Thu Jun 11 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.8.0-0.rc0.20200611gitb29482fde649.1]
- Fedora config updates ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-11 11:56:32 -05:00
Justin M. Forbes 8ae1eddbf5 Fixup patch context
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-10 17:05:44 -05:00
Justin M. Forbes fb49733b7f kernel-5.8.0-0.rc0.20200610git84fc461db99b.1
* Wed Jun 10 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc0.20200610git84fc461db99b.1]
- 84fc461db99b rebase
- Fix PATCHLEVEL for merge window ("Justin M. Forbes")
- PCI: tegra: Revert raw_violation_fixup for tegra124 (Nicolas Chauvet)
- Change ark CONFIG_COMMON_CLK to yes, it is selected already by other options ("Justin M. Forbes")
- More module filtering for Fedora ("Justin M. Forbes")
- Update filters for rnbd in Fedora ("Justin M. Forbes")
- Fix up module filtering for 5.8 ("Justin M. Forbes")
- More Fedora config work ("Justin M. Forbes")
- RTW88BE and CE have been extracted to their own modules ("Justin M. Forbes")
- Set CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK for Fedora ("Justin M. Forbes")
- Arm64 Use Branch Target Identification for kernel ("Justin M. Forbes")
- Fedora config updates ("Justin M. Forbes")
- Change value of CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE ("Justin M. Forbes")
- Fix configs for Fedora ("Justin M. Forbes")
- Fix update_scripts.sh unselective pattern sub (David Howells)
- Updated changelog for the release based on b0c3ba31be3e ("CKI@GitLab")
- Drop the static path configuration for the Sphinx docs (Jeremy Cline)
- Sign off generated configuration patches (Jeremy Cline)
- Use __make macro instead of make (Tom Stellard)
- redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [http://bugzilla.redhat.com/1722136]
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-10 17:01:45 -05:00
Justin M. Forbes d561cc2b9e Filter updates
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-08 16:28:36 -05:00
Justin M. Forbes 05706a271a Build fixes
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-08 12:22:13 -05:00
Justin M. Forbes 676c84f7d1 kernel-5.8.0-0.rc0.20200608gitaf7b4801030c.1
* Mon Jun 08 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.8.0-0.rc0.20200608gitaf7b4801030c.1]
- Fedora config updates ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-08 10:07:17 -05:00
Justin M. Forbes 4459220aec kernel-5.8.0-0.rc0.20200605git435faf5c218a.1
* Fri Jun 05 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.8.0-0.rc0.20200605git435faf5c218a.1]
- Fedora config updates ("Justin M. Forbes")
- Fix up module filtering for 5.8 ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-05 13:03:55 -05:00
Justin M. Forbes 728cc6ed65 kernel-5.8.0-0.rc0.20200604git9fb4c5250f10.1
* Thu Jun 04 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.8.0-0.rc0.20200604git9fb4c5250f10.1]
- More Fedora config work ("Justin M. Forbes")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-04 16:46:33 -05:00
Justin M. Forbes 95dc4cf28c kernel-5.8.0-0.rc0.20200603gitd6f9469a03d8.1
* Wed Jun 03 2020 CKI@GitLab <cki-project@redhat.com> [5.8.0-0.rc0.20200603gitd6f9469a03d8.1]
- d6f9469a03d8 rebase
- Fix configs for Fedora ("Justin M. Forbes")
- Fix update_scripts.sh unselective pattern sub (David Howells)
- Updated changelog for the release based on b0c3ba31be3e ("CKI@GitLab")
- Drop the static path configuration for the Sphinx docs (Jeremy Cline)
- Sign off generated configuration patches (Jeremy Cline)
- Use __make macro instead of make (Tom Stellard)
- redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [http://bugzilla.redhat.com/1722136]
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-03 13:47:28 -05:00
Justin M. Forbes 49d6a971ac kernel-5.8.0-0.rc0.20200602gitf359287765c0.1
* Tue Jun 02 2020 CKI@GitLab <cki-project@redhat.com> [5.8.0-0.rc0.20200602gitf359287765c0.1]
- f359287765c0 rebase
- Fix update_scripts.sh unselective pattern sub (David Howells)
- Updated changelog for the release based on b0c3ba31be3e ("CKI@GitLab")
- Drop the static path configuration for the Sphinx docs (Jeremy Cline)
- Sign off generated configuration patches (Jeremy Cline)
- Use __make macro instead of make (Tom Stellard)
- redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [http://bugzilla.redhat.com/1722136]
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-03 12:27:58 -05:00
Justin M. Forbes fa1dee0747 kernel-5.8.0-0.rc0.20200602gitf359287765c0.1
* Tue Jun 02 2020 CKI@GitLab <cki-project@redhat.com> [5.8.0-0.rc0.20200602gitf359287765c0.1]
- f359287765c0 rebase
- Fix update_scripts.sh unselective pattern sub (David Howells)
- Updated changelog for the release based on b0c3ba31be3e ("CKI@GitLab")
- Drop the static path configuration for the Sphinx docs (Jeremy Cline)
- Sign off generated configuration patches (Jeremy Cline)
- Use __make macro instead of make (Tom Stellard)
- redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [http://bugzilla.redhat.com/1722136]
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-02 13:57:57 -05:00
Justin M. Forbes f0c9dd0c81 kernel-5.7.0-1
* Mon Jun 01 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-1]
- v5.7 rebase
- Fix update_scripts.sh unselective pattern sub (David Howells)
- Updated changelog for the release based on b0c3ba31be3e ("CKI@GitLab")
- Drop the static path configuration for the Sphinx docs (Jeremy Cline)
- Sign off generated configuration patches (Jeremy Cline)
- Use __make macro instead of make (Tom Stellard)
- redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [http://bugzilla.redhat.com/1722136]
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-06-01 15:02:10 -05:00
Justin M. Forbes 42bbfcc428 kernel-5.7.0-0.rc7.20200528gitb0c3ba31be3e.1
* Thu May 28 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc7.20200528gitb0c3ba31be3e.1]
- b0c3ba31be3e rebase
- Updated changelog for the release based on 444fc5cde643 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-29 10:34:31 -05:00
Justin M. Forbes c1d5388741 kernel-5.7.0-0.rc7.20200528gitb0c3ba31be3e.1
* Thu May 28 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc7.20200528gitb0c3ba31be3e.1]
- b0c3ba31be3e rebase
- Updated changelog for the release based on 444fc5cde643 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-28 10:35:15 -05:00
Justin M. Forbes a79d8affb7 kernel-5.7.0-0.rc7.1
* Mon May 25 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc7.1]
- v5.7-rc7 rebase
- Updated changelog for the release based on caffb99b6929 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-25 12:09:26 -05:00
Justin M. Forbes 891d5e1e47 kernel-5.7.0-0.rc6.20200522git051143e1602d.1
* Fri May 22 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc6.20200522git051143e1602d.1]
- 051143e1602d rebase
- Add Documentation back to kernel-devel as it has Kconfig now ("Justin M. Forbes")
- x86: Fix compile issues with rh_check_supported() (Don Zickus)
- redhat/Makefile: Fix RHEL8 python warning (Prarit Bhargava)
- kernel.spec: fix 'make scripts' for kernel-devel package (Brian Masney)
- Makefile: correct help text for dist-cross-<arch>-rpms (Brian Masney)
- Updated changelog for the release based on 642b151f45dd ("CKI@GitLab")
- redhat: Change Makefile target names to dist- (Prarit Bhargava)
- configs: Disable Serial IR driver (Prarit Bhargava)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-22 14:47:20 -05:00
Justin M. Forbes eeafa0d7a2 kernel-5.7.0-0.rc6.20200521gitb85051e755b0.1
* Thu May 21 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc6.20200521gitb85051e755b0.1]
- b85051e755b0 rebase
- kernel.spec: fix 'make scripts' for kernel-devel package (Brian Masney)
- Makefile: correct help text for dist-cross-<arch>-rpms (Brian Masney)
- Add Documentation back to kernel-devel as it has Kconfig now ("Justin M. Forbes")
- x86: Fix compile issues with rh_check_supported() (Don Zickus)
- Updated changelog for the release based on 642b151f45dd ("CKI@GitLab")
- redhat: Change Makefile target names to dist- (Prarit Bhargava)
- configs: Disable Serial IR driver (Prarit Bhargava)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-21 17:07:25 -05:00
Justin M. Forbes bec7366f48 kernel-5.7.0-0.rc6.20200520git115a54162a6c.1
* Wed May 20 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc6.20200520git115a54162a6c.1]
- 115a54162a6c rebase
- kernel.spec: fix 'make scripts' for kernel-devel package (Brian Masney)
- Makefile: correct help text for dist-cross-<arch>-rpms (Brian Masney)
- Add Documentation back to kernel-devel as it has Kconfig now ("Justin M. Forbes")
- x86: Fix compile issues with rh_check_supported() (Don Zickus)
- Updated changelog for the release based on 642b151f45dd ("CKI@GitLab")
- redhat: Change Makefile target names to dist- (Prarit Bhargava)
- configs: Disable Serial IR driver (Prarit Bhargava)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-20 14:23:26 -05:00
Justin M. Forbes cd543e686c kernel-5.7.0-0.rc6.20200519git642b151f45dd.1
* Tue May 19 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc6.20200519git642b151f45dd.1]
- 642b151f45dd rebase
- pwm: lpss: Fix get_state runtime-pm reference handling (Hans de Goede)
- Updated changelog for the release based on v5.7-rc6 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-19 12:57:24 -05:00
Justin M. Forbes 8bcec8d902 kernel-5.7.0-0.rc6.1
* Mon May 18 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc6.1]
- v5.7-rc6 rebase
- Updated changelog for the release based on 3d1c1e5931ce ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-18 12:42:20 -05:00
Justin M. Forbes 47fa8e4cc7 kernel-5.7.0-0.rc5.20200515git1ae7efb38854.1
* Fri May 15 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc5.20200515git1ae7efb38854.1]
- 1ae7efb38854 rebase
- Updated changelog for the release based on 24085f70a6e1 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-15 10:09:46 -05:00
Justin M. Forbes cce5567bb3 kernel-5.7.0-0.rc5.20200513git24085f70a6e1.1
* Wed May 13 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc5.20200513git24085f70a6e1.1]
- 24085f70a6e1 rebase
- Updated changelog for the release based on 152036d1379f ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-13 09:36:09 -05:00
Justin M. Forbes ce2585656b kernel-5.7.0-0.rc5.1
* Mon May 11 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc5.1]
- v5.7-rc5 rebase
- Updated changelog for the release based on e99332e7b4cd ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-11 09:34:36 -05:00
Justin M. Forbes 1f73373523 kernel-5.7.0-0.rc4.20200508git79dede78c057.1
* Fri May 08 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc4.20200508git79dede78c057.1]
- 79dede78c057 rebase
- Updated changelog for the release based on a811c1fa0a02 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-08 09:52:40 -05:00
Justin M. Forbes 00e1efaae5 kernel-5.7.0-0.rc4.20200507gita811c1fa0a02.1
* Thu May 07 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc4.20200507gita811c1fa0a02.1]
- a811c1fa0a02 rebase
- perf cs-etm: Move defined of traceid_list (Leo Yan)
- Updated changelog for the release based on dc56c5acd850 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-07 09:11:53 -05:00
Justin M. Forbes 4fdfe982ae kernel-5.7.0-0.rc4.20200505git47cf1b422e60.1
* Tue May 05 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc4.20200505git47cf1b422e60.1]
- 47cf1b422e60 rebase
- Build ARK against ELN (Don Zickus)
- Updated changelog for the release based on v5.7-rc4 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-05 12:50:51 -05:00
Justin M. Forbes 2d4e33084f kernel-5.7.0-0.rc4.1
* Mon May 04 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc4.1]
- v5.7-rc4 rebase
- Updated changelog for the release based on f66ed1ebbfde ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-04 12:40:44 -05:00
Justin M. Forbes d254a07585 kernel-5.7.0-0.rc3.20200501gitc45e8bccecaf.1
* Fri May 01 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc3.20200501gitc45e8bccecaf.1]
- c45e8bccecaf rebase
- Updated changelog for the release based on 1d2cc5ac6f66 ("CKI@GitLab")
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-05-01 11:34:41 -05:00
Justin M. Forbes 67f313c852 kernel-5.7.0-0.rc3.20200429git1d2cc5ac6f66.1
* Wed Apr 29 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc3.20200429git1d2cc5ac6f66.1]
- 1d2cc5ac6f66 rebase
- Add cec to the filter overrides ("Justin M. Forbes")
- Add overrides to filter-modules.sh ("Justin M. Forbes")
- Copy Makefile.rhelver as a source file rather than a patch (Jeremy Cline)
- Move the sed to clear the patch templating outside of conditionals ("Justin M. Forbes")
- Only include open merge requests with "Include in Releases" label (Jeremy Cline)
- Exit non-zero if the tag already exists for a release (Jeremy Cline)
- Adjust the changelog update script to not push anything (Jeremy Cline)
- Drop --target noarch from the rh-rpms make target (Jeremy Cline)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-04-29 16:12:02 -05:00
Justin M. Forbes 68dd5fcadc * Wed Apr 29 2020 Justin M. Forbes <jforbes@fedoraproject.org> 5.7.0-0.rc3.20200428git51184ae37e05.1
- 51184ae37e05 rebase
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-04-29 09:22:36 -05:00
Justin M. Forbes 5a34ebde9f Fix versioning 2020-04-27 09:13:22 -05:00
Justin M. Forbes 6c2cc50051 kernel-5.7.0-0.rc3.1
* Sun Apr 26 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc3.1]
- v5.7-rc3 rebase
- Add cec to the filter overrides ("Justin M. Forbes")
- Add overrides to filter-modules.sh ("Justin M. Forbes")
- Adjust the changelog update script to not push anything (Jeremy Cline)
- Drop --target noarch from the rh-rpms make target (Jeremy Cline)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-04-26 21:15:20 -05:00
Jeremy Cline d1b6f8c7af kernel-5.7.0-0.rc2.20200423git7adc4b399952.1
* Thu Apr 23 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc2.20200423git7adc4b399952.1]
- 7adc4b399952 rebase
- Match template format in kernel.spec.template ("Justin M. Forbes")
- Break out the Patches into individual files for dist-git ("Justin M. Forbes")
- Break the Red Hat patch into individual commits (Jeremy Cline)
- Adjust module filtering so CONFIG_DRM_DP_CEC can be set (Jeremy Cline)
- Add a script to generate release tags and branches (Jeremy Cline)
- Set CONFIG_VDPA for fedora ("Justin M. Forbes")
- Provide defaults in ark-rebase-patches.sh (Jeremy Cline)
- Default ark-rebase-patches.sh to not report issues (Jeremy Cline)
Resolves: rhbz#

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-04-23 16:47:21 -04:00
Justin M. Forbes 4f478aae80 kernel-5.7.0-0.rc2.20200422git18bf34080c4c.1
* Wed Apr 22 2020 Justin M. Forbes <jforbes@fedoraproject.org> [5.7.0-0.rc2.20200422git18bf34080c4c.1]
- 18bf34080c4c rebase
- Provide defaults in ark-rebase-patches.sh (Jeremy Cline)
- Default ark-rebase-patches.sh to not report issues (Jeremy Cline)
Resolves: rhbz#

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
2020-04-22 12:16:49 -05:00
Jeremy Cline 0c5dccebb5 kernel-5.7.0-0.rc2.1
* Mon Apr 20 2020 Jeremy Cline <jcline@redhat.com> [5.7.0-0.rc2.1]
- v5.7-rc2 rebase
- Add a README to the dist-git repository (Jeremy Cline)
- Copy distro files rather than moving them (Jeremy Cline)
- Drop DIST from release commits and tags (Jeremy Cline)
- Place the buildid before the dist in the release (Jeremy Cline)
- Sync up with Fedora arm configuration prior to merging (Jeremy Cline)
- Disable CONFIG_PROTECTED_VIRTUALIZATION_GUEST for zfcpdump (Jeremy Cline)
Resolves: rhbz#

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-04-20 14:23:47 -04:00
Jeremy Cline 8aa3f86912 kernel-5.7.0-0.rc1.20200416git9786cab67457.1
* Thu Apr 16 2020 Jeremy Cline <jcline@redhat.com> [5.7.0-0.rc1.20200416git9786cab67457.1]
- 9786cab67457 rebase
- Copy distro files rather than moving them (Jeremy Cline)
- Place the buildid before the dist in the release (Jeremy Cline)
- Drop DIST from release commits and tags (Jeremy Cline)
- Sync up with Fedora arm configuration prior to merging (Jeremy Cline)
- Disable CONFIG_PROTECTED_VIRTUALIZATION_GUEST for zfcpdump (Jeremy Cline)
Resolves: rhbz#

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-04-16 16:30:04 -04:00
Jeremy Cline 0310b312a7 kernel-5.7.0-0.rc1.20200414git8632e9b5645b.1
This is an automated commit generated from the
kernel-5.7.0-0.rc1.20200414git8632e9b5645b.1 tag in
https://gitlab.com/cki-project/kernel-ark.git
2020-04-14 17:53:23 -04:00
Justin M. Forbes 48b75e92d6 Linux v5.7-rc1 2020-04-13 09:05:29 -05:00
Justin M. Forbes 921d5d6e16 Disable debugging options. 2020-04-13 08:11:21 -05:00
Peter Robinson f5cc9f5213 minor update for deleted configs 2020-04-11 15:10:55 +01:00
Justin M. Forbes d329f88592 Linux v5.6-12046-gae46d2aa6a7f 2020-04-08 15:29:05 -05:00
Justin M. Forbes ff84cb1dd7 Linux v5.6-11448-g7e63420847ae 2020-04-07 16:11:23 -05:00
Justin M. Forbes c242538da1 Add patches to fix nouveau issues preventing booting the installer or system 2020-04-07 08:38:28 -05:00
Peter Robinson 9d763c2454 arm: cleanup patch numbers/comments 2020-04-07 09:53:37 +01:00
Justin M. Forbes 0561e0bf0e Linux v5.6-11374-ga10c9c710f9e 2020-04-06 13:56:22 -05:00
Justin M. Forbes 2703d9b16c Linux v5.6-9431-gbef7b2a7be28 2020-04-03 14:30:51 -05:00
Peter Robinson 7a8f4907d4 staging: initial driver deletion cleanups 2020-04-03 14:25:12 +01:00
Peter Robinson 09ea32b6ae VIDEO_USBVISION has moved to staging for removal so disable it 2020-04-03 14:09:37 +01:00
Justin M. Forbes b54bb6ea90 Linux v5.6-7632-g919dce24701f 2020-04-02 17:12:14 -05:00
Hans de Goede cbf7430ee4 Add patch fixing Lenovo X1 7th and 8th gen not suspending (rhbz 1816621)
Add patch fixing Lenovo X1 8th gen speaker volume control (rhbz 1820196)
2020-04-02 19:54:06 +02:00
Hans de Goede e66f119db1 Add patch fixing Lenovo X1 7th and 8th gen not suspending (rhbz 1816621) 2020-04-02 15:33:42 +02:00
Justin M. Forbes 4c49e1a1c3 Fix typo in secureboot patch 2020-04-01 17:02:45 -05:00
Justin M. Forbes 163b626f29 Trim sources 2020-04-01 16:39:31 -05:00
Justin M. Forbes 661a43444c Linux v5.6-5611-g1a323ea5356e 2020-04-01 16:38:37 -05:00
Justin M. Forbes 9949db6070 Linux v5.6-2405-gcad18da0afb1 2020-03-31 16:16:04 -05:00
Justin M. Forbes cd64a637b8 Linux v5.6-461-g47acac8cae28 2020-03-30 16:53:29 -05:00
Jeremy Cline c2c38e2125 Linux v5.6 2020-03-30 10:25:08 -04:00
Jeremy Cline 0502703eff Linux v5.6-rc7-227-gf3e69428b5e2 2020-03-27 11:49:59 -04:00
Jeremy Cline 524662d6db Reenable debugging options. 2020-03-27 11:47:16 -04:00
Peter Robinson f294283e43 add patch to fix display on some tegra devices (TK1, TX1, Nano) 2020-03-26 10:51:42 +00:00
Peter Robinson 9304299c50 Update RPi4 USB/pci quriks patch to latest upstream 2020-03-25 12:26:55 +00:00
Peter Robinson 60ec2ecddf Linux v5.6-rc7 2020-03-23 10:32:09 +00:00
Peter Robinson bb111fd4b9 Disable debugging options. 2020-03-23 10:23:18 +00:00
Peter Robinson 9f5dcfdbf8 build IIO inx2xx adc for all arm arches 2020-03-22 10:10:47 +00:00
Peter Robinson 95a719bd15 add DRM_PANEL_XINGBANGDA_XBD599 options 2020-03-21 16:10:08 +00:00
Jeremy Cline 8323383234 Linux v5.6-rc6-115-g5ad0ec0b8652 2020-03-20 18:00:25 -04:00
Jeremy Cline aca1c25ebf Switch Secure Boot to lock down in integrity mode (rhbz 1815571) 2020-03-20 17:56:53 -04:00
Peter Robinson f6d71673bd Panel support for PinePhone 2020-03-19 00:54:08 +00:00
Jeremy Cline 60d1e85065 Linux v5.6-rc6-9-gac309e7744be 2020-03-18 14:55:22 -04:00
Jeremy Cline 4b101309ae Reenable debugging options. 2020-03-18 12:36:42 -04:00
Jeremy Cline cfa55d5cc5 Linux v5.6-rc6 2020-03-17 10:19:47 -04:00
Jeremy Cline b93d893c9d Disable debugging options. 2020-03-17 10:11:39 -04:00
Peter Robinson fd8dd0fc63 arm: minor updates 2020-03-16 11:56:08 +00:00
Jeremy Cline 4a8c5ac64d Linux v5.6-rc5-204-g0d81a3f29c0a 2020-03-13 12:59:06 -04:00
Jeremy Cline e5f6e556b2 Linux v5.6-rc5-53-g3cc6e2c599cd 2020-03-12 16:32:30 -04:00
Jeremy Cline d12da21c1c Reenable debugging options. 2020-03-12 16:16:39 -04:00
Jeremy Cline ffafed24c5 Make HDR_ARCH_LIST conditional on the build target
EL kernels don't target arm, just arm64, so if we're not building for
Fedora drop arm.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-03-12 11:45:10 -04:00
Jeremy Cline 2027ad30fb Add weak-modules packaging back for not-Fedora
The weak-module scripts are used in EL, but have been problematic for
Fedora, so only include them if the build target isn't Fedora.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-03-12 11:41:51 -04:00
Peter Robinson fc7e20c59e Update RPi4 USB patch to v5 2020-03-12 13:01:59 +00:00
Jeremy Cline 252298034c A series of eDP backlight fixes for i915 (rhbz 1811850) 2020-03-10 14:48:32 -04:00
Peter Robinson 81304e5de0 aarch64: imx8: minor updates for audio 2020-03-10 13:47:28 +00:00
Hans de Goede 33fb0f2757 Fix only 1 monitor working on DP-MST docking stations (rhbz 1809681)
Fix backtraces on various buggy BIOS-es (rhbz 1564895, 1808874)
Add /etc/modprobe.d/floppy-blacklist.conf to fix auto-loading of the
  legacy floppy driver (rhbz 1789155)
2020-03-09 17:18:30 +01:00
Peter Robinson b128fdd3ea fix Pinebook Pro patch 2020-03-09 12:04:50 +00:00
Peter Robinson cb6c3c29f7 Linux v5.6-rc5 2020-03-09 08:48:12 +00:00
Peter Robinson b5007e3d25 Disable debugging options. 2020-03-09 08:05:35 +00:00
Peter Robinson 7f70f668f8 Update RPi4 USB patch to latest, drop no longer used tegra patch 2020-03-08 13:31:15 +00:00
Peter Robinson b48a24fbaa arm: minor pinebook pro fix 2020-03-08 13:17:28 +00:00
Peter Robinson 9988696aae arm: enable some sounds options for imx8 on aarch64 2020-03-07 00:47:46 +00:00
Jeremy Cline 5650295ae7 Linux v5.6-rc4-135-gaeb542a1b5c5 2020-03-06 10:19:21 -05:00
Jeremy Cline d312adaf46 Reenable debugging options. 2020-03-06 10:19:02 -05:00
Peter Robinson d61f9f67f8 rpi4: add patch for newer HW rev fixes for emmc 2020-03-05 13:17:56 +00:00
Peter Robinson e36b70bfaa Update Pinebook Pro DT patch to v4 2020-03-05 13:12:55 +00:00
Peter Robinson 8b626b4c22 arm: Update pwm regulator patch to accepted V2 2020-03-04 10:48:37 +00:00
Jeremy Cline 9650c09f78 sync-check.sh is +x upstream now, drop the chmod 2020-03-02 16:02:29 -05:00
Jeremy Cline 4b5dd4c553 Back out the weak-modules scriptlets because they are still broken 2020-03-02 11:54:32 -05:00
Jeremy Cline 522a4ae7e9 Linux v5.6-rc4 2020-03-02 11:12:06 -05:00
Jeremy Cline d930d14b91 Disable debugging options. 2020-03-02 11:00:55 -05:00
Peter Robinson f4bbeb984c Update Pinebook Pro dts to upstream v3 2020-02-29 22:36:37 +00:00
Peter Robinson 2ee4eacb6a Update Pinebook Pro dts to upstream v2 2020-02-29 00:31:02 +00:00
Jeremy Cline 95c21a8db5 Linux v5.6-rc3-195-gc60c04021353 2020-02-28 13:11:14 -05:00
Peter Robinson 84e9ccb666 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/kernel 2020-02-28 11:43:53 +00:00
Peter Robinson 890c0f9b10 Initial support for the Pinebook Pro 2020-02-27 22:56:53 +00:00
Peter Robinson 126f6d6853 Some fixes for Tegra devices 2020-02-27 22:53:02 +00:00
Peter Robinson 70c4f19642 Fixes and enhancements to some AllWinner Pine64 devices
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2020-02-27 22:51:41 +00:00
Jeremy Cline b2c7ba5f3b Drop THUNDERBOLT_NET and move EFI_RCI2_TABLE to x86_64
THUNDERBOLT_NET was renamed to USB4_NET and EFI_RCI2_TABLE only applies
to x86_64.
2020-02-27 14:41:23 -05:00
Jeremy Cline 55159bd6fe Linux v5.6-rc3-71-gbfdc6d91a25f 2020-02-27 10:29:42 -05:00
Peter Robinson c09bbc5780 Some minor arm and Raspberry Pi fixes 2020-02-26 17:48:29 +00:00
Jeremy Cline 7eb97f8090 Linux v5.6-rc3-26-g63623fd44972 2020-02-25 13:55:03 -05:00
Jeremy Cline f2122e8d18 Reenable debugging options. 2020-02-25 13:33:28 -05:00
Jeremy Cline a41e34af27 Sync up the ARK specfile with Fedora's
Pull in a number of changes made to the ARK kernel specfile in order to
minimize the difference when they merge.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-02-25 10:35:59 -05:00
Jeremy Cline d975c2b782 Drop dead and invalid configuration options
This drops the following configurations which are either no longer valid
or were never valid:

CONFIG_GIGASET_DEBUG
CONFIG_CAPI_AVM
CONFIG_THUNDERBOLT
CONFIG_VIRTIO_BLK_SCSI
CONFIG_GIGASET_CAPI
CONFIG_I2C_PARPORT_LIGHT
CONFIG_EXFAT_FS
CONFIG_GIGASET_M101
CONFIG_HYSDN
CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256
CONFIG_HYSDN_CAPI
CONFIG_DRM_LVDS_ENCODER
CONFIG_GIGASET_M105
SND_CTL_VALIDATION
CONFIG_X86_PTDUMP
CONFIG_GIGASET_BASE

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-02-24 17:25:26 -05:00
Jeremy Cline a4c780cf4a Linux v5.6-rc3 2020-02-24 10:40:51 -05:00
Jeremy Cline beeed1edcc Disable debugging options. 2020-02-24 10:40:51 -05:00
Jeremy Cline 041b387bfe Include the release in the kernel COPYING file
Whenever upstream changes the COPYING file it leads to an RPM file
conflict because the name is set to, for example, 5.6.0 for the whole
release cycle, but multiple kernel packages need to be installed that
reference that same file. This rarely happens, but it's annoying and the
file is tiny so just have one per installed kernel.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-02-24 10:40:51 -05:00
Jeremy Cline 4f1980456e Linux v5.6-rc2-55-gca7e1fd1026c 2020-02-21 09:33:57 -05:00
Jeremy Cline ca89810af7 Fix up the patch numbering due to my incompetence 2020-02-19 16:29:59 -05:00
Jeremy Cline 7e6cadeaa1 Pick up a uapi fix for qemu (rhbz 1804330) 2020-02-19 16:28:43 -05:00
Jeremy Cline 5c9dca7e5c Linux v5.6-rc2-47-g4b205766d8fc 2020-02-19 16:24:55 -05:00
Jeremy Cline c1ca6835f0 Revert "Temporary fix for opensc changing token names"
This reverts commit 7d934c1969.

The pesign macro has been updated:

https://bodhi.fedoraproject.org/updates/FEDORA-2020-90605177a0
https://bodhi.fedoraproject.org/updates/FEDORA-2020-649c2fdc37
https://bodhi.fedoraproject.org/updates/FEDORA-2020-c2652fe561
https://bodhi.fedoraproject.org/updates/FEDORA-2020-d98015f19e
2020-02-18 17:52:44 -05:00
Jeremy Cline 88372c915e Linux v5.6-rc2-8-gb1da3acc781c
Also enable CONFIG_INET_ESPINTCP (rhbz 1804255)
2020-02-18 09:47:46 -05:00
Jeremy Cline 6b1f2ed695 Reenable debugging options. 2020-02-18 09:41:49 -05:00
Peter Robinson b30e1518d1 filters: arm: filter soundwire 2020-02-17 20:46:50 +00:00
Jeremy Cline 7d934c1969 Temporary fix for opensc changing token names
the pesign macro defines the token name, but allows us to override it.
Apparently the new name is "OpenSC Card (Fedora Signer)".
2020-02-17 13:30:14 -05:00
Jeremy Cline cbf985c660 Linux v5.6-rc2 2020-02-17 10:06:29 -05:00
Jeremy Cline b0d58c3ad9 Disable debugging options. 2020-02-17 10:03:51 -05:00
Peter Robinson cd678e1ea4 arm: last bits 2020-02-17 12:35:51 +00:00
Peter Robinson 3d403af59c arm: more minor updates 2020-02-17 08:39:03 +00:00
Peter Robinson 89a9e040aa arm updates 2020-02-16 17:53:43 +00:00
Jeremy Cline 80f15258ec Linux v5.6-rc1-44-gb19e8c684703 2020-02-14 08:40:20 -05:00
Jeremy Cline 74d363dd81 Disable DEBUG_INFO_BTF on armv7, it appears to be broken 2020-02-13 15:09:33 -05:00
Jeremy Cline caf831c1b1 Linux v5.6-rc1-23-g0bf999f9c5e7 2020-02-13 13:31:22 -05:00
Jeremy Cline 888c6eedbc Pull in fix so a number of ioctls aren't compat (rhbz 1801353)
Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-02-13 13:23:54 -05:00
Peter Robinson fab133265b Minor Arm updates 2020-02-13 11:21:16 +00:00
Paul Bolle a70753d815 configs: clean up a few trivial editing mistakes
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2020-02-12 10:04:36 -05:00
Peter Robinson f07ece6d8e bcm2835: irqchips fix for early boot 2020-02-12 12:56:21 +00:00
Jeremy Cline 50e397c274 Linux v5.6-rc1-5-g0a679e13ea30 2020-02-11 15:54:32 -05:00
Jeremy Cline 9ca95f2d8d Reenable debugging options. 2020-02-11 15:53:28 -05:00
Peter Robinson 301b462673 disable rockchips PCIE (again) because it's disabled for a reason and documented in bug 1704945 2020-02-11 11:08:29 +00:00
Peter Robinson b15424c46d X86_INTEL_MPX removed u/s 2020-02-11 09:26:38 +00:00
Justin M. Forbes d3f1cb9023 Disable CONFIG_SFI 2020-02-10 17:11:25 -06:00
Jeremy Cline 7931e3d890 Remove sysrq support to lift lockdown (rhbz 1800859) 2020-02-10 12:55:54 -05:00
Peter Robinson 8e0f7e24c1 Minor arm updates 2020-02-10 16:41:41 +00:00
Jeremy Cline 6f54bfb25c Linux v5.6-rc1 2020-02-10 10:52:58 -05:00
Jeremy Cline ea287e522b Disable debugging options. 2020-02-10 10:26:15 -05:00
Peter Robinson fd248cd7f5 enable iProc rng200 on arm 2020-02-10 07:36:43 +00:00
Peter Robinson fa6c2bfdb0 Add a tegra serial patch 2020-02-07 19:40:59 +00:00
Jeremy Cline dde5675700 Linux v5.5-9824-g90568ecf5615
This also enables:
  - DM_CLONE as a module (rhbz 1799060)
  - PCI Express devices on RockChip SoCs (rhbz 1792564)
2020-02-07 11:53:17 -05:00
Jeremy Cline 2d1a677e51 Linux v5.5-9737-g4c46bef2e96a 2020-02-06 09:20:10 -05:00
Jeremy Cline 2be352ba91 Linux v5.5-9402-g6992ca0dd017 2020-02-05 09:39:51 -05:00
Jeremy Cline 3e71a5ae30 A quick fix for the armv7hl build failure.
The build is failing because of an undefined symbol. This needs further
investigation since I have no idea why this worked before, but this will
at least let us produce a Rawhide kernel that boots.
2020-02-04 17:49:56 -05:00
Jeremy Cline 8ced7a7bf5 Temporarily disable STACKPROTECTOR_STRONG for x86 (rhbz 1796780)
Kernels built with gcc 10.0.1-0.7.fc32 and STACKPROTECTOR_STRONG panic
on boot due to a corrupted stack.
2020-02-04 13:51:30 -05:00
Jeremy Cline 2877cca02d Disable CONFIG_DRM_DP_CEC temporarily
This setting introduces a dependency in drm_kms_helpers.ko on cec.ko but
cec.ko is in the media subsystem and is filtered into kernel-modules,
but drm_kms_helpers.ko is in kernel-core. There's not an easy way to
pick up cec.ko for kernel-core to satisfy the module dependency in the
current filtering scripts so I'm turning this off until the script can
be adjusted to make this easier.

When flipping this back on, CONFIG_CEC_CORE also needs to be turned on.
2020-02-04 13:51:30 -05:00
Peter Robinson a994aea5f1 fix for firmware recovery on certain RPi4 HW revs 2020-02-04 12:26:55 +00:00
Jeremy Cline 2bdd226657 Linux v5.5-8686-g14cd0bd04907 2020-02-03 11:38:06 -05:00
Peter Robinson 88795a3a9b remove duplicate ARCH_RANDOM 2020-02-03 16:00:53 +00:00
Peter Robinson 9b42cfa024 Add support for all bcm2711 GPIOs 2020-02-02 18:48:28 +00:00
Peter Robinson 35a68a57f7 disble BT_CMTP (CAPI Message Transport Protocol), we disable ISDN 2020-01-31 11:04:00 +00:00
Jeremy Cline 731323ae91 Drop the last alsa 5.6 patch which applies but breaks the build 2020-01-30 03:21:30 -05:00
Jeremy Cline f15fea450f Linux v5.5-3996-gb3a608222336 2020-01-29 12:22:59 -05:00
Jeremy Cline 3022df9b34 Reenable debugging options. 2020-01-29 12:22:59 -05:00
Peter Robinson 4f983e9658 ima: enable system extra cert to enable adding an extra cert without needing custom kernels 2020-01-29 13:15:29 +00:00
Justin M. Forbes 92ebc5dd37 It wasn't ready to go away 2020-01-27 11:50:52 -06:00
Justin M. Forbes 190fb38325 gcc 10 fixes, changelog trim 2020-01-27 11:36:29 -06:00
Justin M. Forbes db9309152e Linux v5.5 2020-01-27 08:03:45 -06:00
Paul Bolle 414db95e44 Kconfig symbol cleanup for v5.5-rc1
There are 14 Kconfig symbols referenced in the files used for
configuration generation and in the shipped .config files that were
dropped in upstream v5.5-rc1. The references to these symbols can be
safely removed.

These symbols are:
    CONFIG_CALGARY_IOMMU
    CONFIG_CRC_PMIC_OPREGION
    CONFIG_CRYPTO_BLKCIPHER
    CONFIG_HEADERS_CHECK
    CONFIG_HEADER_TEST
    CONFIG_INFINIBAND_CXGB3
    CONFIG_INPUT_KXTJ9_POLLED_MODE
    CONFIG_KERNEL_HEADER_TEST
    CONFIG_PCIEASPM_DEBUG
    CONFIG_PWM_TIPWMSS
    CONFIG_QCOM_SDM845_LLCC
    CONFIG_REFCOUNT_FULL
    CONFIG_SIMPLE_GPIO
    CONFIG_SND_HDA_INTEL_DETECT_DMIC

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2020-01-25 10:27:15 +01:00
Paul Bolle b3a3f703e4 configs: remove CONFIG_CROSS_COMPILE_COMPAT_VDSO
The Kconfig symbol CROSS_COMPILE_COMPAT_VDSO was dropped in v5.4-rc3,
see upstream commit 50a2610adec9 ("lib: vdso: Remove
CROSS_COMPILE_COMPAT_VDSO"). So drop it from the configuration
generation system too.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2020-01-25 10:22:10 +01:00
Paul Bolle 7908a81abb configs: remove CONFIG_MTD_M25P80
When commit ed22f0605d ("arm64: enable spi flash memory on aarch64
too") added CONFIG_MTD_M25P80 to the configuration generation system the
corresponding Kconfig symbol had just been dropped upstream. So drop it
from that system too.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2020-01-25 10:20:28 +01:00
Justin M. Forbes debde9bd95 Add config option 2020-01-24 17:13:54 -06:00
Justin M. Forbes 8b4a502c67 Linux v5.5-rc7-62-g6381b442836e 2020-01-24 16:54:53 -06:00
Justin M. Forbes 4a3ff523d4 Linux v5.5-rc7-16-g131701c697e8 2020-01-23 14:31:44 -06:00
Peter Robinson b5c9f2d0fe arm: qcom: disable some 32 bit HW in aarch64 2020-01-21 19:37:40 +00:00
Justin M. Forbes 75f4244234 Linux v5.5-rc7 2020-01-20 10:43:19 -06:00
Justin M. Forbes e489f7cb79 Disable debugging options. 2020-01-20 08:57:57 -06:00
Peter Robinson 6319405194 actually add tegra TX2 usb patch 2020-01-20 14:22:04 +00:00
Peter Robinson 9f1f509a10 rebase patch for Tegra TX2 usb fix 2020-01-20 13:54:42 +00:00
Justin M. Forbes 437cc7cacc Linux v5.5-rc6-143-gab7541c3addd 2020-01-17 12:25:34 -06:00
Justin M. Forbes 13f41e65c7 Linux v5.5-rc6-45-g51d69817519f 2020-01-15 14:18:18 -06:00
Justin M. Forbes b491dd4863 Linux vLinux v5.5-rc6-27-g452424cdcbca 2020-01-14 15:06:48 -06:00
Prarit Bhargava 8c274f1989 kernel.spec: Remove kernel-keys directory on rpm erase
An empty /usr/share/doc/kernel-keys/VR directory is left after executing
an 'rpm -e kernel-core-VR'.  Simplify the code by removing the if clauses
and only list the kernel-keys directory.

Remove the directory when the rpm is erased.

Signed-off-by: Bruno E. O. Meneguele <bmeneg@redhat.com>
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
2020-01-14 13:09:53 -05:00
Justin M. Forbes a443bcbf91 Add Documentation back to kernel-devel as it has Kconfig now (rhbz 1789641) 2020-01-13 15:40:25 -06:00
Justin M. Forbes a52dd9cf80 Linux v5.5-rc6 2020-01-13 12:26:11 -06:00
Justin M. Forbes 8d287956c5 Disable debugging options. 2020-01-13 11:02:44 -06:00
Jeremy Cline 59eca17780 Pull in the s390 auto-lockdown patch
RHEL had a patch to automatically lock down s390 which never made its
way up to Fedora.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2020-01-13 10:05:40 -05:00
Justin M. Forbes 7cc57104b0 Linux v5.5-rc5-215-g4e4cd21c64da 2020-01-10 14:44:56 -06:00
Justin M. Forbes ec5e1b2e89 Linux v5.5-rc5-134-ge69ec487b2c7 2020-01-09 14:17:52 -06:00
Justin M. Forbes 490fa4af43 Enable EROFS as it has been promoted from staging 2020-01-09 11:15:35 -06:00
Justin M. Forbes 7b24f02e10 Linux v5.5-rc5-41-gb07f636fca1c 2020-01-08 16:33:55 -06:00
Peter Robinson f4c04a343a enable CRYPTO_DEV_ATMEL_SHA204A driver, it's used in a number of devices across a few architectures 2020-01-08 05:53:59 +00:00
Peter Robinson 131070b110 enable CRYPTO_DEV_ATMEL_ECC driver, it's used in a number of devices across a few architectures 2020-01-08 05:45:46 +00:00
Peter Robinson 7530f0b047 Update to latest upstream bcm2711 thermal driver series 2020-01-08 02:52:40 +00:00
Hans de Goede 75fed581f6 Make the MFD Intel LPSS driver builtin, some devices require this to be
available early during boot (rhbz#1787997)
2020-01-06 17:51:19 +01:00
Justin M. Forbes 205a863d4d Linux v5.5-rc5 2020-01-06 08:48:36 -06:00
Justin M. Forbes 6cf9ce3b70 Disable debugging options. 2020-01-06 08:43:34 -06:00
Justin M. Forbes 5c941fa255 Linux v5.5-rc4-116-gbed723519a72 2020-01-03 14:15:13 -06:00
Justin M. Forbes deae1d9508 Linux v5.5-rc4-66-g738d2902773e 2020-01-02 08:23:29 -06:00
Peter Robinson 4ebddebcae Linux v5.5-rc4 2019-12-30 06:13:07 +00:00
Peter Robinson 70e3b073f8 Disable debugging options. 2019-12-30 06:08:47 +00:00
Justin M. Forbes 869f809aaa Linux v5.5-rc3 2019-12-23 09:13:46 -06:00
Justin M. Forbes 6a4e911d7a Disable debugging options. 2019-12-23 09:07:02 -06:00
Justin M. Forbes 6707395cf9 Linux v5.5-rc2-195-g4a94c4332334 2019-12-19 09:39:38 -06:00
Justin M. Forbes 34e72e260d Linux v5.5-rc2-157-g2187f215ebaa 2019-12-18 10:32:46 -06:00
Peter Robinson 455a02792d add patch to enable v3d on aarch64 2019-12-18 09:36:10 +00:00
Justin M. Forbes 33fbdfc425 Linux v5.5-rc2-56-gea200dec5128 2019-12-17 11:00:23 -06:00
Peter Robinson 399d74449f arm: update brcmstm pcie patch to latest 2019-12-17 10:58:49 +00:00
Jaroslav Kysela 418b602465 Enable ASoC SOF driver for Intel DSP 2019-12-16 14:35:43 -05:00
Justin M. Forbes 73c512963a Linux v5.5-rc2 2019-12-16 09:04:07 -06:00
Justin M. Forbes ca24224de1 Disable debugging options. 2019-12-16 07:11:52 -06:00
Peter Robinson 79730560f8 arm: fix armv7 breakage due to BCM2711 support 2019-12-15 02:57:24 +00:00
Peter Robinson c3d2e0b2c2 arm: enable brcm v3d driver 2019-12-14 02:22:39 +00:00
Peter Robinson 8ddc9d3afe arm device enablement patches 2019-12-13 06:22:02 +00:00
Justin M. Forbes 17322a1f6a Linux v5.5-rc1-27-gae4b064e2a61 2019-12-12 12:33:53 -06:00
Peter Robinson e479e45f10 arm: a few more updates 2019-12-11 08:28:14 +00:00
Peter Robinson 2352fc874d 5.5 Updates for ARMv7/aarch64, Enable newer TI ARMv7 platforms 2019-12-11 02:35:43 +00:00
Justin M. Forbes 3cdb1db179 Convert pr_warning to pr_warn 2019-12-10 11:42:32 -06:00
Justin M. Forbes ca5cc27a35 Linux v5.5-rc1-12-g6794862a16ef 2019-12-10 10:54:47 -06:00
Laura Abbott f225911f0c Revert "Goodbye CONFIG_AX25"
This reverts commit e3676c312d.

Turns out I cannot read and this is not the correct option.
2019-12-10 09:16:42 -05:00
Laura Abbott e3676c312d Goodbye CONFIG_AX25
Upstream is looking to turn this off
https://patchwork.ozlabs.org/patch/1206351/
2019-12-09 12:18:32 -05:00
Justin M. Forbes a508a8e468 Linux v5.5-rc1 2019-12-09 10:56:58 -06:00
Justin M. Forbes 492eb2410f Disable debugging options. 2019-12-09 09:13:20 -06:00
Justin M. Forbes 4bdf8f6ab4 Linux v5.4-12941-gb0d4beaa5a4b 2019-12-06 12:36:54 -06:00
Justin M. Forbes d8ba696ae9 Re-enable ppc64le 2019-12-05 12:18:41 -06:00
Justin M. Forbes 3c594e0587 Linux v5.4-11747-g2f13437b8917 2019-12-05 10:47:01 -06:00
Peter Robinson fa7d07278e arm: minor config updates 2019-12-05 11:23:48 +00:00
Justin M. Forbes 7461345390 Linux v5.4-11681-g63de37476ebd 2019-12-04 09:18:53 -06:00
Peter Robinson 6cfdb6c860 arm: we need EHCI to load before ohci/uhci so put it back to built in on arm 2019-12-04 09:26:26 +00:00
Laura Abbott ff3219a986 Bring back perf/tools etc. but off 2019-12-03 13:55:19 -05:00
Laura Abbott e7beb74a39 Stop redundant pae 2019-12-03 13:55:19 -05:00
Justin M. Forbes 7e8e0b495b Linux v5.4-11180-g76bb8b05960c 2019-12-03 12:41:35 -06:00
Laura Abbott 276fd64595 Clean up and parallelize mod-sign.sh
Thanks to Denys Vlasenko for this work
2019-12-02 14:34:55 -05:00
Laura Abbott aa92e83bbb Delete a few more scripts
Most of these don't seem to have been used any time recently so just
delete.
2019-12-02 14:20:39 -05:00
Laura Abbott 692398cecf Remove check_configs awk script
This has been folded into other config generation scripts
2019-12-02 13:59:05 -05:00
Laura Abbott 9f6ee1011c Remove some dead files
These have either not been heavily used or not updated in a very
long time. Just remove them. It's cheap to bring these back if
someone actually wants them.
2019-12-02 13:59:05 -05:00
Justin M. Forbes abd6b9505d Linux v5.4-10271-g596cf45cbf6e 2019-12-02 12:50:34 -06:00
Justin M. Forbes fa3a43c8e6 Linux v5.4-5280-g89d57dddd7d3 2019-11-27 13:03:10 -06:00
Justin M. Forbes 17ffa26d54 Linux v5.4-3619-gbe2eca94d144 2019-11-26 12:44:01 -06:00
Laura Abbott 7009ddf5df Clean up stray *.h.s files
The various header testing options (e.g. CONFIG_KERNEL_HEADER_TEST)
leave a lot of stray *.s files around. Make sure these get cleaned
up so they don't end up packaged.
2019-11-25 17:23:43 -05:00
Laura Abbott 786bb94902 bump and build to pick up fixes 2019-11-25 15:01:47 -05:00
Laura Abbott 0b30cc5df5 Remove extra files from being packaged
This commit was missed
2019-11-25 14:57:11 -05:00
Laura Abbott c89ab67609 Fixup missing keys
These were missing from the sync up. Also fix a duplicate file.
2019-11-25 13:53:03 -05:00
Justin M. Forbes be6041e7ff Fix a number of CVEs 2019-11-25 10:19:55 -06:00
Jeremy Cline facf80d5e3 Drop the secureboot key sources for s390 and ppc
This caused a duplicate definition of Source15 and the secureboot key
files are not currently in the tree.
2019-11-25 10:13:23 -05:00
Jeremy Cline f6b57a59dc Linux v5.4 2019-11-25 09:31:25 -05:00
Jeremy Cline 55a801695a Renumber the second definition of Source15 2019-11-25 09:31:25 -05:00
Peter Robinson d6de88bcac Enable drivers for a number of the RPi HATs, minor config tidy ups 2019-11-24 16:57:13 +00:00
Laura Abbott 97bb52b5db bump and build to test new configs 2019-11-22 11:01:28 -05:00
Laura Abbott 7340224cd7 Enable CONFIG_TLS_DEVICE
We could potentially offload TLS. Enable this option.
2019-11-22 10:59:28 -05:00
Laura Abbott 3792ab811f Enable CONFIG_LIVEPATCH
No Fedora doesn't support delivering livepatches to the kernel but it's
useful to validate the infrastructure around livepatch.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-11-22 10:59:28 -05:00
Laura Abbott 190ce77780 Enable CONFIG_PARAVIRT_SPINLOCKS
This seems like an option we should have had on a while a go
2019-11-22 10:59:28 -05:00
Laura Abbott 95f65f02fb Enable CONFIG_X86_5LEVEL
Most Fedora users will never actually need it but
it should be stable enough at this point.
2019-11-22 10:59:28 -05:00
Laura Abbott 0fc2c9a1e6 enable CONFIG_EDAC_BLUEFIELD
Used on some ARM platforms
2019-11-22 10:59:28 -05:00
Laura Abbott 778c57c3df Delete CONFIG_AMD_XGBE at the top level
This is architecture specific and doesn't need to be turned on
2019-11-22 10:59:27 -05:00
Laura Abbott d5de293668 enable CONFIG_RDMA_SIW
Useful for verification of RDMA
2019-11-22 10:59:27 -05:00
Laura Abbott fd12e13e28 enable CONFIG_NETDEVSIM
useful for networking developers
2019-11-22 10:59:27 -05:00
Laura Abbott 7b45617ef7 Enable CONFIG_IONIC
It's an ethernet driver.
2019-11-22 10:59:27 -05:00
Laura Abbott e601d48b50 Enable some header building options
This installs local headers and also runs various checks. Some
of this isn't completely relevant with the split out headers
but overall it's the right approach for validation.
2019-11-22 10:59:27 -05:00
Laura Abbott 0de6709e23 Enable CONFIG_CPU_IDLE_GOV_HALTPOLL 2019-11-22 10:59:27 -05:00
Jeremy Cline ac3be8bad1 Linux v5.4-rc8-15-g81429eb8d9ca 2019-11-22 10:00:29 -05:00
Jeremy Cline 0cb0921c33 Reenable debugging options. 2019-11-22 10:00:11 -05:00
Justin M. Forbes a1f67e60ef Fix a bunch of CVEs 2019-11-21 14:25:24 -06:00
Laura Abbott 222e96a09b bump and build to check the pesign 2019-11-20 12:55:02 -05:00
Laura Abbott 3d93b18d26 Drop the Fedora checks around pesign
Now that we are packaging the certificates, there's no reason
to have the extra check. pesign will take care of doing the
right thing behind the scenes
2019-11-20 12:46:22 -05:00
Jeremy Cline eb5fbf2f84 Linux v5.4-rc8 2019-11-18 10:12:45 -05:00
Jeremy Cline 45da71ea64 Disable debugging options. 2019-11-18 10:08:20 -05:00
Peter Robinson 2a05296f13 arm: minor usb config tweaks 2019-11-17 22:16:11 +00:00
Peter Robinson 6a1ea74a45 enable the STMPE touchscreen stack to a wider audience 2019-11-16 01:37:42 +00:00
Jeremy Cline 382121b4a1 Linux v5.4-rc7-68-g96b95eff4a59 2019-11-15 12:08:26 -05:00
Laura Abbott 013d4e378f bump and build 2019-11-14 13:22:13 -05:00
Laura Abbott e2cf7bd7e5 Make dwarves Fedora only
This isn't quite ready for other buildroots yet, just mark it as Fedora
only.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-11-14 12:49:29 -05:00
Laura Abbott bd2450b71d Be smarter about getting rid of debuginfo
We've been doing a workaround of using a uuid for the build-id for
userspace binaries to let us get parallel debuginfo (the trick we
use for the kernel doesn't extend to userspace binaries). This
works but isn't ideal for reproducibility. Given we don't actually
care about this debuginfo, just remove it from the buildroot completely.
2019-11-13 10:01:45 -05:00
Laura Abbott ac4c8ecc59 whitespace
Fix up some whitespace
2019-11-13 10:01:45 -05:00
Laura Abbott b8cf3e7d64 Add kpatch flags
Now that we have the rest of the flags hooked up, go ahead
and build with the kpatch flags. This should have a minimal
effect at runtime.
2019-11-13 10:01:45 -05:00
Laura Abbott d6b81a036f Don't build kernel meta package if we are only building a sub-package
Borrowed from downstream, if we're not doing an arch build and
only building a sub-package don't bother building the kernel
meta package.
2019-11-13 10:01:45 -05:00
Laura Abbott 897c1bc38d Increase the scope of the nobuildarches
We don't need to do some config work if we're not doing
an arch build.
2019-11-13 10:01:45 -05:00
Laura Abbott dba7671694 Better xz compression
Borrowed from downstream, we can be a little bit smarter
on how we compress modules.
2019-11-13 10:01:45 -05:00
Laura Abbott d0a82f1e0f Sync up on adding a bunch of files 2019-11-13 10:01:45 -05:00
Laura Abbott c96dd52bfc Drop remove-binary-diff.pl
This was a workaround for some bad diffs that came in. Upstream
has mostly stopped doing that so we can drop this workaround.
2019-11-13 10:01:44 -05:00
Laura Abbott 4019404bbc Drop Fedora checks around pathfix
The el7 buildroot now has pathfix so we can drop these checks.
2019-11-13 10:01:44 -05:00
Jeremy Cline 6f0f15962e Linux v5.4-rc7-49-g0e3f1ad80fc8 2019-11-13 09:40:06 -05:00
Jeremy Cline 9eacdbe062 Reenable debugging options. 2019-11-13 09:30:03 -05:00
Jeremy Cline 0bc3955b5d Revert "Enable VBOXSF_FS for x86"
This reverts commit 2147ca9397.

Upstream removed the driver, hopefully it'll make it into 5.5.
2019-11-13 09:27:56 -05:00
Laura Abbott 4df513d076 Merge #39 `Fix existing CI test and resolve syntax warnings` 2019-11-11 21:01:25 +00:00
David Ward d753bc001a Resolve syntax warnings in SPEC file
The "regular" definition of the with_kabichk macro does not need to
be commented out while it is temporarily (re-)defined as 0 on the
next line. This avoids a "Macro expanded in comment" warning.

Remove comments on the same line as %endif directives. Instead, make
a couple of these conditionals easier to read (and consistent with
the surrounding ones) by deleting a few blank lines.
2019-11-11 14:06:01 -05:00
David Ward bee04eadf8 Fix existing CI test for memfd_create()
The test was failing (after hanging for several hours) because of a
hard-coded assumption about which file descriptor would be returned
by memfd_create(). The actual file descriptor gets printed by the
test program though, so read this and use it instead. (Adjust the
test program so that this is not printed until the file is ready.)

Resolve compiler warnings about implicit function declarations, by
using the #include statements listed in the kernel.org man-pages.
2019-11-11 14:06:01 -05:00
David Ward a86513b40e Revert "Trim EXTRAVERSION in the Makefile on CI builds"
This reverts commit 89c7d2ae30, which
was causing kernel modules to be installed in a location other than
/lib/modules/$(uname -r), preventing modprobe from locating them.

CI builds no longer contain the Pagure UID in the package release:
https://github.com/CentOS-PaaS-SIG/upstream-fedora-pipeline/pull/199
2019-11-11 14:06:01 -05:00
Jeremy Cline 2147ca9397 Enable VBOXSF_FS for x86
This is a staging driver that implements the Linux-guest side of folder
sharing.
2019-11-11 09:39:05 -05:00
Jeremy Cline 7d13cc32f6 Linux v5.4-rc7 2019-11-11 09:31:28 -05:00
Jeremy Cline 8d1139bb92 Disable debugging options. 2019-11-11 09:23:32 -05:00
Jeremy Cline c80c8a3afd Linux v5.4-rc6-29-g847120f859cc 2019-11-08 10:40:41 -05:00
Jeremy Cline 6b0750a9a3 Linux v5.4-rc6-26-g4dd58158254c 2019-11-07 11:25:34 -05:00
Jeremy Cline c0ae175a90 Enable the Apple SPI driver for keyboard/touchpad (rhbz 1769465)
This enables support for Macbook8,1 and later, along with the
MacbookPro13,* and MacbookPro14,*.
2019-11-07 11:21:52 -05:00
Jeremy Cline cf93fd5615 Linux v5.4-rc6-8-g26bc67213424 2019-11-05 17:02:20 -05:00
Jeremy Cline dc01cc3a4c Reenable debugging options. 2019-11-05 16:42:37 -05:00
Peter Robinson 11ba03862a Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/kernel 2019-11-04 17:57:29 +00:00
Peter Robinson 7f0a66bf5c enable iio:MAG3110 on arm 2019-11-04 17:48:28 +00:00
Jeremy Cline 806e674c8d Update NR_CPUS for aarch64, powerpc, and s390x
This aligns the setting with upstream defconfigs along with the ARK
configuration.
2019-11-04 11:52:53 -05:00
Jeremy Cline 5fe065b6c0 Linux v5.4-rc6 2019-11-04 11:18:33 -05:00
Jeremy Cline 32fe916e9b Disable debugging options. 2019-11-04 11:11:31 -05:00
Laura Abbott 53c45aa3f0 Merge #38 `Disable Sound Open Firmware support on Intel platforms (rhbz 1750194)` 2019-11-04 15:08:02 +00:00
Peter Robinson 24ba37567e arm: minor config update 2019-11-03 13:34:21 +00:00
Peter Robinson 721a1be308 fix usb on JetsonTX2 2019-11-02 17:43:30 +00:00
Laura Abbott 84e5b0ab61 bump and build again 2019-11-01 16:19:27 -04:00
Laura Abbott 15d025ac3c Align on kernel-devel
We don't actually need to be packaging most of these files so
switch to a smaller subset.
2019-11-01 16:18:24 -04:00
Laura Abbott b8d58e2908 Bring back ApplyPatch and ApplyOptionalPatch macros
These are not used directly in Fedora but for easy of syncing
let's keep them around.
2019-11-01 16:18:24 -04:00
Laura Abbott 22f43b4c88 Few more build requires 2019-11-01 16:18:24 -04:00
Laura Abbott 581ddc4ac3 Whitespace and other minor cleanups 2019-11-01 16:18:24 -04:00
Laura Abbott 04b7b3c59b Add zfcpdump package
This is a package for dumping on s390x systems. We don't build
this for Fedora but bring it in for now.
2019-11-01 16:18:24 -04:00
Laura Abbott 77b485a83b Enable CONFIG_DEBUG_INFO_BTF 2019-11-01 09:16:20 -04:00
Laura Abbott 9b480548fc bump and build to fix broken weak-updates 2019-10-31 15:31:10 -04:00
Laura Abbott 8d6017d4ce Revert "Add some weak-updates"
This reverts commit 8044841427.

There's an issue with the weak-updates script that needs to
be fixed. Revert this for now.
2019-10-31 15:30:38 -04:00
Jeremy Cline 841574462c Linux v5.4-rc5-49-ge472c64aa4fa 2019-10-31 10:52:27 -04:00
Jeremy Cline 46fd293722 Reenable debugging options. 2019-10-31 10:37:27 -04:00
Laura Abbott d40f98744c Merge #30 `devel: Don't run hardlink if rpm-ostree is in use` 2019-10-30 20:34:01 +00:00
Laura Abbott 5919dc6ef7 bump and build to make sure I haven't broken anything 2019-10-30 10:21:12 -04:00
David Ward 52f2dc92ab Disable Sound Open Firmware support on Intel platforms (rhbz 1750194) 2019-10-29 17:49:34 -04:00
Laura Abbott 39eefe69c9 Switch up compression to be faster 2019-10-29 15:45:08 -04:00
Laura Abbott 5a7f6d996d Update a comment 2019-10-29 15:28:51 -04:00
Laura Abbott 8be82a0f1b Don't put %{?_smp_mflags} in the common make definition
Some of the build targets may be racy and need to be fixed up
to build correctly. Until that happens, put %{?_smp_mflags} on
individual targets.
2019-10-29 15:28:51 -04:00
Laura Abbott 862edd6d96 ppc64le cflags uses -O3 2019-10-29 15:28:51 -04:00
Laura Abbott da6f972e3c Remove redundant macros for ppc64le
We only have ppc64le
2019-10-29 15:28:51 -04:00
Laura Abbott 10b3a150cf Move the with_vanilla up with the rest of the macros 2019-10-29 15:28:51 -04:00
Laura Abbott 1cf4120f6f Fix debuginfo
From the original RHEL patch:

    This extra '+' causes problems with the regular expression used with
    /usr/lib/rpm/find-debuginfo.sh script from rpm-build, which is used to filter
    the debug files to the corresponding debuginfo packages. The '+' character
    in the release is interpreted as a regular expression operator and the
    debuginfo filter fails, with the build failing on an empty debuginfo file list.

    Which means we need to escape the extra '+' character if we want debuginfo
    filter to work. I tried to use '\' to escape, but rpm "eats" that, in testing
    '[+]' worked so is what I'm using to fix/workaround this problem. When RHEL 8
    drops the the extra +<number> in the future, we can remove this fix/workaround.

This problem is likely to come up so just add it in now.
2019-10-29 15:28:51 -04:00
Laura Abbott c0312b2e60 Make turning off configchecks an official ---with option
Fedora does some validation on config options to catch
errors. There may be cases when we want to turn off that
checking because it doesn't actually matter. Make this a
full --with option to make it easier to turn off.
2019-10-29 15:28:51 -04:00
Laura Abbott d9864a2973 Switch up some Fedora options
Downstream has different requirements than Fedora in some places.
Add some macros to support both cases.
2019-10-29 15:28:51 -04:00
Laura Abbott 5648544aab Add mod-internal package
Some of the downstream users want to package some modules for
internal use only. While Fedora isn't internal, it's still
useful to have packaging aligned. Add a few modules to this
package.
2019-10-29 15:28:51 -04:00
Laura Abbott 11fa12d6aa Bring in packaging support for kABI (no we are not getting an ABI)
Other products downstream of Fedora offer kernel ABI guarantees.
Fedora doesn't offer this and have no plans to do so but it's
useful to at least have the packaging in our tree. Add support.
2019-10-29 15:28:51 -04:00
Laura Abbott dd53be813b Use the dist tag for the hard link instead of a wider fc* tag
More generic for other dist-tags
2019-10-29 15:28:51 -04:00
Laura Abbott 5a0c912794 Add some expanded UEFI support
Fedora currently only supports x86_64 secureboot signing.
There's ongoing work to enable other arches though. For now,
just bring in the packaging support with some of it commented
out.
2019-10-29 15:28:51 -04:00
Laura Abbott 8044841427 Add some weak-updates
Fedora doesn't use this at the moment but we might want it later.
Add support for weak module updates. This should have no affect.
2019-10-29 15:28:51 -04:00
Laura Abbott c68fd73909 Add support for building ipaclones
While Fedora doesn't officially support kpatch, there's work
being done to enable kpatch elsewhere. Add the packaging work
but don't actually build anything.
2019-10-29 15:28:51 -04:00
Laura Abbott 1d23fdad0f Package selftests
It can be useful to have some of the selftests built for future
testing. Package them up but don't build quite yet.
2019-10-29 15:28:51 -04:00
Jeremy Cline f16f4a5c11 Linux v5.4-rc5 2019-10-28 15:10:20 +00:00
Jeremy Cline 262dbe5b8d Disable debugging options. 2019-10-28 15:10:20 +00:00
Jeremy Cline 691a6a34bd Enable FS_VERITY (rhbz 1765933)
Signed-off-by: Jeremy Cline <jcline@redhat.com>
2019-10-28 15:10:20 +00:00
Jeremy Cline 849afaa577 Linux v5.4-rc4-85-gf116b96685a0 2019-10-24 13:24:08 +00:00
Jeremy Cline 3d5297b163 Linux v5.4-rc4-37-g13b86bc4cd64 2019-10-23 13:40:57 +00:00
Jeremy Cline 82c9667fb9 Linux v5.4-rc4-18-g3b7c59a1950c 2019-10-22 14:03:39 +00:00
Jeremy Cline 3d03e88428 Reenable debugging options. 2019-10-22 13:50:07 +00:00
Laura Abbott c08fbbf9f7 Update cross_headers commands
The kernel currently builds the headers in a separate repository but
rebuilds may want to build it from the same srpm. Make sure the
cross command actually works.
2019-10-22 08:43:38 -04:00
Laura Abbott be43f9d094 Do a more complete she-bang mangling
mangle a few more files that other buildroots found
2019-10-22 08:43:38 -04:00
Laura Abbott 204759e479 Remove dead CheckConfigs 2019-10-22 08:43:38 -04:00
Laura Abbott 43d94d3476 Tweak some build requires
The gcc-plugin-devel was a noble experiment that doesn't seem to be
something we'll shipp anytime soon. Remove it.

Building the headers now requires rsync
2019-10-22 08:43:38 -04:00
Laura Abbott ef71879e7a Bring back kernel-doc
Like a zombie, this is back from the grave. At least bring back the
macros for building.
2019-10-22 08:43:38 -04:00
Laura Abbott 48704bf821 Clean up some macros
- we sign modules on all arches now
- we zip modules on all arches
- tweak the comment
2019-10-22 08:43:37 -04:00
Laura Abbott 483dcef3b1 Consolodate cflags
The build flags for building are used inconsistently. Clean things up
to make it easier to understand.
2019-10-22 08:43:37 -04:00
Laura Abbott 9a4aee9f8d Add support for KCFLAGS
In preparation for some upcoming work, add support for passing KCFLAGS
via a macro that's currently undefined.
2019-10-22 08:43:37 -04:00
Laura Abbott a17ef5964d Add support for building with gcov
gcov is useful for coverage testing. Add support for building the kernel.
2019-10-22 08:43:37 -04:00
Laura Abbott f691fd9d87 Add DoModules to kernel build
There's upcoming work to build kernel variants without modules. Add
the infrastructure to support this.
2019-10-22 08:43:37 -04:00
Peter Robinson 5769e27048 aarch64: drop unrelated comment for a long upstreamed (Feb 2016) patch 2019-10-21 22:51:56 +01:00
Peter Robinson 2331b6cea5 aarch64: Jetson TX1: drop old patch no longer needed 2019-10-21 22:47:11 +01:00
Jeremy Cline 5ff50d0b22 Linux v5.4-rc4 2019-10-21 14:00:52 +00:00
Jeremy Cline addab92228 Disable debugging options. 2019-10-21 13:52:30 +00:00
Jeremy Cline d82fe1b5f1 Linux v5.4-rc3-99-g0e2adab6cf28 2019-10-18 14:23:40 +00:00
Jeremy Cline 743cfa0e88 Linux v5.4-rc3-18-g5bc52f64e884 2019-10-15 15:17:49 +00:00
Jeremy Cline c579b07bb1 Reenable debugging options. 2019-10-15 15:11:25 +00:00
Peter Robinson b659e23dbc USB_RIO500 was removed in 5.4-rc3 2019-10-15 11:55:04 +01:00
Peter Robinson 4d05f37b7c regen configs for DRM_TDFX change 2019-10-15 11:54:34 +01:00
Peter Robinson 9f8bb9191f fix booting on ARMv7 due to OPTIMIZE_INLINING now being forced, drop old i.MX MMC patch, fix for UFEI on ARMv7 on some devices 2019-10-15 08:57:19 +01:00
Jeremy Cline 9e691ad13a Linux v5.4-rc3 2019-10-14 15:48:06 +00:00
Jeremy Cline 0b7fe8058b Disable debugging options. 2019-10-14 15:26:28 +00:00
Paul Bolle 16a89be941 configs: fix typo "CONFIG_DRM_TDFX=n"
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-10-14 15:24:18 +00:00
Laura Abbott bfc2ea1270 Drop old Input workaround
Based on comments from the authors, this should be worked around in
libinput now.
2019-10-14 10:03:12 -04:00
Peter Robinson 418aac7518 add forgotten hisi SPI config 2019-10-12 15:17:53 +01:00
Peter Robinson 1aa5ee4622 arm: be less harsh on the omap/am33xx disable, it's just CRYPTO_DEV_OMAP_AES that's broken 2019-10-12 15:06:34 +01:00
Peter Robinson ed22f0605d arm64: enable spi flash memory on aarch64 too 2019-10-11 17:19:22 +01:00
Jeremy Cline b4ce63cb54 Linux v5.4-rc2-96-gfb20da6af705 2019-10-10 17:51:10 +00:00
Paul Bolle 58bd8a39c3 Kconfig symbol cleanup for v5.4-rc1
Two Kconfig symbols were part of upstream v5.3-rc1 but didn't make it
into v5.3 (for reasons I couldn't be bothered to unearth): PREEMPT_LL
and SOUNDWIRE_BUS. Remove them from our configuration generation system
too.

Commit 3e636fe3a6 ("Remove patch for GCC VTA") forgot to clean up the
configs/ directory. Do so now.

Commit e21e52b608 ("Linux v5.3-13236-g97f9a3c4eee5") forgot to remove
CONFIG_LOCK_DOWN_KERNEL and CONFIG_LOCK_DOWN_KERNEL_FORCE from the
configs/ directory. Do so now.

Commit 5c0d4daff4 ("Remove crash driver") forgot to clean up the
configs/ directory. Do so now.

There are 22 Kconfig symbols referenced in the files used for
configuration generation and in the shipped .config files that were
dropped in upstream v5.4-rc1. The references to these symbols can be
safely removed.

These symbols are:
    CONFIG_ARM_QCOM_CPUFREQ_KRYO
    CONFIG_CRYPTO_AEGIS128L
    CONFIG_CRYPTO_AEGIS128L_AESNI_SSE2
    CONFIG_CRYPTO_AEGIS256
    CONFIG_CRYPTO_AEGIS256_AESNI_SSE2
    CONFIG_CRYPTO_AES_586
    CONFIG_CRYPTO_AES_X86_64
    CONFIG_CRYPTO_MORUS1280
    CONFIG_CRYPTO_MORUS1280_AVX2
    CONFIG_CRYPTO_MORUS1280_SSE2
    CONFIG_CRYPTO_MORUS640
    CONFIG_CRYPTO_MORUS640_SSE2
    CONFIG_DRM_TINYDRM
    CONFIG_HISI_KIRIN_DW_DSI
    CONFIG_I2C_BCM2048
    CONFIG_KEXEC_VERIFY_SIG
    CONFIG_MFD_CROS_EC_CHARDEV
    CONFIG_MTD_M25P80
    CONFIG_SENSORS_ADS1015
    CONFIG_SERIAL_8250_MOXA
    CONFIG_SGI_IOC4
    CONFIG_TINYDRM_MIPI_DBI

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-10-10 11:54:27 -04:00
Dan Horák 108fcb8fc7 re-enable HDA sound drivers on PPC 2019-10-10 11:26:48 -04:00
Javier Martinez Canillas 89ddbf781a Enable CONFIG_EFI_TEST as a module (rhbz 1759325)
The driver is needed for testing purposes, enable it on the architectures
where EFI is supported. Also, disallow access to the registered device if
the kernel is locked down.
2019-10-10 09:55:31 -04:00
Laura Abbott 0367ea2bfd Add fix for mount api change on shmem (rhbz 1757104) 2019-10-08 13:23:13 -04:00
Jeremy Cline 391323a40e Linux v5.4-rc2-20-geda57a0e4299 2019-10-08 17:00:22 +00:00
Jeremy Cline fb4a47e6a7 Reenable debugging options. 2019-10-08 16:55:17 +00:00
Peter Robinson 5b14a9c862 arm: disable omap crytpo offload drivers as they currently cause issues on BeagleBone and related HW 2019-10-08 14:52:11 +01:00
Laura Abbott 1bbfa3a13c Drop custom patch for i8042
Fedora has been carrying this patch for a very long time as
a workaround for MacBook Airs1,1. We've also gotten smarter
about detection (see d79e141c1c6e ("Input: i8042 - Trust
firmware a bit more when probing on X86")) so let's try
dropping this.
2019-10-07 14:08:24 -04:00
Laura Abbott 7d533eb54e Enable a few NFT options (rhbz 1651813) 2019-10-07 13:58:22 -04:00
Jeremy Cline f35031adaa Linux v5.4-rc2 2019-10-07 15:09:34 +00:00
Jeremy Cline 8e8ff6c9e5 Disable debugging options. 2019-10-07 15:06:44 +00:00
Peter Robinson 6d5fda683b drop nouveau on Tegra210/GP10B as it breaks others platforms 2019-10-07 12:50:12 +01:00
Peter Robinson 5cbb392229 arm64: enable USB support on Jetson TX2 2019-10-06 14:47:24 +01:00
Peter Robinson dc08c972db arm64: tegra: enabled nouveau on Jetson-TX2 2019-10-06 14:35:36 +01:00
Peter Robinson 12bb7973ef Fixes for Tegra Jetson TX1/TX2 series via max77620 2019-10-06 13:59:12 +01:00
Peter Robinson d25ad100c5 add RockPro64 fixes patches 2019-10-06 13:29:28 +01:00
Peter Robinson 426ebb7384 arm64: rockchip: Add some RockPro64 fixes 2019-10-06 13:28:50 +01:00
Jeremy Cline f51db63777 Linux v5.4-rc1-14-gcc3a7bfe62b9 2019-10-04 14:53:07 +00:00
Jeremy Cline 9e3866f321 Reenable debugging options. 2019-10-04 14:51:57 +00:00
Jeremy Cline 8f4ffa9925 Fix the header tarball script BUILDID addition
[ -n ] doesn't work on unquoted variables. The variable either needs to
get quoted or use [[ ]]. Without this the script always defines buildid.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2019-10-03 14:47:37 +00:00
Peter Robinson dedd91c9bf second round of arm 5.4 updates 2019-10-03 11:10:55 +01:00
Jeremy Cline 5df4c5562f Rebase the lockdown sysrq patch to work with upstream
Upstream finally merged the lockdown patches, adjust the SysRq patch to
work with the upstreamed version.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2019-10-02 20:11:04 +00:00
Jeremy Cline c16b4f1acf Linux v5.4-rc1 2019-10-02 14:34:08 +00:00
Jeremy Cline c2ad199666 Disable debugging options. 2019-10-02 14:34:08 +00:00
Peter Robinson e8d02b72a6 ChromeOS updates v2 2019-10-02 12:14:01 +01:00
Peter Robinson 6af9855755 minor cleanup of ChromeBook config options 2019-10-02 12:06:50 +01:00
Peter Robinson 54d7d38992 initial Arm 5.4 config updates 2019-10-02 10:38:25 +01:00
Jeremy Cline e21e52b608 Linux v5.3-13236-g97f9a3c4eee5
This is a first pass at getting the secureboot patches working with the
upstream lockdown patches that got merged. The final patch from our
lockdown set is the sysrq patch which also needs work. For the present
it is not applied.
2019-10-01 14:20:23 +00:00
Laura Abbott b82da9d02c Support adding the buildid to kernel-headers
Thanks to Paul Moore for this change
2019-09-30 07:21:30 -04:00
Jeremy Cline 08ea333f0b Linux v5.3-12397-gf41def397161 2019-09-26 15:47:45 +00:00
Jeremy Cline 456bb7df42 Linux v5.3-12289-g351c8a09b00b 2019-09-25 14:53:16 +00:00
Jeremy Cline 1f034c9dc1 Update KMEMLEAK log size default
Upstream renamed the setting to DEBUG_KMEMLEAK_MEM_POOL_SIZE in upstream
commit c5665868183f and changed the default to 16000 in upstream commit
b751c52bb587.
2019-09-25 14:44:45 +00:00
Jeremy Cline 84b9af49cc Linux v5.3-12025-g4c07e2ddab5b 2019-09-24 17:50:27 +00:00
Jeremy Cline 3246ea9bd3 It seems like maybe EXFAT isn't really ready to turn on 2019-09-24 14:55:21 +00:00
Peter Robinson 2fe857b25d add iwlwifi fix for 8000 series devices 2019-09-24 15:08:09 +01:00
Jeremy Cline f628f023e1 Linux v5.3-11768-g619e17cf75dd 2019-09-23 19:06:55 +00:00
Laura Abbott 2e8af7cdf9 Update to work with 5.x 2019-09-23 08:21:52 -04:00
Jeremy Cline 8e2f53d725 Linux v5.3-10169-g574cc4539762 2019-09-20 16:21:37 +00:00
Jeremy Cline 75129cc8a4 Linux v5.3-7639-gb41dae061bbd 2019-09-19 21:09:49 +00:00
Jeremy Cline e432a71879 Linux v5.3-3839-g35f7a9526615 2019-09-18 18:01:45 +00:00
Jeremy Cline 021611765e Linux v5.3-2061-gad062195731b 2019-09-17 21:22:39 +00:00
Jeremy Cline fb222da551 Reenable debugging options. 2019-09-17 16:16:20 +00:00
Jeremy Cline a08a03541f Drop drm-i915-hush-check-crtc-state.patch
This patch from 2013 stops the i915 driver from spitting out WARNs in
some cases, but nearly the same thing can be achieved with the
``verbose_state_checks=false`` module option added in 2014. With the
module setting the issue results in a log message at error level rather
than the debug level set by this patch. However, it's not known if this
is still a common issue. It seems worth the cost of (maybe) a few more
bug reports about new error-level logs to drop the patch.

To start with, we're going to leave ``verbose_state_checks=true`` (the
default), but if we run into a lot of WARNs we will turn it off.
2019-09-16 20:30:31 +00:00
Laura Abbott 124297ef77 Drop old WARN patch
We haven't applied the patch in a while now. Let's just drop it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 16:14:09 -04:00
Laura Abbott 5c0d4daff4 Remove crash driver
This has since been replaced by other in kernel pieces. We
can finally drop it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:52:39 -04:00
Laura Abbott 3e636fe3a6 Remove patch for GCC VTA
It's been years and gcc has changed a lot.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:52:39 -04:00
Laura Abbott bde70da19c Remove old keyboard logging patch
Let's see if this results in flooding.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:52:39 -04:00
Laura Abbott ddc01753a9 Remove some old modalias adjustments and move drivers
We've come a long way. Let's just leave these drivers alone.
Banish the drivers to mod-extra to ensure they really don't
get loaded.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:50:13 -04:00
Laura Abbott 3d246278f1 Drop old lis3 patch
We've been carrying this patch for years. If someone wants to
do the work to get it upstream, they are welcome to do so.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:48:43 -04:00
Laura Abbott affb211a9a Remove ancient ath9k workaround
It's been years. Let's see if we actually still need this.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:48:43 -04:00
Laura Abbott 8cd931114e Drop scsi warning patch
It's been years since we've seen this warning. Just drop it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:48:43 -04:00
Laura Abbott 9742e529b8 Drop cpumask auto select patch and set NR_CPUS appropriately
We've been carrying a patch to make CPUMASK_OFFSTACK selectable
without debugging for a long time now. The comment said this was
going to be replaced with something else but that never seemed
to happen. We're carrying it to have a higher number of CPUs but
at this point, adjusting NR_CPUS doesn't really get us that much
benfit. Drop the patch and just use 8192 or NR_CPUS on x86.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:48:39 -04:00
Laura Abbott 9a47638b3d Drop namespaces config tweak
We've come a long way for namespaces since 2013 and
all arches now enable namespaces. Drop the patch where
we can turn it off and on.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:34:51 -04:00
Laura Abbott a301534bfa Linux v5.3 2019-09-16 08:08:37 -04:00
Laura Abbott 0ceba001a5 Drop patch that was already applied 2019-09-10 09:39:16 +01:00
Laura Abbott 2e54842480 Linux v5.3-rc8 2019-09-10 09:34:54 +01:00
Laura Abbott 9df834407d Disable debugging options. 2019-09-10 09:34:54 +01:00
Peter Robinson bff345a8a8 Add ACPI fixes plus a DT for qcom sd850 based Yoga C630 2019-09-06 09:37:18 +01:00
Laura Abbott 8a4687c244 Linux v5.3-rc7-2-g3b47fd5ca9ea 2019-09-05 10:53:16 -04:00
Laura Abbott 44fd540215 Reenable debugging options. 2019-09-05 10:51:51 -04:00
Dan Horák 3ce5c2aab2 enable driver for accessing HMC CD/DVD drive 2019-09-04 16:42:53 -04:00
Laura Abbott f637d98ba5 Linux v5.3-rc7 2019-09-03 07:50:53 -04:00
Laura Abbott 02d14b969c Disable debugging options. 2019-09-03 07:46:34 -04:00
Peter Robinson 4dbfff26bf drop old ApplyPatch logic as now eveything is done via git am 2019-09-02 20:57:53 +01:00
Peter Robinson cf146e231f enable ES8316 audio codec for some Rockchips devices 2019-08-29 20:42:12 +01:00
Peter Robinson b5f1f90cb8 Upstream fix for WP detection on SD card 2019-08-29 18:01:39 +01:00
Laura Abbott 82cbb5a6a7 Linux v5.3-rc6-119-g9cf6b756cdf2 2019-08-29 09:22:53 -04:00
Peter Robinson f8cb8e2a32 enable RTC_DRV_SA1100 on ARMv7 2019-08-28 17:02:44 +01:00
Laura Abbott b7e0f13e15 Linux v5.3-rc6-115-g9e8312f5e160 2019-08-28 09:03:36 -04:00
Laura Abbott be7a82b4a8 Reenable debugging options. 2019-08-28 09:00:59 -04:00
Laura Abbott 2fdc962749 Linux v5.3-rc6 2019-08-26 08:33:15 -04:00
Laura Abbott cf82a100d1 Disable debugging options. 2019-08-26 08:08:12 -04:00
Peter Robinson 4919ac334f minor Arm cleanups 2019-08-25 18:44:48 +01:00
Laura Abbott 5d3d59393a Linux v5.3-rc5-224-gdd469a456047 2019-08-23 11:39:29 -07:00
Laura Abbott 264ee325d5 Linux v5.3-rc5-149-gbb7ba8069de9 2019-08-22 07:18:31 -07:00
Laura Abbott 3c5c69a0ee Reenable debugging options. 2019-08-22 07:05:54 -07:00
Laura Abbott a16710fcba Linux v5.3-rc5 2019-08-19 06:16:12 -07:00
Laura Abbott 793dd19d3d Disable debugging options. 2019-08-19 06:08:47 -07:00
Laura Abbott 2c2a0daaaa Linux v5.3-rc4-71-ga69e90512d9d 2019-08-16 07:56:52 -04:00
Laura Abbott 38139e8bfe Linux v5.3-rc4-53-g41de59634046 2019-08-15 07:40:50 -04:00
Laura Abbott 9a56544597 Linux v5.3-rc4-4-gee1c7bd33e66 2019-08-14 11:00:39 -04:00
Laura Abbott 6aa44b71a7 Reenable debugging options. 2019-08-14 10:58:15 -04:00
Laura Abbott 2acd58de6b Remove copying of deleted file
Removed with 4ce97317f41d ("x86/purgatory: Do not use __builtin_memcpy
and __builtin_memset")
2019-08-13 11:04:28 -04:00
Laura Abbott ae3e2e3835 Linux v5.3-rc4 2019-08-13 08:06:45 -04:00
Laura Abbott f85cf1ad09 Disable debugging options. 2019-08-13 08:02:48 -04:00
Laura Abbott c37e89654f Linux v5.3-rc3-282-g33920f1ec5bf 2019-08-07 12:21:01 +02:00
Laura Abbott 3166f3d037 Reenable debugging options. 2019-08-07 12:18:47 +02:00
Laura Abbott b49cc14b37 Linux v5.3-rc3 2019-08-05 16:46:27 +02:00
Laura Abbott c7aa2ae287 Disable debugging options. 2019-08-05 16:40:45 +02:00
Peter Robinson 977bfe032e fix mac on Jetson-TX2 NIC 2019-08-04 15:31:08 +01:00
Laura Abbott ea5d2e52dc Linux v5.3-rc2-70-g1e78030e5e5b 2019-08-02 09:05:36 -04:00
Laura Abbott f43f34d9e4 Enable IPVS MH (rhbz 1736266) 2019-08-01 13:01:49 -04:00
Laura Abbott 5c2aa86a1d Linux v5.3-rc2-60-g5c6207539aea
Enable 8250 serial ports
2019-08-01 07:46:56 -04:00
Lubomir Rintel 385c83f761 armv7hl: enable the OLPC XO-1.75 embedded controller 2019-08-01 11:02:10 +01:00
Peter Robinson adfbac47b6 Enable IMA Appraisal - related rhbz 790008 1554474 2019-07-31 13:58:31 +01:00
Laura Abbott ffc1fce93e Linux v5.3-rc2-51-g4010b622f1d2 2019-07-31 07:53:47 -04:00
Laura Abbott eb270ec831 Linux v5.3-rc2-11-g2a11c76e5301 2019-07-30 08:31:02 -04:00
Laura Abbott 1ec7f66dae Reenable debugging options. 2019-07-30 08:28:16 -04:00
Laura Abbott 28be16d99e Linux v5.3-rc2 2019-07-29 07:40:19 -04:00
Laura Abbott c0122ac850 Disable debugging options. 2019-07-29 07:28:10 -04:00
Peter Robinson b5bfb26495 disable DMADEVICES_DEBUG as it's very verbose and aimed as driver devs so probably not generally useful for rawhide 2019-07-27 17:49:48 +01:00
Peter Robinson 8efb3fad95 enable support for loading compressed firmware, non compressed formats still work 2019-07-26 16:44:18 +01:00
Laura Abbott 5feabf6fff Linux v5.3-rc1-96-g6789f873ed37 2019-07-26 07:58:59 -04:00
Justin M. Forbes d86f95817f Add missing config file 2019-07-25 12:30:31 -05:00
Laura Abbott cfda0d83c7 Linux v5.3-rc1-82-gbed38c3e2dca 2019-07-25 07:46:05 -04:00
Peter Robinson 22baa65bfd IMA: add IMA_KEXEC option, align ppc config to all other arches 2019-07-25 12:40:22 +01:00
Peter Robinson 463b32d557 add note for ISDN revert commit, update configs 2019-07-25 09:35:21 +01:00
Peter Robinson a2832dc624 Disable ISDN as upstream is moving to deprecate it
Some of the ISDN stack was deleted in the 5.3 window as per Paul's cleanup
patch. The vast majority of the remainder was moved to staging so let's
disable it in Fedora as it's unlikely to be used, and if se we can feed this
back to upstream.

For reference the main details from upstream are in these commits:
8a7e8ff8ce8a : ISDN removal/move merge overview
6d97985072dc : isdn: move capi drivers to staging
9c3c0c204814 : isdn: remove isdn4linux
85993b8c9786 : isdn: remove hisax driver
2019-07-25 09:19:57 +01:00
Paul Bolle ddae4546c2 Remove all Kconfig symbols dropped in v5.3-rc1
There are 60 Kconfig symbols referenced in the files used for
configuration generation and in the shipped .config files that were
dropped in upstream v5.3-rc1. The references to these symbols can be
safely removed.

These symbols are:
    CONFIG_ARCH_NETX
    CONFIG_CHR_DEV_OSST
    CONFIG_CIFS_ACL
    CONFIG_CONFIG_SUNRPC_DISABLE_INSECURE_ENCTYPES
    CONFIG_CROS_EC_LPC_MEC
    CONFIG_DE_AOC
    CONFIG_DEBUG_BLK_CGROUP
    CONFIG_DEVICE_PUBLIC
    CONFIG_HISAX_16_3
    CONFIG_HISAX_1TR6
    CONFIG_HISAX_AVM_A1_CS
    CONFIG_HISAX_AVM_A1_PCMCIA
    CONFIG_HISAX_BKM_A4T
    CONFIG_HISAX_DEBUG
    CONFIG_HISAX_DIEHLDIVA
    CONFIG_HISAX_ELSA
    CONFIG_HISAX_ELSA_CS
    CONFIG_HISAX_ENTERNOW_PCI
    CONFIG_HISAX_EURO
    CONFIG_HISAX_FRITZPCI
    CONFIG_HISAX_FRITZ_PCIPNP
    CONFIG_HISAX_GAZEL
    CONFIG_HISAX_HFC4S8S
    CONFIG_HISAX_HFC_PCI
    CONFIG_HISAX_HFC_SX
    CONFIG_HISAX_HFCUSB
    CONFIG_HISAX_MAX_CARDS
    CONFIG_HISAX_NETJET
    CONFIG_HISAX_NETJET_U
    CONFIG_HISAX_NI1
    CONFIG_HISAX_NICCY
    CONFIG_HISAX_NO_KEYPAD
    CONFIG_HISAX_NO_LLC
    CONFIG_HISAX_NO_SENDCOMPLETE
    CONFIG_HISAX_S0BOX
    CONFIG_HISAX_SCT_QUADRO
    CONFIG_HISAX_SEDLBAUER
    CONFIG_HISAX_SEDLBAUER_CS
    CONFIG_HISAX_ST5481
    CONFIG_HISAX_TELES_CS
    CONFIG_HISAX_TELESPCI
    CONFIG_HISAX_W6692
    CONFIG_INFINIBAND_NES
    CONFIG_INFINIBAND_NES_DEBUG
    CONFIG_IPPP_FILTER
    CONFIG_ISDN_AUDIO
    CONFIG_ISDN_CAPI_CAPIDRV
    CONFIG_ISDN_DIVERSION
    CONFIG_ISDN_DRV_HISAX
    CONFIG_ISDN_I4L
    CONFIG_ISDN_MPP
    CONFIG_ISDN_PPP
    CONFIG_ISDN_PPP_BSDCOMP
    CONFIG_ISDN_PPP_VJ
    CONFIG_ISDN_TTY_FAX
    CONFIG_NET_CLS_IND
    CONFIG_SCLP_ASYNC
    CONFIG_SCLP_ASYNC_ID
    CONFIG_SPI_STM32_QUADSPI
    CONFIG_XEN_SELFBALLOONING

Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
2019-07-25 09:07:56 +01:00
Laura Abbott 8087534bf2 Linux v5.3-rc1-59-gad5e427e0f6b 2019-07-24 07:48:09 -04:00
Laura Abbott 75c686a437 Add scsi fix 2019-07-23 13:41:47 -04:00
Laura Abbott b6bc920f00 Linux v5.3-rc1-56-g7b5cf701ea9c 2019-07-23 08:40:35 -04:00
Laura Abbott a1d4d2b92c Reenable debugging options. 2019-07-23 08:37:08 -04:00
Peter Robinson 1c98607f41 arm: part 4 (and the last) of the merge window updates 2019-07-22 13:27:49 +01:00
Peter Robinson c7dd95a6bb arm updates for 5.3 part 3 2019-07-22 08:31:01 +01:00
Peter Robinson cb88675efe arm updates for 5.3 part 2
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2019-07-22 00:42:57 +01:00
Laura Abbott 364bffc7b7 Linux v5.3-rc1 2019-07-21 17:53:59 -04:00
Laura Abbott b121f57b17 Disable debugging options. 2019-07-21 17:42:12 -04:00
Peter Robinson eb83b04a06 arm updates for 5.3 part 1 2019-07-21 15:11:38 +01:00
Peter Robinson d7341fee1c Bug 1576593 - work around while vendor investigates arm builder LPAE HW issue 2019-07-19 18:51:33 +01:00
Peter Robinson 69a18c18b1 arm: media acceleration driver config changes 2019-07-19 16:47:43 +01:00
Laura Abbott 108607559c Linux v5.2-11564-g22051d9c4a57 2019-07-18 12:08:47 -04:00
Laura Abbott 932464d850 Actually fix headers scripts to account for all archs 2019-07-18 11:54:09 -04:00
Laura Abbott 47006d595f Linux v5.2-11043-g0a8ad0ffa4d8 2019-07-17 08:17:47 -04:00
Laura Abbott e41fdfd55e Fix the headers script 2019-07-17 08:12:11 -04:00
Peter Robinson 89207621e9 IMA: change default hash from sha1 to sha256, the later is more secuure and hence should be the default 2019-07-17 11:10:24 +01:00
Peter Robinson ef64fcc47a drop merged qcom patches 2019-07-17 00:19:45 +01:00
Jeremy Cline b39937c76a Pick up the iwlwifi firmware crash fix (rhbz 1716334)
Some folks have been asking for this to be in Rawhide in addition to the
stable kernels.
2019-07-16 18:21:14 +00:00
Laura Abbott 4cbd7a3c09 Linux v5.2-10808-g9637d517347e 2019-07-16 08:59:21 -04:00
Peter Robinson 3d93a416f2 drop dead options, minor arm tweaks 2019-07-15 21:52:07 +01:00
Justin M. Forbes 92f058c860 Turn off i686 builds for Rawhide 2019-07-12 14:43:02 -05:00
Laura Abbott 14105ee367 Turn off the driver because it breaks the filtering 2019-07-12 09:27:58 -04:00
Laura Abbott 46f3e4dbcb Linux v5.2-7109-gd7d170a8e357 2019-07-12 08:29:07 -04:00
Paul Bolle 03fa0f4763 configs: remove CONFIG_ASIX_PHY
The Kconfig symbol ASIX_PHY was renamed to AX88796B_PHY in v5.2-rc6, see
upstream commit a9520543b123 ("net: phy: rename Asix Electronics PHY
driver"). CONFIG_AX88796B_PHY is already used in the configuration generation
system, so we can safely remove CONFIG_ASIX_PHY from that system.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-07-11 08:55:29 -04:00
Laura Abbott 84210fcea5 Linux v5.2-3311-g5450e8a316a6 2019-07-11 07:45:34 -04:00
Laura Abbott 19bcf9a9c5 Linux v5.2-3135-ge9a83bd23220 2019-07-10 08:28:38 -04:00
Laura Abbott a152d923e3 Enable CONFIG_RC_XBOX_DVD
Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-07-09 15:17:11 -04:00
Laura Abbott 92f0deae55 Linux v5.2-915-g5ad18b2e60b7 2019-07-09 09:26:30 -04:00
Laura Abbott f4ea651be7 Reenable debugging options. 2019-07-09 08:32:37 -04:00
Justin M. Forbes 52decab756 Linux v5.2.0 2019-07-08 09:49:35 -05:00
Justin M. Forbes 67c4f1112f Linux v5.2-rc7-8-geca94432934f 2019-07-03 09:30:49 -05:00
Justin M. Forbes a51ec6bf05 Linux v5.2-rc7 2019-07-01 08:53:17 -05:00
Justin M. Forbes bd5a8e4c11 Disable debugging options. 2019-07-01 08:46:31 -05:00
Peter Robinson d2e0e69e62 minor arm cleanups, update rpi cam patch, add fix for dwc3 on rockchips 2019-06-30 20:15:50 +01:00
Peter Robinson bf2174540c arm64: the tsadc patch is already upstream so drop it 2019-06-29 13:06:08 +01:00
Justin M. Forbes 7addfa8f74 Linux v5.2-rc6-93-g556e2f6020bf 2019-06-28 09:20:53 -05:00
Peter Robinson 6cb99dafc0 bcm2835: upstream fix for Raspberry Pi load issue 2019-06-25 19:41:59 +01:00
Peter Robinson 0d2c8ee000 arm64: qcom: add patch for ACPI UFS storage 2019-06-25 19:38:27 +01:00
Justin M. Forbes 639ea3fb7e Linux v5.2-rc6-15-g249155c20f9b 2019-06-25 09:39:54 -05:00
Peter Robinson aa0fcf841b arm64: minor config tweak for i.MX8 2019-06-25 11:52:52 +01:00
Peter Robinson 2d52c31482 raspberrypi: patch to fix the camera 2019-06-25 08:46:44 +01:00
Peter Robinson f7fca913e3 arm64: minor fix for qcom patch 2019-06-24 23:32:12 +01:00
Justin M. Forbes 53459f7b69 Linux v5.2-rc6 2019-06-24 10:41:57 -05:00
Justin M. Forbes 6acb9747bd Disable debugging options. 2019-06-24 10:23:42 -05:00
Peter Robinson 5a11487f77 QCom ACPI fixes 2019-06-22 10:56:20 +01:00
Peter Robinson b0bc74c236 enable parallel xz compression of modules
So this uses the -P option for xargs to allow parallel compression
of xz uaing xargs options, it allows maximum usage of available CPUs
it can be reverted to the prior status quo but running the following
sed -i 's/global zcpu `nproc --all`/global zcpu 1/' kernel.spec
2019-06-21 22:04:20 +01:00
Justin M. Forbes 2a7e3ab552 Linux v5.2-rc5-290-g4ae004a9bca8 2019-06-21 12:42:02 -05:00
Justin M. Forbes a380472ebf Linux v5.2-rc5-239-g241e39004581 2019-06-20 11:26:13 -05:00
Justin M. Forbes 98f3fc35d7 Linux v5.2-rc5-224-gbed3c0d84e7e 2019-06-19 09:34:45 -05:00
Justin M. Forbes 9297bd04f0 Linux v5.2-rc5-177-g29f785ff76b6 2019-06-18 13:37:45 -05:00
Justin M. Forbes 899f9fafd5 Linux v5.2-rc5 2019-06-17 09:02:12 -05:00
Justin M. Forbes f29ebb198c Disable debugging options. 2019-06-17 08:45:30 -05:00
Peter Robinson 559debe56a disable WUSB (Wireless USB) as HW doesn't exist
It's soon to move to staging in preparation for removal:
https://www.spinics.net/lists/linux-crypto/msg39327.html
2019-06-16 11:59:22 +01:00
Justin M. Forbes aeff6606b7 Linux v5.2-rc4-129-g72a20cee5d99 2019-06-14 12:11:12 -05:00
Jeremy Cline ce94d565a9 Revert the Bluetooth encryption key patch
Upstream stable reverted it, although the revert isn't in Torvald's tree
yet.
2019-06-14 09:45:30 -04:00
Hans de Goede b5f5548ebd Fix the LCD panel an Asus EeePC 1025C not lighting up (rhbz#1697069)
Add small bugfix for new Logitech wireless keyboard support
2019-06-14 11:59:03 +02:00
Justin M. Forbes c46dbbae2e Linux v5.2-rc4-45-gc11fb13a117e 2019-06-13 13:09:01 -05:00
Peter Robinson 437fb97bec Raspberry Pi: move to cpufreq driver accepted for upstream \o/ 2019-06-13 10:49:31 +01:00
Laura Abbott 5faed67f47 Enable CONFIG_DM_DUST
This was a request from some of the developers

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-06-12 16:37:52 -04:00
Justin M. Forbes 54546efb12 Linux v5.2-rc4-20-gaa7235483a83 2019-06-12 10:39:00 -05:00
Justin M. Forbes c07ccf4fca Linux v5.2-rc4 2019-06-10 09:25:17 -05:00
Justin M. Forbes 9b40078dd0 Disable debugging options. 2019-06-10 09:02:42 -05:00
Peter Robinson de507cfd5d usb dwc2 fix 2019-06-10 13:00:34 +01:00
Peter Robinson 1149ccac54 arm64: qcom: initial improvement of ACPI support for some devices 2019-06-10 10:43:46 +01:00
Justin M. Forbes 43ba372009 Linux v5.2-rc3-77-g16d72dd4891f 2019-06-07 12:02:07 -05:00
Jeremy Cline 228a4ee828 Fix rbhz 1658675 again
This patch got dropped with the latest rebase to upstream's version of
the lockdown patches.
2019-06-06 19:03:26 +00:00
Justin M. Forbes ead55fdbc7 Linux v5.2-rc3-37-g156c05917e09 2019-06-06 11:22:11 -05:00
Laura Abbott 95a82995c1 Enable CONFIG_DM_WRITECACHE (rhbz 1717849)
Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-06-06 06:56:24 -04:00
Laura Abbott 78df628e11 Enable CONFIG_TCG_VTPM_PROXY (rhbz 1714598)
Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-06-06 06:54:32 -04:00
Justin M. Forbes df15d2b71a Linux v5.2-rc3-24-g788a024921c4 2019-06-04 11:15:33 -05:00
Peter Robinson 76165d2da8 minor config cleanup (scsi) 2019-06-04 12:24:19 +01:00
Paul Bolle 7dfb2ede8b configs: remove CONFIG_ARM64_ERRATUM_1188873
The Kconfig symbol ARM64_ERRATUM_1188873 was dropped in v5.2-rc2, see
upstream commit a5325089bd05 ("arm64: Handle erratum 1418040 as a
superset of erratum 1188873"). So drop it from the configuration generation
system too.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-06-03 14:24:43 -05:00
Paul Bolle aa17e2287a Remove all Kconfig symbols dropped in v5.2-rc1
There are 24 Kconfig symbols referenced in the files used for
configuration generation and in the shipped .config files that were
dropped in upstream v5.2-rc1. The references to these symbols can be
safely removed.

These symbols are:
    CONFIG_BACKLIGHT_LCD_SUPPORT
    CONFIG_CHARGER_LTC3651
    CONFIG_CHASH_SELFTEST
    CONFIG_CHASH_STATS
    CONFIG_CRYPTO_DEV_MXC_SCC
    CONFIG_DEBUG_PI_LIST
    CONFIG_EXYNOS5420_MCPM
    CONFIG_INET6_XFRM_MODE_BEET
    CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION
    CONFIG_INET6_XFRM_MODE_TRANSPORT
    CONFIG_INET6_XFRM_MODE_TUNNEL
    CONFIG_INET_XFRM_MODE_BEET
    CONFIG_INET_XFRM_MODE_TRANSPORT
    CONFIG_INET_XFRM_MODE_TUNNEL
    CONFIG_MTD_NAND
    CONFIG_MTD_NAND_ECC_BCH
    CONFIG_MTD_NAND_ECC_SMC
    CONFIG_MTK_MMC
    CONFIG_NET_DSA_LEGACY
    CONFIG_NFT_CHAIN_ROUTE_IPV4
    CONFIG_NFT_CHAIN_ROUTE_IPV6
    CONFIG_R8822BE
    CONFIG_TRACING_EVENTS_GPIO
    CONFIG_VIDEO_ZORAN

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-06-03 14:24:30 -05:00
Justin M. Forbes 0b354a2cfe Linux v5.2-rc3 2019-06-03 08:04:13 -05:00
Justin M. Forbes 4bf08358b0 Disable debugging options. 2019-06-03 07:53:09 -05:00
Peter Robinson d06c52d683 turn off OPTIMIZE_INLINING everywhere except x86_64 which was previously the only arch that had it 2019-05-31 20:21:58 +01:00
Peter Robinson 8de7cad79a Bump for ARMv7 fix 2019-05-31 19:55:08 +01:00
Peter Robinson 198050236c Disable OPTIMIZE_INLINING on ARMv7 as it breaks boot with systemd
[    6.264658] Run /init as init process
[    6.333757] systemd[1]: System time before build time, advancing clock.
[    6.362298] systemd[1]: systemd v241-8.git9ef65cb.fc30 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    6.386432] systemd[1]: Detected architecture arm.
[    6.391433] systemd[1]: Running in initial RAM disk.
[    6.412690] systemd[1]: Set hostname to <udoo-neo.home.roving-it.com>.
[    6.419981] systemd[1]: Failed to open netlink: Operation not permitted
[    6.427610] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[    7.049071] systemd[227]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
[    7.066927] systemd[1]: Failed to start device monitor: Bad address
[    7.213774] systemd[1]: SO_PASSCRED failed: Bad address
[    7.233065] systemd[1]: Freezing execution.
2019-05-31 19:50:41 +01:00
Peter Robinson daabca5f6f move to upstream fix for arm crypto ghash issue 2019-05-31 11:11:09 +01:00
Justin M. Forbes 48df0906cd Linux v5.2-rc2-24-gbec7550cca10 2019-05-30 11:03:19 -05:00
Peter Robinson 38bd9ab178 revert crypto generic initcalls run early patch until upstream works out the issue with ARMv7 2019-05-30 16:44:18 +01:00
Peter Robinson d725b49d1a x86: minor config de-dupe (NFC) 2019-05-29 14:40:31 +01:00
Peter Robinson 1c6a1c45ef aarch64: enable Truly nt35597 panel for aarch64 2019-05-29 12:25:32 +01:00
Peter Robinson 59a539cc7d arm: minor tegra updates 2019-05-29 12:09:38 +01:00
Justin M. Forbes ec25f30e2e Linux v5.2-rc2 2019-05-27 10:56:09 -05:00
Justin M. Forbes e5d8f8de77 Disable debugging options. 2019-05-27 10:52:24 -05:00
Peter Robinson 8957ff666c drop duplicated CONFIG_AQTION 2019-05-25 19:15:02 +01:00
Justin M. Forbes 8f4544ef8d Linux v5.2-rc1-233-g0a72ef899014 2019-05-24 15:18:07 -05:00
Peter Robinson 921fd07b84 aarch64: qcom: minor tweaks for sd845/850 HW 2019-05-24 19:46:54 +01:00
Peter Robinson 05f6d3d4a2 arm: stm32mp1: enable a few missed options 2019-05-23 13:57:08 +01:00
Peter Robinson c38e8e0b62 re-enable sun4i-ss crrpto offload as it's fixed in 5.2 2019-05-23 11:18:57 +01:00
Justin M. Forbes 59ba0d757a Linux v5.2-rc1-165-g54dee406374c 2019-05-22 12:15:16 -05:00
Justin M. Forbes a87df2f1bb Fix build issue on PPC 2019-05-21 16:50:35 -05:00
Justin M. Forbes fd9451c72c Linux v5.2-rc1-129-g9c7db5004280 2019-05-21 15:28:44 -05:00
Justin M. Forbes c856345649 Fix S390 build error 2019-05-20 15:46:32 -05:00
Justin M. Forbes c2b56eada2 Linux v5.2-rc1 2019-05-20 14:08:36 -05:00
Peter Robinson fa5a3a77fb add Bosch BMA180 accel iio driver found on some arm tablets and other devices 2019-05-20 16:18:07 +01:00
Peter Robinson daa722ef9c further minor Arm updates, primarily for arm64 tegra devices 2019-05-20 13:05:12 +01:00
Peter Robinson 37f7d8a335 Arm config updates for 5.2rc1 2019-05-20 08:47:57 +01:00
Justin M. Forbes 58561782e9 Linux v5.1-12505-g0ef0fd351550 2019-05-17 15:53:20 -05:00
Peter Robinson 7101de41f1 add patch to fix watchdog driver load and reboot on RPi 2019-05-17 19:41:55 +01:00
Justin M. Forbes 5b72efed7d Linux v5.1-12065-g8c05f3b965da 2019-05-16 15:35:54 -05:00
Justin M. Forbes df4525c195 Linux v5.1-10909-g2bbacd1a9278 2019-05-15 14:14:21 -05:00
Peter Robinson db916ad55e explicitly enable Arm GIC power management 2019-05-15 19:26:08 +01:00
Laura Abbott cbd87613cc Add arm64 vdso fix 2019-05-15 11:08:53 -07:00
Peter Robinson 2145bfefe1 ti: drop removed configse 2019-05-15 13:44:33 +01:00
Peter Robinson 3d9e9d3e11 ti: drop removed configs 2019-05-15 13:40:53 +01:00
Peter Robinson cebbc3cf3e arm: remove retired configs 2019-05-15 00:55:11 +01:00
Justin M. Forbes a915976cd4 Linux v5.1-10326-g7e9890a3500d 2019-05-14 12:16:53 -05:00
Justin M. Forbes 735223bf90 Linux v5.1-10135-ga13f0655503a 2019-05-13 12:05:41 -05:00
Peter Robinson 189fbf937b CONFIG_LBDAF option removed upstream, is now standard 2019-05-13 00:30:28 +01:00
Justin M. Forbes e4473dc0e3 Linux v5.1-9573-gb970afcfcabd 2019-05-10 13:37:00 -05:00
Justin M. Forbes bf888d2bd5 Linux v5.1-8122-ga2d635decbfa 2019-05-09 13:02:16 -05:00
Peter Robinson 1f3b79fb40 armvt: filter stm drm drivers 2019-05-09 17:11:56 +01:00
Justin M. Forbes a9602bb6e5 Linux v5.1-5445-g80f232121b69 2019-05-08 12:24:46 -05:00
Justin M. Forbes 2b2a5f0a2e Linux v5.1-1199-g71ae5fc87c34 2019-05-07 12:04:31 -05:00
Peter Robinson da649d5215 Enable Arm STM32MP1 2019-05-07 04:58:17 +01:00
Peter Robinson 95a0150a74 minor qcom sound config tweak 2019-05-07 04:53:00 +01:00
Laura Abbott a3f1fbec6e Ensure ioschedulers are built in (rhbz 1690604) 2019-05-06 17:43:16 +00:00
Paul Bolle 926fa54ae1 configs: correctly terminate loop
The switch_to_toplevel() function in process_configs.sh contains a buggy
loop. It tests whether $path is empty but should test whether $path
equals "/". (It repeatedly calls dirname on pwd's output, and since pwd
will return an absolute path this will, eventually, return "/" forever.)
So let's test for "/" here.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-05-06 10:26:25 -04:00
Paul Bolle f27f73697f configs: properly indent process_configs.sh
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-05-06 10:26:02 -04:00
Jeremy Cline eeca86408d Linux v5.1.0 2019-05-06 14:07:03 +00:00
Peter Robinson bc27fd2460 disable sunxi crypto as it's currently broken 2019-05-03 20:33:58 +01:00
Jeremy Cline ae63548e1d Linux v5.1-rc7-131-gea9866793d1e 2019-05-03 14:53:48 +00:00
Jeremy Cline 753cfebe7a Linux v5.1-rc7-29-g600d7258316d 2019-05-02 14:44:19 +00:00
Laura Abbott 8fa6c72eb7 Add gdb index for debuginfo
We disabled the gdb indexing a while ago because it was
broken with the kernel. It seems to be working okay now  so re-enable it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-05-01 08:08:49 -07:00
Jeremy Cline d139c9574c Linux v5.1-rc7-16-gf2bc9c908dfe 2019-05-01 14:02:59 +00:00
Paul Bolle f3767751a3 configs: only visit generic/powerpc once
The rule that generates kernel-ppc64le-debug.config visits
configs/generic/powerpc twice. Stop doing that.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-05-01 13:58:11 +00:00
Jeremy Cline 203f015253 Linux v5.1-rc7-5-g83a50840e72a 2019-04-30 16:04:29 +00:00
Jeremy Cline dfbf3d7f3d Reenable debugging options. 2019-04-30 16:02:26 +00:00
Hans de Goede 8fb1c9e328 Fix wifi on various ideapad models not working (rhbz#1703338) 2019-04-30 11:50:07 +02:00
Jeremy Cline 4d0bb33f59 s390x build failure fix for RDMA 2019-04-29 16:46:30 +00:00
Jeremy Cline c5e7ef61a4 Linux v5.1-rc7 2019-04-29 15:40:35 +00:00
Jeremy Cline d225a41203 Disable debugging options. 2019-04-29 14:35:33 +00:00
Jeremy Cline d465489856 Linux v5.1-rc6-72-g8113a85f8720 2019-04-26 14:37:24 +00:00
Laura Abbott 7a94d5a69e Clean up old PAE code
We no longer support i686 PAE. Cleanup some of the cruft that was left
behind and de-obfuscate some macros to make it more obvious what's
happening.
2019-04-25 09:51:12 -07:00
Laura Abbott b13aac6411 Remove references to old powerpc
We only support one powerpc target. Drop references via the older macro
to make the code easier to read.
2019-04-25 09:42:22 -07:00
Jeremy Cline 07c71efcc5 Linux v5.1-rc6-64-gcd8dead0c394 2019-04-25 14:15:39 +00:00
Justin M. Forbes 2f9efa0cf1 Fix CVE-2019-3900 (rhbz 1698757 1702940) 2019-04-25 07:23:14 -05:00
Jeremy Cline eb5b64f354 Linux v5.1-rc6-15-gba25b50d582f 2019-04-24 14:34:24 +00:00
Jeremy Cline 5db1fe24f3 Linux v5.1-rc6-4-g7142eaa58b49 2019-04-23 14:32:58 +00:00
Jeremy Cline 647a44eba1 Reenable debugging options. 2019-04-23 14:30:39 +00:00
Jeremy Cline 3313b2c332 Check module signatures with the platform keyring (if enabled)
Upstream has made a keyring to the platform keys. The "KEYS: Allow
unrestricted boot-time addition of keys to secondary keyring" is
available upstream for the platform keyring.

The only issue is that module signatures aren't checked with the
platform keyring, so this introduces a patch to add that which has been
sent upstream. At least our carried-patch count hasn't gone up.
2019-04-23 14:21:09 +00:00
Jeremy Cline 8f968e6f02 Linux v5.1-rc6 2019-04-22 14:20:15 +00:00
Jeremy Cline 883af1564c Disable debugging options. 2019-04-22 14:04:58 +00:00
Jeremy Cline effd0d5bfe Linux v5.1-rc5-36-g444fe9913539 2019-04-17 14:56:18 +00:00
Jeremy Cline ae01eaba36 Linux v5.1-rc5-10-g618d919cae2f 2019-04-16 16:53:46 +00:00
Jeremy Cline b91f3aa192 Reenable debugging options. 2019-04-16 14:23:06 +00:00
Jeremy Cline 26a34633c2 Fix up the kexec IMA patch 2019-04-15 18:43:41 +00:00
Jeremy Cline 5ea5759dda Linux v5.1-rc5 2019-04-15 16:16:54 +00:00
Jeremy Cline 4b5e4234be Rebase the kernel lockdown patch set
Use the latest version of the kernel lockdown patch set. This includes a
few configuration renames:

CONFIG_KEXEC_VERIFY_SIG became CONFIG_KEXEC_SIG and
CONFIG_KEXEC_SIG_FORCE was added. CONFIG_KEXEC_SIG_FORCE=n because the
"kexec_file: Restrict at runtime if the kernel is locked down" patch
enforces the signature requirement when the kernel is locked down.

CONFIG_LOCK_DOWN_MANDATORY got renamed to CONFIG_LOCK_DOWN_KERNEL_FORCE
and remains false as LOCK_DOWN_IN_EFI_SECURE_BOOT covers enabling it for
EFI Secure Boot users.

Finally, the SysRq patches got dropped for the present.
2019-04-15 12:15:16 -04:00
Jeremy Cline 8495ba147b Linux v5.1-rc4-184-g8ee15f324866 2019-04-12 16:56:48 +00:00
Jeremy Cline 9a69644b16 Linux v5.1-rc4-58-g582549e3fbe1 2019-04-11 13:57:07 +00:00
Jeremy Cline ec6c211178 Linux v5.1-rc4-43-g771acc7e4a6e 2019-04-10 14:14:36 +00:00
Jeremy Cline 26ae226f4d Linux v5.1-rc4-34-g869e3305f23d 2019-04-09 15:13:32 +00:00
Jeremy Cline 0b76b205ac Reenable debugging options. 2019-04-09 15:10:12 +00:00
Jeremy Cline 3d872f43b8 Build libnvdimm as a module (rhbz 1696481) 2019-04-08 17:08:48 +00:00
Jeremy Cline 40d683e6db Linux v5.1-rc4 2019-04-08 16:58:32 +00:00
Jeremy Cline 9b8be7d377 Linux v5.1-rc3-206-gea2cec24c8d4 2019-04-05 14:40:37 +00:00
Jeremy Cline a0aaf95b00 Linux v5.1-rc3-35-g8ed86627f715 2019-04-03 17:49:51 +00:00
Jeremy Cline 29502db8a0 Linux v5.1-rc3-14-g5e7a8ca31926 2019-04-02 19:37:04 +00:00
Jeremy Cline 79281a6ba5 Reenable debugging options. 2019-04-02 18:58:17 +00:00
Jeremy Cline e0aa9e60cc Linux v5.1-rc3 2019-04-01 15:40:43 +00:00
Jeremy Cline ca14120224 Disable debugging options. 2019-04-01 15:29:49 +00:00
Jeremy Cline 677dc70b60 Linux v5.1-rc2-247-g9936328b41ce 2019-03-29 19:43:21 +00:00
Jeremy Cline ad0b6d368a Pick up a mm fix causing hangs (rhbz 1693525) 2019-03-29 19:36:44 +00:00
Colin Walters c5368cf936 devel: Don't run hardlink if rpm-ostree is in use
OSTree is a far, far more sophisticated wrapper around the `link()`
system call than the `hardlink` package - it supports using
as a mechanism for transactional offline updates, fetching over
HTTP with GPG signatures and deltas, etc.  rpm-ostree uses it
for everything.

Having the `kernel-devel` package run `hardlink` just adds
latency to `rpm-ostree compose tree` unnecessarily.
2019-03-29 02:26:34 +00:00
Jeremy Cline c552794cd5 Linux v5.1-rc2-243-g8c7ae38d1ce1 2019-03-28 20:06:43 +00:00
Jeremy Cline b844f75ea2 Linux v5.1-rc2-24-g14c741de9386 2019-03-27 18:14:04 +00:00
Jeremy Cline 2129b13059 Align the IPv4 netfilter configs with the IPv6 configs (rhbz 1672657)
IPv6 builds as a module, change IPv4 to be built as a module as well.
2019-03-27 18:13:27 +00:00
Jeremy Cline f86f195b90 Linux v5.1-rc2-16-g65ae689329c5 2019-03-26 19:06:04 +00:00
Jeremy Cline 15e9d9f66d Reenable debugging options. 2019-03-26 19:04:06 +00:00
Peter Robinson f1512dfeef Initial NXP i.MX8 enablement 2019-03-26 14:31:32 +00:00
Jeremy Cline 4f39cfdf95 Enable W1_MASTER_GPIO on aarch64 (rbhz #1671934) 2019-03-25 16:02:32 +00:00
Jeremy Cline 45e5a1f373 Linux v5.1-rc2 2019-03-25 14:51:10 +00:00
Jeremy Cline 915ea30215 Disable debugging options. 2019-03-25 14:30:45 +00:00
Peter Robinson a89bed2f8e TPM fix (rhbz 1688283) 2019-03-25 00:00:26 +00:00
Peter Robinson 509cc04d2b Fixes for Tegra Jetson TX series, Initial support for NVIDIA Jetson Nano 2019-03-24 17:16:09 +00:00
Jeremy Cline 70e042b78c Linux v5.1-rc1-66-gfd1f297b794c 2019-03-22 14:14:08 +00:00
Paul Bolle 2e975b2183 Remove all Kconfig symbols dropped in v5.1-rc1
There are 23 Kconfig symbols referenced in the files used for
configuration generation and in the shipped .config files that were
dropped in upstream v5.1-rc1. The references to these symbols can be
safely removed.

These symbols are:
    CONFIG_AD7152
    CONFIG_DEFAULT_SECURITY_DAC
    CONFIG_DEFAULT_SECURITY_SELINUX
    CONFIG_EARLY_PRINTK_EFI
    CONFIG_EXOFS_FS
    CONFIG_EXT4_ENCRYPTION
    CONFIG_F2FS_FS_ENCRYPTION
    CONFIG_FB_XGI
    CONFIG_MTD_MT81xx_NOR
    CONFIG_NFT_CHAIN_NAT_IPV4
    CONFIG_NFT_CHAIN_NAT_IPV6
    CONFIG_NFT_MASQ_IPV4
    CONFIG_NFT_MASQ_IPV6
    CONFIG_NFT_REDIR_IPV4
    CONFIG_NFT_REDIR_IPV6
    CONFIG_SCSI_OSD_DEBUG
    CONFIG_SCSI_OSD_DPRINT_SENSE
    CONFIG_SCSI_OSD_INITIATOR
    CONFIG_SCSI_OSD_ULD
    CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE
    CONFIG_SND_AUDIO_GRAPH_SCU_CARD
    CONFIG_SND_SIMPLE_SCU_CARD
    CONFIG_UBIFS_FS_ENCRYPTION

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-03-21 15:12:50 +00:00
Paul Bolle c9ac9acfb0 Remove three Kconfig symbols dropped before v5.0
Three Kconfig symbols were added to upstream v5.0-rc1 but dropped before
v5.0 was released (for various reasons): FB_LOGO_CENTER, RESCTRL, and
X86_RESCTRL. Remove them from our configuration generation system too.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-03-21 15:12:50 +00:00
Paul Bolle 03cb47494c configs: remove CONFIG_SUN50I_A64_UNSTABLE_TIMER
The patch that added the Kconfig symbol SUN50I_A64_UNSTABLE_TIMER was
dropped in commit 60a8ce36ab ("Raspberry Pi DT updates, Update
AllWinner A64 timer errata workaround"). So it's safe to drop it from
the configuration generation system too.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-03-21 10:34:06 -04:00
Jeremy Cline 47ae8ce524 Linux v5.1-rc1-15-gbabf09c3837f 2019-03-20 14:19:12 +00:00
Hans de Goede 34d65b13da Make the mainline vboxguest drv feature set match VirtualBox 6.0.x (#1689750) 2019-03-20 13:02:44 +01:00
Peter Robinson f1f58566b3 arm: build in some drivers needed by tegra jetson platforms 2019-03-19 17:58:59 +00:00
Peter Robinson 7644b3ba6f enable stmmac dwc-qos for tegra 2019-03-19 15:23:00 +00:00
Jeremy Cline b9534d956d Linux v5.1-rc1 2019-03-18 14:46:16 +00:00
Jeremy Cline e9a6f9df95 Disable debugging options. 2019-03-18 14:10:29 +00:00
Jeremy Cline 02d1cba5ee Fix up the rawhide-rc.sh script for 5.x 2019-03-18 14:09:10 +00:00
Peter Robinson bfbaeaff47 updates for Arm 2019-03-18 00:48:44 +00:00
Jeremy Cline 2372415c36 Linux v5.0-11520-gf261c4e529da 2019-03-15 14:48:09 +00:00
Jeremy Cline 3cc187999e Linux v5.0-11139-gfa3d493f7a57 2019-03-14 16:55:27 +00:00
Laura Abbott d7d54c5338 Turn off stackleak
We need to figure out how to properly do the building so
turn this off for now.
2019-03-13 17:00:47 -07:00
Jeremy Cline 2a6ca24d59 Linux v5.0-11053-gebc551f2b8f9 2019-03-13 15:11:54 +00:00
Paul Bolle 7043ed7dc5 configs: drop unneeded overrides
There are 255 overrides that have no effect as they are identical to the
files they override. In other words: these overrides have no effect on
the shipped .config files. They can safely be dropped.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-03-13 15:11:54 +00:00
Jeremy Cline d34432e996 Drop the duplicate/typo'd CROS_EC_DEBUGFS configs for arm/x86
It's off in the generic config, no need to make it more off.

Fat-fingered-by: Jeremy Cline <jcline@redhat.com>
Spotted-by: Paul Bolle <pebolle@tiscali.nl>
2019-03-12 18:24:56 -04:00
Paul Bolle 62e1b09e96 Fix filename typo CONFIG_STACKINIT
CONFIG_STACKINIT should be CONFIG_TEST_STACKINIT, even though this typo
has no effect on the build.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-03-12 18:19:30 -04:00
Jeremy Cline fe3f29352b Linux v5.0-10742-gea295481b6e3 2019-03-12 15:02:18 +00:00
Jeremy Cline 88d17afb24 Enable SPI_SPIDEV on x86
As requested on the Fedora kernel mailing list
2019-03-12 15:02:18 +00:00
Peter Robinson dab12d564c Arm config updates and fixes, fixes for Jetson TX series 2019-03-12 11:50:12 +00:00
Justin M. Forbes 598acf3132 Add config entry for CONFIG_CROS_EC_DEBUGFS 2019-03-11 16:31:34 -05:00
Chuanhong Guo 5e886d2ace Enable MESON_GX_PM_DOMAINS and PHY_MESON_GXL_USB2 for aarch64
Amlogic GXL SoCs needs these two for USB2.0 PHY and HDMI.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2019-03-11 20:07:26 +00:00
Jeremy Cline edfbff22b4 Linux v5.0-10360-g12ad143e1b80 2019-03-11 17:30:38 +00:00
Paul Bolle 55c734c218 Remove a patch that still touches userspace tools
The userspace tools were split out into kernel-tools in 2017. Remove a
patch that still touches them.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-03-11 17:30:38 +00:00
Paul Bolle 216317b0de Drop six orphaned patches
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-03-11 17:30:38 +00:00
Jeremy Cline 6c72c6753e Linux v5.0-7001-g610cd4eadec4 2019-03-08 16:38:03 +00:00
Jeremy Cline ece6441001 Linux v5.0-6399-gf90d64483ebd 2019-03-07 20:30:13 +00:00
Laura Abbott 4f4c8c1037 Fix for compilation error linked to rhbz 1686419 2019-03-07 10:39:36 -08:00
Jeremy Cline 4997df9dcb Linux v5.0-3452-g3717f613f48d 2019-03-06 17:15:13 +00:00
Jeremy Cline 3d24375518 Linux v5.0-510-gcd2a3bf02625 2019-03-05 16:28:29 +00:00
Jeremy Cline 408ba024e4 Reenable debugging options. 2019-03-05 14:36:29 +00:00
Laura Abbott 1bde9dbcae Linux v5.0.0 2019-03-04 07:23:36 -08:00
Laura Abbott c5018505ed Linux v5.0-rc8-3-g7d762d69145a 2019-02-26 09:00:23 -08:00
Laura Abbott 6d26752622 Reenable debugging options. 2019-02-26 08:57:36 -08:00
Laura Abbott 1249e57136 Linux v5.0-rc8 2019-02-25 08:56:01 -08:00
Peter Robinson a163f3690a arm: minor tweak, disable obsolete driver 2019-02-24 21:31:09 +00:00
Laura Abbott e1790511d6 Linux v5.0-rc7-118-g8a61716ff2ab 2019-02-22 09:41:13 -08:00
Peter Robinson 2a3662749d Improvements to 96boards Rock960 2019-02-21 11:41:43 +00:00
Laura Abbott 2a86b1122d Linux v5.0-rc7-85-g2137397c92ae 2019-02-20 10:55:54 -08:00
Laura Abbott 83d8534473 Linux v5.0-rc7-11-gb5372fe5dc84 2019-02-19 09:07:58 -08:00
Laura Abbott 0f823b00b3 Reenable debugging options. 2019-02-19 09:03:46 -08:00
Laura Abbott 16332ac6b7 Linux v5.0-rc7 2019-02-17 20:10:42 -08:00
Laura Abbott 7f7300be61 Linux v5.0-rc6-42-g1f947a7a011f 2019-02-13 07:46:36 -08:00
Laura Abbott 0dc887a93f Reenable debugging options. 2019-02-13 07:43:20 -08:00
Laura Abbott 80fe8c7b70 Drop the old sources (this is what screwed up the commmit) 2019-02-13 07:42:49 -08:00
Laura Abbott cf86731268 Revert "Linux v5.0-rc6-42-g1f947a7a011f"
This reverts commit aa760a8e17.

I don't know what happened with this snapshots
2019-02-13 07:38:06 -08:00
Laura Abbott aa760a8e17 Linux v5.0-rc6-42-g1f947a7a011f 2019-02-13 07:32:10 -08:00
Laura Abbott f045f0de6f Reenable debugging options. 2019-02-13 07:12:30 -08:00
Peter Robinson 50ae6178c9 Enable NXP Freescale Layerscape platform 2019-02-13 09:13:14 +00:00
Laura Abbott 8a2be6ef16 Enable CONFIG_ACPI_APEI_EINJ (rhbz 1670541) 2019-02-12 14:45:21 -08:00
Laura Abbott 4e4f5c72ef Linux v5.0-rc6
Tweaks to gcc9 fixes
2019-02-11 06:16:59 -08:00
Peter Robinson 76c7367ad0 Minor Arm fixes 2019-02-08 12:48:23 +00:00
Peter Robinson 51a54393e9 enable COMPAT on aarch64 to enable some legacy usecases on aarch64 with containers 2019-02-07 09:23:07 +00:00
Laura Abbott 0b1f32b6d6 Linux v5.0-rc4-106-g5b4746a03199 2019-02-04 14:58:10 +00:00
Hans de Goede 5668a090a8 Update comment on i915-enable-fastboot-on-vlv-chv.patch
It is now in -next / queued for merging into 5.1
2019-02-01 10:27:43 +01:00
Laura Abbott d310dc8c57 Linux v5.0-rc4-106-g5b4746a03199 2019-02-01 09:41:39 +01:00
Hans de Goede 3f22d634d2 Add patches from -next to enable i915.fastboot by default on Skylake+ for
https://fedoraproject.org/wiki/Changes/FlickerFreeBoot
2019-01-31 10:15:07 +01:00
Laura Abbott 0ccd979b76 Linux v5.0-rc4-59-g62967898789d 2019-01-30 16:26:48 +01:00
Laura Abbott 1b48caaece Disable CONFIG_JUMP_LABEL on s390x
This is causing problems with gcc9. Disable this until we find
a real solution.
2019-01-30 16:22:33 +01:00
Laura Abbott fee69e6d04 Linux v5.0-rc4-1-g4aa9fc2a435a 2019-01-29 08:32:15 +01:00
Laura Abbott 0c389c5ad0 Reenable debugging options. 2019-01-29 08:24:50 +01:00
Laura Abbott c2007dcec4 Linux v5.0-rc4 2019-01-28 07:32:25 +01:00
Laura Abbott a4462ff8ae Actually get building with gcc9
s390 is still failing to build so exclude it for now.
Also bring in some fixes to clean up the warnings.
(Two that should be accepted upstream, one that needs
a closer look)
2019-01-25 08:06:22 +01:00
Laura Abbott a20edb31c7 gcc9 fixes 2019-01-23 14:00:49 +01:00
Peter Robinson 0713adcf68 Update missed CONFIG_88EU_AP_MODE for R8188EU arm change 2019-01-23 11:54:23 +00:00
Laura Abbott e5a4f7f187 Linux v5.0-rc3-53-g333478a7eb21 2019-01-23 00:26:28 -08:00
Laura Abbott debd37a8d3 Reenable debugging options. 2019-01-23 00:21:59 -08:00
Peter Robinson d3e446dd5a enable R8188EU on all Arm arches 2019-01-23 03:55:19 +00:00
Laura Abbott 2066044f35 Linux v5.0-rc3 2019-01-20 16:58:27 -08:00
Laura Abbott c4fcfd41ed Forgot the file 2019-01-18 09:13:22 -08:00
Laura Abbott 53d9bbb5a7 Linux v5.0-rc2-211-gd7393226d15a 2019-01-18 09:08:28 -08:00
Laura Abbott f0f3f1d698 Linux v5.0-rc2-145-g7fbfee7c80de 2019-01-17 06:29:27 -08:00
Pablo Greco 6eaa39e231 Don't require python3 for a string replace 2019-01-16 17:16:21 -08:00
Pablo Greco 15c042d2f4 Only fix shebangs when building for Fedora.
If the kernel is being built for .el7, we don't have access to pathfix.py.
2019-01-16 17:15:44 -08:00
Laura Abbott 19c00cb313 Linux v5.0-rc2-141-g47bfa6d9dc8c 2019-01-16 07:21:41 -08:00
Laura Abbott 0f476611af Linux v5.0-rc2-36-gfe76fc6aaf53 2019-01-15 08:45:26 -08:00
Laura Abbott 1080cb00f3 Reenable debugging options. 2019-01-15 08:43:22 -08:00
Dan Horák e949755125 enable NX engine on ppc 2019-01-15 10:12:38 +01:00
Peter Robinson 84dd8fe882 a few dep fixes/cleanups post config cleanup 2019-01-15 06:30:26 +00:00
Peter Robinson e1a58ae2d6 powerpc: collapse powerpc64le into powerpc, only ppc64le exists now and only a few options in the subdir 2019-01-15 01:26:16 +00:00
Peter Robinson a5b9841d27 update .gitignore for v5 numbering 2019-01-15 01:17:15 +00:00
Laura Abbott 63c6bcda7b Enable CONFIG_GPIO_LEDS and CONFIG_GPIO_PCA953X (rhbz 1601623) 2019-01-14 13:59:58 -08:00
Paul Bolle 86228cf5f3 configs: Correct four non-standard filenames
These non-standard filenames have no effect on the build, but should
still be fixed since they could be confusing (to people and scripts).

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-01-14 13:49:56 -08:00
Paul Bolle 25e04032c6 Remove all references to unused Kconfig symbols
There are references to 330 unused Kconfig symbols in the tree. These
symbols are unused because, while they are valid, they do not end up in
the final .config files that the kernel's build system generates. This
happens because their dependencies aren't set.

Since these symbols do not end up in the final .config files they have
no effect on the build. Remove them.

These symbols are:
    CONFIG_3C515
    CONFIG_4KSTACKS
    CONFIG_AB3100_CORE
    CONFIG_AB3100_OTP
    CONFIG_AD5686
    CONFIG_ADM8211
    CONFIG_AIC79XX_BUILD_FIRMWARE
    CONFIG_AIC7XXX_BUILD_FIRMWARE
    CONFIG_AIRO
    CONFIG_AIRO_CS
    CONFIG_AMIGAONE
    CONFIG_AMX3_PM
    CONFIG_APM_POWER
    CONFIG_ARCH_HI3xxx
    CONFIG_ARM_ERRATA_326103
    CONFIG_ARM_ERRATA_411920
    CONFIG_ARM_ERRATA_458693
    CONFIG_ARM_ERRATA_460075
    CONFIG_ARM_ERRATA_742230
    CONFIG_ARM_ERRATA_742231
    CONFIG_ARM_ERRATA_743622
    CONFIG_ARM_ERRATA_751472
    CONFIG_AT76C50X_USB
    CONFIG_ATM_AMBASSADOR_DEBUG
    CONFIG_ATMEL
    CONFIG_ATM_FORE200E_DEBUG
    CONFIG_ATM_FORE200E_TX_RETRY
    CONFIG_ATM_FORE200E_USE_TASKLET
    CONFIG_ATM_HORIZON_DEBUG
    CONFIG_ATM_IA_DEBUG
    CONFIG_ATM_IDT77252_DEBUG
    CONFIG_ATM_IDT77252_RCV_ALL
    CONFIG_ATM_ZATM_DEBUG
    CONFIG_BACKLIGHT_TPS65217
    CONFIG_BACKLIGHT_WM831X
    CONFIG_BCM63XX_PHY
    CONFIG_BCM7038_WDT
    CONFIG_BCM_FLEXRM_MBOX
    CONFIG_BCM_PDC_MBOX
    CONFIG_BLK_DEV_AMD74XX
    CONFIG_BLK_DEV_CMD640
    CONFIG_BLK_DEV_CS5520
    CONFIG_BLK_DEV_CS5530
    CONFIG_BLK_DEV_CS5535
    CONFIG_BLK_DEV_IT8172
    CONFIG_BLK_DEV_PLATFORM
    CONFIG_BLK_DEV_RZ1000
    CONFIG_BLK_DEV_TRIFLEX
    CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH
    CONFIG_CAN_LEDS
    CONFIG_CAN_MPC5XXX
    CONFIG_CAN_TSCAN1
    CONFIG_CELL_CPU
    CONFIG_CHARGER_PCF50633
    CONFIG_CHARGER_TPS65217
    CONFIG_CHECK_STACK
    CONFIG_CIFS_NFSD_EXPORT
    CONFIG_CMDLINE_FROM_BOOTLOADER
    CONFIG_CONSISTENT_SIZE_BOOL
    CONFIG_CPU_DCACHE_DISABLE
    CONFIG_CRYPTO_DEV_CCP_CRYPTO
    CONFIG_CRYPTO_DEV_NX_COMPRESS
    CONFIG_CRYPTO_DEV_NX_COMPRESS_POWERNV
    CONFIG_CRYPTO_DEV_NX_COMPRESS_PSERIES
    CONFIG_CRYPTO_DEV_NX_ENCRYPT
    CONFIG_CRYPTO_DEV_PICOXCELL
    CONFIG_CS89x0
    CONFIG_DEBUG_SLAB
    CONFIG_DEFXX
    CONFIG_DISCONTIGMEM_MANUAL
    CONFIG_DMA_CACHE_RWFO
    CONFIG_DPM_WATCHDOG
    CONFIG_DRM_EXYNOS_G2D
    CONFIG_DRM_I810
    CONFIG_DRM_I915_DEBUG_VBLANK_EVADE
    CONFIG_DVB_B2C2_FLEXCOP_DEBUG
    CONFIG_DVB_RTL2832_SDR
    CONFIG_EDAC_AMD8111
    CONFIG_EDAC_AMD8131
    CONFIG_EDAC_MPC85XX
    CONFIG_EDAC_MV64X60
    CONFIG_EFI_PCDP
    CONFIG_EHEA
    CONFIG_ENC28J60
    CONFIG_EXOFS_DEBUG
    CONFIG_EZNPS_GIC
    CONFIG_FB_ATY128_BACKLIGHT
    CONFIG_FB_ATY_BACKLIGHT
    CONFIG_FB_ATY_CT
    CONFIG_FB_ATY_GX
    CONFIG_FB_BROADSHEET
    CONFIG_FB_CONTROL
    CONFIG_FB_CT65550
    CONFIG_FB_HECUBA
    CONFIG_FB_MB862XX_I2C
    CONFIG_FB_MB862XX_LIME
    CONFIG_FB_MB862XX_PCI_GDC
    CONFIG_FB_MX3
    CONFIG_FB_NVIDIA_BACKLIGHT
    CONFIG_FB_NVIDIA_DEBUG
    CONFIG_FB_NVIDIA_I2C
    CONFIG_FB_PLATINUM
    CONFIG_FB_PM2_FIFO_DISCONNECT
    CONFIG_FB_PRE_INIT_FB
    CONFIG_FB_RADEON_BACKLIGHT
    CONFIG_FB_RADEON_DEBUG
    CONFIG_FB_RADEON_I2C
    CONFIG_FB_RIVA_BACKLIGHT
    CONFIG_FB_RIVA_DEBUG
    CONFIG_FB_RIVA_I2C
    CONFIG_FB_S3C
    CONFIG_FB_VALKYRIE
    CONFIG_FB_VIA_DIRECT_PROCFS
    CONFIG_FHCI_DEBUG
    CONFIG_FS_ENET
    CONFIG_FSL_DMA
    CONFIG_FSL_MC_BUS
    CONFIG_FW_LOADER_USER_HELPER_FALLBACK
    CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL
    CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE
    CONFIG_GEF_PPC9A
    CONFIG_GEF_SBC310
    CONFIG_GEF_SBC610
    CONFIG_GPIO_104_DIO_48E
    CONFIG_GPIO_104_IDI_48
    CONFIG_GPIO_104_IDIO_16
    CONFIG_GPIO_BT8XX
    CONFIG_GPIO_INTEL_MID
    CONFIG_GPIO_TS5500
    CONFIG_GPIO_UCB1400
    CONFIG_GPIO_WM831X
    CONFIG_HSU_DMA_PCI
    CONFIG_HW_RANDOM_MXC_RNGA
    CONFIG_I2C_CPM
    CONFIG_IBMEBUS
    CONFIG_IBM_EMAC
    CONFIG_IDEPCI_PCIBUS_ORDER
    CONFIG_IMA_APPRAISE_BOOTPARAM
    CONFIG_IMA_BLACKLIST_KEYRING
    CONFIG_IMA_LOAD_X509
    CONFIG_IMA_TRUSTED_KEYRING
    CONFIG_INPUT_ARIZONA_HAPTICS
    CONFIG_INPUT_PCF50633_PMU
    CONFIG_INPUT_RETU_PWRBUTTON
    CONFIG_INPUT_WM831X_ON
    CONFIG_INTEL_SCU_IPC
    CONFIG_IOMMU_DEBUG
    CONFIG_IP_DCCP_CCID2_DEBUG
    CONFIG_IP_DCCP_CCID3
    CONFIG_IP_DCCP_CCID3_DEBUG
    CONFIG_IP_DCCP_DEBUG
    CONFIG_IRQ_CROSSBAR
    CONFIG_IRQSTACKS
    CONFIG_ISDN_DRV_LOOP
    CONFIG_IWLWIFI_PCIE_RTPM
    CONFIG_JFFS2_LZO
    CONFIG_JFFS2_RUBIN
    CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG
    CONFIG_KEYBOARD_SH_KEYSC
    CONFIG_KVM_EXIT_TIMING
    CONFIG_LANCE
    CONFIG_LEDS_GPIO_REGISTER
    CONFIG_LEDS_LOCOMO
    CONFIG_LEDS_LP55XX_COMMON
    CONFIG_LEDS_NET48XX
    CONFIG_LEDS_S3C24XX
    CONFIG_LEDS_WM831X_STATUS
    CONFIG_LEDS_WM8350
    CONFIG_MCU_MPC8349EMITX
    CONFIG_MEDIA_TUNER_MSI001
    CONFIG_MFD_ARIZONA
    CONFIG_MFD_WM831X
    CONFIG_MFD_WM8350
    CONFIG_MGCOGE
    CONFIG_MLX5_EN_IPSEC
    CONFIG_MOUSE_ATIXL
    CONFIG_MPC5121_ADS
    CONFIG_MPL115
    CONFIG_MSCC_OCELOT_SWITCH
    CONFIG_MTD_CFI_I4
    CONFIG_MTD_CFI_I8
    CONFIG_MTD_CK804XROM
    CONFIG_MTD_ESB2ROM
    CONFIG_MTD_MAP_BANK_WIDTH_16
    CONFIG_MTD_MAP_BANK_WIDTH_32
    CONFIG_MTD_MAP_BANK_WIDTH_8
    CONFIG_MTD_NAND_DENALI
    CONFIG_MTD_NAND_FSL_ELBC
    CONFIG_MTD_NAND_FSMC
    CONFIG_MTD_NAND_HISI504
    CONFIG_MTD_NAND_MTK
    CONFIG_MTD_NAND_OXNAS
    CONFIG_MTD_ONENAND_OMAP2
    CONFIG_MTD_TS5500
    CONFIG_MX3_IPU_IRQS
    CONFIG_MXC_DEBUG_BOARD
    CONFIG_NET_DSA_MV88E6060
    CONFIG_NET_VENDOR_PASEMI
    CONFIG_NET_VENDOR_TOSHIBA
    CONFIG_NFC_MRVL_SPI
    CONFIG_NFC_ST_NCI
    CONFIG_NF_CT_NETLINK_HELPER
    CONFIG_NF_CT_NETLINK_TIMEOUT
    CONFIG_NI65
    CONFIG_NTP_PPS
    CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS
    CONFIG_OMAP2_VRFB
    CONFIG_OMAP_PACKAGE_CBB
    CONFIG_OMAP_PACKAGE_CUS
    CONFIG_PATA_ARASAN_CF
    CONFIG_PC104
    CONFIG_PCF50633_ADC
    CONFIG_PCF50633_GPIO
    CONFIG_PCI_CNB20LE_QUIRK
    CONFIG_PCI_DRA7XX
    CONFIG_PCI_DRA7XX_EP
    CONFIG_PCI_DRA7XX_HOST
    CONFIG_PCI_EXYNOS
    CONFIG_PCMCIA_DEBUG
    CONFIG_PCMCIA_FMVJ18X
    CONFIG_PHY_ST_SPEAR1310_MIPHY
    CONFIG_PHY_ST_SPEAR1340_MIPHY
    CONFIG_PINCTRL_SPRD
    CONFIG_PINCTRL_SPRD_SC9860
    CONFIG_POWER5_CPU
    CONFIG_POWER6_CPU
    CONFIG_PPC_82xx
    CONFIG_PPC_83xx
    CONFIG_PPC_86xx
    CONFIG_PPC_CELL
    CONFIG_PPC_IBM_CELL_BLADE
    CONFIG_PPC_MAPLE
    CONFIG_PPC_MPC5200_LPBFIFO
    CONFIG_PPC_PASEMI
    CONFIG_PPC_PMAC
    CONFIG_PPC_PMAC64
    CONFIG_PREEMPT_TRACER
    CONFIG_QCA7000
    CONFIG_RADIO_AZTECH
    CONFIG_RADIO_CADET
    CONFIG_RADIO_GEMTEK
    CONFIG_RADIO_MIROPCM20
    CONFIG_RADIO_RTRACK
    CONFIG_RADIO_RTRACK2
    CONFIG_RADIO_SF16FMI
    CONFIG_RADIO_SF16FMR2
    CONFIG_RADIO_TERRATEC
    CONFIG_RADIO_TRUST
    CONFIG_RADIO_TYPHOON
    CONFIG_RADIO_ZOLTRIX
    CONFIG_RCU_FANOUT
    CONFIG_RCU_FANOUT_LEAF
    CONFIG_RCU_FAST_NO_HZ
    CONFIG_REGULATOR_TPS65217
    CONFIG_RTC
    CONFIG_RTC_DRV_AB3100
    CONFIG_RTC_DRV_EP93XX
    CONFIG_RTC_DRV_MOXART
    CONFIG_RTC_DRV_PCF50633
    CONFIG_RTC_DRV_TWL92330
    CONFIG_RTC_DRV_WM831X
    CONFIG_RTC_DRV_WM8350
    CONFIG_SAMSUNG_PM_CHECK
    CONFIG_SAMSUNG_PM_DEBUG
    CONFIG_SC520_WDT
    CONFIG_SCSI_AHA1542
    CONFIG_SCSI_IZIP_EPP16
    CONFIG_SCSI_IZIP_SLOW_CTR
    CONFIG_SENSORS_HMC5843
    CONFIG_SENSORS_WM831X
    CONFIG_SENSORS_WM8350
    CONFIG_SERIAL_8250_INGENIC
    CONFIG_SERIAL_CPM
    CONFIG_SERIAL_GRLIB_GAISLER_APBUART
    CONFIG_SERIAL_MPS2_UART
    CONFIG_SERIAL_QE
    CONFIG_SERIAL_SAMSUNG_DEBUG
    CONFIG_SH_ETH
    CONFIG_SKFP
    CONFIG_SLICOSS
    CONFIG_SND_SOC_ALL_CODECS
    CONFIG_SND_SOC_CS4271
    CONFIG_SND_SOC_INTEL_BAYTRAIL
    CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH
    CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH
    CONFIG_SND_SOC_PCM179X
    CONFIG_SOC_ZTE
    CONFIG_SPI_MXS
    CONFIG_SSB_HOST_SOC
    CONFIG_STA2X11
    CONFIG_STACK_GUARD
    CONFIG_STM_DUMMY
    CONFIG_STM_SOURCE_CONSOLE
    CONFIG_SYSFS_DEPRECATED_V2
    CONFIG_TCG_TIS_ST33ZP24
    CONFIG_TIMB_DMA
    CONFIG_TOUCHSCREEN_AD7879_I2C
    CONFIG_TOUCHSCREEN_UCB1400
    CONFIG_TOUCHSCREEN_W90X900
    CONFIG_TRACE_BRANCH_PROFILING
    CONFIG_UBSAN_ALIGNMENT
    CONFIG_UBSAN_SANITIZE_ALL
    CONFIG_UCC_GETH
    CONFIG_USB_CDC_PHONET
    CONFIG_USB_FHCI_HCD
    CONFIG_USB_ISP1362_HCD
    CONFIG_USB_OHCI_HCD_SSB
    CONFIG_USB_ZERO_HNPTEST
    CONFIG_VIDEO_ADP1653
    CONFIG_VIDEO_DM355_CCDC
    CONFIG_VIDEO_DM6446_CCDC
    CONFIG_VIDEO_M5MOLS
    CONFIG_VIDEO_NOON010PC30
    CONFIG_VIDEO_OMAP2_VOUT
    CONFIG_VIDEO_PCI_SKELETON
    CONFIG_VIDEO_QCOM_CAMSS
    CONFIG_VIDEO_SH_MOBILE_CEU
    CONFIG_VIDEO_SR030PC30
    CONFIG_VIDEO_VIA_CAMERA
    CONFIG_VIDEO_VIVID
    CONFIG_WINDFARM
    CONFIG_WKUP_M3_IPC
    CONFIG_WM831X_POWER
    CONFIG_WM831X_WATCHDOG
    CONFIG_WM8350_POWER
    CONFIG_WM8350_WATCHDOG
    CONFIG_XEN_STUB
    CONFIG_XILINX_LL_TEMAC
    CONFIG_XIP_KERNEL
    CONFIG_XPS_USB_HCD_XILINX

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-01-14 13:46:53 -08:00
Paul Bolle f25472e0ee Remove all Kconfig symbols dropped in v5.0-rc1
There are 26 Kconfig symbols referenced in the files used for
configuration generation and in the shipped .config files that were
dropped in upstream v5.0-rc1. The references to these symbols can be
safely removed.

These symbols are:
    CONFIG_BLK_WBT_SQ
    CONFIG_CFQ_GROUP_IOSCHED
    CONFIG_DEFAULT_CFQ
    CONFIG_DEFAULT_DEADLINE
    CONFIG_DEFAULT_NOOP
    CONFIG_DRM_EXYNOS_IOMMU
    CONFIG_IMX7_PM_DOMAINS
    CONFIG_INTEL_RDT
    CONFIG_IOSCHED_CFQ
    CONFIG_IOSCHED_DEADLINE
    CONFIG_IOSCHED_NOOP
    CONFIG_MICROCHIP_KSZ
    CONFIG_MICROCHIP_KSZ_SPI_DRIVER
    CONFIG_MTD_PHYSMAP_OF_GEMINI
    CONFIG_MTD_PHYSMAP_OF_VERSATILE
    CONFIG_MTD_SPINAND_MT29F
    CONFIG_MTD_SPINAND_ONDIEECC
    CONFIG_QTNFMAC_PEARL_PCIE
    CONFIG_SCSI_MQ_DEFAULT
    CONFIG_SND_AM33XX_SOC_EVM
    CONFIG_SND_DAVINCI_SOC
    CONFIG_SND_DAVINCI_SOC_GENERIC_EVM
    CONFIG_SND_DAVINCI_SOC_I2S
    CONFIG_SND_DAVINCI_SOC_MCASP
    CONFIG_SND_DAVINCI_SOC_VCIF
    CONFIG_SND_EDMA_SOC

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-01-14 13:46:30 -08:00
Paul Bolle 86ea590a63 Drop secure boot Kconfig symbols too
Commit cc1db7f347 ("Updates for secure boot") and commit 8e8de459e7
("Forgot to remove dropped patches") removed the patches that added
Kconfig symbols EFI_SIGNATURE_LIST_PARSER and LOAD_UEFI_KEYS. Remove
these symbols from the configuration generation directory and from the
shipped .config files.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2019-01-14 13:45:41 -08:00
Laura Abbott 032507a3f3 Fixup config options 2019-01-14 09:31:15 -08:00
Laura Abbott 69f10affd5 Linux v5.0-rc2 2019-01-14 09:18:40 -08:00
Laura Abbott 5a05c0c2d8 Disable debugging options. 2019-01-14 09:06:51 -08:00
Peter Robinson 60a8ce36ab Raspberry Pi DT updates, Update AllWinner A64 timer errata workaround 2019-01-13 04:44:19 +00:00
Peter Robinson 89735063a0 actually add CONFIG_PCI_MESON 2019-01-13 00:18:07 +00:00
Laura Abbott ad92736b43 Linux v5.0-rc1-43-g1bdbe2274920 2019-01-11 07:57:17 -08:00
Laura Abbott 22313dc05a Linux v5.0-rc1-26-g70c25259537c 2019-01-10 08:03:42 -08:00
Justin M. Forbes dc45afc7d9 lockdown update for S390 2019-01-10 08:38:14 -06:00
Peter Robinson 8c38f1d976 A few Raspberry Pi cleanups, add gpio line names 2019-01-10 12:57:15 +00:00
Peter Robinson c50bbd2bed drop rpi camera/audio patch, now upstream 2019-01-10 12:42:00 +00:00
Peter Robinson c9c254b749 minor Arm config tweaks 2019-01-10 12:20:09 +00:00
Peter Robinson 5bee756107 efi fix for arm-32 systems 2019-01-10 08:26:34 +00:00
Laura Abbott 971e3e9031 Linux v5.0-rc1-24-g4064e47c8281 2019-01-09 10:11:34 -08:00
Justin M. Forbes 22a3ba7648 Fix CVE-2019-3701 (rhbz 1663729 1663730) 2019-01-09 09:50:29 -06:00
Laura Abbott 63d40f4c3a More fixup of the headers script 2019-01-08 15:37:03 -08:00
Laura Abbott edf855c97b Linux v5.0-rc1-2-g7b5585136713 2019-01-08 15:20:42 -08:00
Laura Abbott 2277b29cdd Reenable debugging options. 2019-01-08 15:20:37 -08:00
Laura Abbott 2971bf5fd8 Fix this one too 2019-01-08 15:20:17 -08:00
Laura Abbott b3cedc3d7b Switch from xz -> gz
The 5.0-rc are currently using gz tarballs. Account for this.
2019-01-08 15:14:13 -08:00
Justin M. Forbes 8e8de459e7 Forgot to remove dropped patches 2019-01-07 16:23:55 -06:00
Justin M. Forbes cc1db7f347 Updates for secure boot 2019-01-07 15:09:43 -06:00
Laura Abbott 27b219978f Need to drop this too apparently 2019-01-07 07:53:22 -08:00
Laura Abbott be2536aea8 Linux v5.0-rc1
5.0! Yay!

Most of the hard work of what to do has already been figured
out (see d7293323e7)

We will once again need to undo some hacks when 5.0 is officially
released:

upstream_sublevel
kversion
Source0
2019-01-07 07:37:34 -08:00
Laura Abbott 5f6c3d9fc4 Disable debugging options. 2019-01-07 07:37:28 -08:00
Laura Abbott ab28abb0b2 Bump for 5.0 2019-01-07 06:55:50 -08:00
Peter Robinson 4479cba924 Minor cleanup for DRM_PANEL configs, enable a couple of Arm panels, minor Arm cleanups 2019-01-07 08:12:40 +00:00
Laura Abbott 7590be9fd1 Linux v4.20-10979-g96d4f267e40f 2019-01-04 07:39:28 -08:00
Peter Robinson 26d1ebd6e9 and actually commit the QTNFMAC_PEARL_PCIE config file 2019-01-04 10:38:13 +00:00
Peter Robinson 43085e665a add back accidentally dropped QTNFMAC_PEARL_PCIE 2019-01-04 10:37:04 +00:00
Peter Robinson ba9d1a17f2 First pass at updates for Arm plaforms, also some IoT updates (mostly a few IIO drivers), a few cleanups of old/dupe config opts 2019-01-04 10:02:25 +00:00
Laura Abbott f90c11ff1b This needs to be off 2019-01-03 10:16:41 -08:00
Laura Abbott dd000cd2fd Linux v4.20-10911-g645ff1e8e704
Dropped part of the efi-lockdown patchset for IMA until
conflicts get resolved.
2019-01-03 08:28:18 -08:00
Laura Abbott cca46e0b1d Keep that off for now 2019-01-03 08:10:14 -08:00
Peter Robinson 7d2d670106 powerpc: enable P8/P9 On-Chip Controller (OCC) hwmon drivers 2019-01-03 02:14:02 +00:00
Peter Robinson a2d19a148d Enable V4L request API, only used for some stateless media accelerators on Arm, enable AllWinner Camera interface 2019-01-03 01:47:02 +00:00
Peter Robinson ed8f2690bd Drop ISN Eicon driver, deleted upstream 2019-01-03 01:26:01 +00:00
Peter Robinson a2e4f52009 some fixups for general fedpkg prep on 4.21 2019-01-03 01:18:51 +00:00
Laura Abbott c3110e3682 Linux v4.20-10595-g8e143b90e4d4 2019-01-02 08:15:21 -08:00
Laura Abbott 08376d1f13 Linux v4.20-9221-gf12e840c819b 2018-12-31 14:45:49 -08:00
Laura Abbott 4df3eb379d Disable CONFIG_MISC_ALCOR_PCI on s390x
The filtering is broken (plus we probably don't need it)
2018-12-31 14:42:45 -08:00
Laura Abbott b27aa7db55 Fix crash driver to use linux/uaccess.h 2018-12-31 14:40:58 -08:00
Laura Abbott c97d3b0f76 Linux v4.20-9163-g195303136f19 2018-12-30 09:30:50 -08:00
Laura Abbott 78aac8bf1f Enable CONFIG_NET_SCH_CAKE (rhbz 1655155) 2018-12-28 14:19:06 -08:00
Laura Abbott 968d34de7d Whoops forgot the config file 2018-12-28 14:17:57 -08:00
Laura Abbott 09c204fb01 Enable CONFIG_BPF_LIRC_MODE2 (rhbz 1628151) 2018-12-28 14:12:16 -08:00
Artem Bityutskiy 6bd2df7564 mod-extra.list: add ETF qdisc to the the the extra modules package
The ETF qdisc (sch_etf.ko) belongs to the extras just like other qdiscs.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2018-12-28 14:08:09 -08:00
Artem Bityutskiy 4d74a54cd4 Enable CONFIG_NET_SCH_ETF
Enable the ETF queuing discipline (qdisc) as a module, similar to many other
qdiscs that we have enabled as modules.

ETF stands for Earliest TxTime first and it enables applications to schedule
network packets to be sent in the future.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2018-12-28 14:07:22 -08:00
Laura Abbott cd87327143 Forgot to add these files 2018-12-28 13:55:34 -08:00
Laura Abbott 6803e599e1 Linux v4.20-6428-g00c569b567c7 2018-12-28 13:55:13 -08:00
Hans de Goede 8a27b4e99d Set CONFIG_REALTEK_PHY=y to workaround realtek ethernet issues (rhbz 1650984) 2018-12-27 16:50:01 +01:00
Laura Abbott baea90e1b4 Linux v4.20-3117-ga5f2bd479f58 2018-12-26 13:30:36 -08:00
Laura Abbott f766e81da3 Reenable debugging options. 2018-12-26 12:03:35 -08:00
Peter Robinson bd7d297390 The TI Bluetooth now uses uart with the standard serdev bits and this driver is unused, hasn't been built in since we disabled the useless TI_ST driver 2018-12-26 03:16:35 +00:00
Peter Robinson c15a3373f9 drop arch/x86/kernel/macros.s copy, no longer exists 2018-12-25 01:47:42 +00:00
Peter Robinson a1b84087fb Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/kernel 2018-12-25 01:42:55 +00:00
Peter Robinson e424a12707 fix Raspberry Pi 3A+ DT 2018-12-25 01:40:48 +00:00
Justin M. Forbes 2a6ecdce8b Linux v4.20.0 2018-12-24 11:17:34 -06:00
Peter Robinson 510d60d1e2 Another fix for issue affecting Raspberry Pi 3-series WiFi (rhbz 1652093) 2018-12-24 02:47:39 +00:00
Justin M. Forbes f08646fff0 Linux v4.20-rc7-214-g9097a058d49e 2018-12-21 11:57:15 -06:00
Justin M. Forbes e7762a8b71 Linux v4.20-rc7-202-g1d51b4b1d3f2 2018-12-20 10:44:09 -06:00
Peter Robinson 4a2d2029b8 Stability fixes for Raspberry Pi MMC (sdcard) driver 2018-12-20 04:05:07 +00:00
Peter Robinson 83989fccc2 Initial support for Raspberry Pi model 3A+ 2018-12-20 03:16:00 +00:00
Justin M. Forbes 11488b8b25 Fix default for CONFIG_DVB_MAX_ADAPTERS 2018-12-19 18:00:51 -06:00
Justin M. Forbes abc158d467 Linux v4.20-rc7-6-gddfbab46539f 2018-12-18 16:46:25 -06:00
Justin M. Forbes f94c9af093 Linux v4.20-rc7 2018-12-17 07:30:59 -06:00
Justin M. Forbes 8c1796fac8 Disable debugging options. 2018-12-17 06:35:24 -06:00
Peter Robinson 8565e78e82 Enhancements for Raspberrp Pi Camera 2018-12-17 05:13:39 +00:00
Justin M. Forbes 7fbdf3f0bf Add CONFIG_MEDIA_CONTROLLER_REQUEST_API 2018-12-13 16:50:51 -06:00
Justin M. Forbes 92ac1e3421 Linux v4.20-rc6-82-g65e08c5e8631 2018-12-13 16:32:46 -06:00
Peter Robinson fe9a1861c9 actually add the DA9063 configs for prior change 2018-12-12 08:54:45 +00:00
Peter Robinson 6e2fc66d7a Minor Arm updates for NXP i.MX 6/7 series devices 2018-12-12 08:51:56 +00:00
Peter Robinson 4d72568350 drop duplicate REGULATOR_MAX8952 entries (NFC) 2018-12-12 08:36:46 +00:00
Peter Robinson 1e0d3a2c64 few more minor AllWinner sunxi cleanups, NFC 2018-12-12 07:33:05 +00:00
Peter Robinson cb152fa1b2 Minor cleanups and consolidation of AllWinner configs 2018-12-12 06:38:49 +00:00
Justin M. Forbes 6d894ab21d Linux v4.20-rc6-25-gf5d582777bcb 2018-12-11 11:32:35 -06:00
Hans de Goede 6a45433b3d Really fix non functional hotkeys on Asus FX503VD (#1645070) 2018-12-11 12:24:42 +01:00
Justin M. Forbes 28efc2b6d8 Linux v4.20-rc6 2018-12-10 09:56:51 -06:00
Justin M. Forbes a5ed0b75f9 Disable debugging options. 2018-12-10 07:04:52 -06:00
Justin M. Forbes 2dc35eee33 Linux v4.20-rc5-86-gb72f711a4efa 2018-12-07 10:06:21 -06:00
Justin M. Forbes 22c4d677f9 Linux v4.20-rc5-44-gd08970904582 2018-12-05 14:01:46 -06:00
Jeremy Cline c0dbaa3cc5
Fix corruption bug in direct dispatch for blk-mq 2018-12-05 09:51:03 -05:00
Justin M. Forbes 4d43220d69 Linux v4.20-rc5-21-g0072a0c14d5b 2018-12-04 16:49:41 -06:00
Peter Robinson b385dc2005 remove obsolete option 2018-12-04 04:16:34 +00:00
Justin M. Forbes 10c4e09883 Linux v4.20-rc5 2018-12-03 12:02:17 -06:00
Justin M. Forbes c85b42d5d9 Disable debugging options. 2018-12-03 11:00:53 -06:00
Hans de Goede 26c1fe50a0 Fix non functional hotkeys on Asus FX503VD (#1645070) 2018-12-03 17:34:30 +01:00
Peter Robinson b9bb3eb2c7 minor config cleanups 2018-12-03 07:29:43 +00:00
Peter Jones fe9e33a887 Re-enable CONFIG_CRYPTO_DEV_SP_PSP so I can work on SEV stuff.
Waaay back in October, we saw some issues with various system firmware
talking to the AMD SP PSP devices (the secure processor feature), and so
CONFIG_CRYPTO_DEV_SP_PSP got disabled in all of our kernel trees, as
Laura noted here: https://bugzilla.redhat.com/show_bug.cgi?id=1608242#c44 .

I'm trying to use it, and this obviously makes that impossible to do, so
I'm going to re-enable it in rawhide, because the timeout that's being
discussed in that bugzilla thread is already there, and so this firmware
bugs people saw before shouldn't make things completely unusable.

If you *do* see debilitating stalls on AMD EPYC hardware starting after
the next rawhide build, make some noise so we can disable it again.

(I've also posted this to kernel@l.fp.o: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org/thread/22XCMRU4R75M4D5OSXE7YMWYVOBQIU2M/ )

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-11-30 14:36:02 -05:00
Peter Jones f8216ee47a Enable CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
This makes it so users don't have to do mem_encrypt=1 to enable SEV VMs.

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-11-30 14:05:53 -05:00
Justin M. Forbes 7f66c53653 Linux v4.20-rc4-156-g94f371cb7394 2018-11-30 10:04:13 -06:00
Justin M. Forbes 1288f313f9 Linux v4.20-rc4-35-g121b018f8c74 2018-11-28 15:44:05 -06:00
Peter Robinson b0d8b6c41c enable Amlogic Meson GX series pinctrl drivers for arm64 2018-11-27 10:47:59 +00:00
10677 changed files with 88299 additions and 29339 deletions

8
.gitignore vendored
View File

@ -1,10 +1,2 @@
clog
*.xz
*.bz2
*.rpm
*.orig
*.sign
kernel-[234].*/
perf-man-*.tar.gz
kernel-headers/
kernel-tools/

View File

@ -1,109 +0,0 @@
From 3ce5852ec6add45a28fe1706e9163351940e905c Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Mon, 2 Oct 2017 18:25:29 -0400
Subject: [PATCH 1/3] Make get_cert_list() not complain about cert lists that
aren't present.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
certs/load_uefi.c | 37 ++++++++++++++++++++++---------------
1 file changed, 22 insertions(+), 15 deletions(-)
diff --git a/certs/load_uefi.c b/certs/load_uefi.c
index 3d884598601..9ef34c44fd1 100644
--- a/certs/load_uefi.c
+++ b/certs/load_uefi.c
@@ -35,8 +35,8 @@ static __init bool uefi_check_ignore_db(void)
/*
* Get a certificate list blob from the named EFI variable.
*/
-static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid,
- unsigned long *size)
+static __init int get_cert_list(efi_char16_t *name, efi_guid_t *guid,
+ unsigned long *size, void **cert_list)
{
efi_status_t status;
unsigned long lsize = 4;
@@ -44,26 +44,33 @@ static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid,
void *db;
status = efi.get_variable(name, guid, NULL, &lsize, &tmpdb);
+ if (status == EFI_NOT_FOUND) {
+ *size = 0;
+ *cert_list = NULL;
+ return 0;
+ }
+
if (status != EFI_BUFFER_TOO_SMALL) {
pr_err("Couldn't get size: 0x%lx\n", status);
- return NULL;
+ return efi_status_to_err(status);
}
db = kmalloc(lsize, GFP_KERNEL);
if (!db) {
pr_err("Couldn't allocate memory for uefi cert list\n");
- return NULL;
+ return -ENOMEM;
}
status = efi.get_variable(name, guid, NULL, &lsize, db);
if (status != EFI_SUCCESS) {
kfree(db);
pr_err("Error reading db var: 0x%lx\n", status);
- return NULL;
+ return efi_status_to_err(status);
}
*size = lsize;
- return db;
+ *cert_list = db;
+ return 0;
}
/*
@@ -152,10 +159,10 @@ static int __init load_uefi_certs(void)
* an error if we can't get them.
*/
if (!uefi_check_ignore_db()) {
- db = get_cert_list(L"db", &secure_var, &dbsize);
- if (!db) {
+ rc = get_cert_list(L"db", &secure_var, &dbsize, &db);
+ if (rc < 0) {
pr_err("MODSIGN: Couldn't get UEFI db list\n");
- } else {
+ } else if (dbsize != 0) {
rc = parse_efi_signature_list("UEFI:db",
db, dbsize, get_handler_for_db);
if (rc)
@@ -164,10 +171,10 @@ static int __init load_uefi_certs(void)
}
}
- mok = get_cert_list(L"MokListRT", &mok_var, &moksize);
- if (!mok) {
+ rc = get_cert_list(L"MokListRT", &mok_var, &moksize, &mok);
+ if (rc < 0) {
pr_info("MODSIGN: Couldn't get UEFI MokListRT\n");
- } else {
+ } else if (moksize != 0) {
rc = parse_efi_signature_list("UEFI:MokListRT",
mok, moksize, get_handler_for_db);
if (rc)
@@ -175,10 +182,10 @@ static int __init load_uefi_certs(void)
kfree(mok);
}
- dbx = get_cert_list(L"dbx", &secure_var, &dbxsize);
- if (!dbx) {
+ rc = get_cert_list(L"dbx", &secure_var, &dbxsize, &dbx);
+ if (rc < 0) {
pr_info("MODSIGN: Couldn't get UEFI dbx list\n");
- } else {
+ } else if (dbxsize != 0) {
rc = parse_efi_signature_list("UEFI:dbx",
dbx, dbxsize,
get_handler_for_dbx);
--
2.15.0

View File

@ -1,64 +0,0 @@
From 0eadbb65c0026fb4eec89c54f6b48a0febd87f92 Mon Sep 17 00:00:00 2001
From: Laura Abbott <labbott@redhat.com>
Date: Fri, 9 Sep 2016 08:19:17 -0700
Subject: [PATCH] iio: Use type header from kernel tree
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
To: Jonathan Cameron <jic23@kernel.org>
To: Hartmut Knaack <knaack.h@gmx.de>
To: Lars-Peter Clausen <lars@metafoo.de>
To: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
The iio tools have been updated as new event types have been added to
the kernel. The tools currently use the standard system headers which
means that the system may not have the newest defintitions. This leads
to build failures when building newer tools on older hosts:
gcc -Wall -g -D_GNU_SOURCE -c -o iio_event_monitor.o
iio_event_monitor.c
iio_event_monitor.c:59:3: error: IIO_UVINDEX undeclared here (not in a
function)
[IIO_UVINDEX] = "uvindex",
^~~~~~~~~~~
iio_event_monitor.c:59:3: error: array index in initializer not of
integer type
iio_event_monitor.c:59:3: note: (near initialization for
iio_chan_type_name_spec)
iio_event_monitor.c:97:3: error: IIO_MOD_LIGHT_UV undeclared here (not
in a function)
[IIO_MOD_LIGHT_UV] = "uv",
^~~~~~~~~~~~~~~~
iio_event_monitor.c:97:3: error: array index in initializer not of
integer type
iio_event_monitor.c:97:3: note: (near initialization for
iio_modifier_names)
<builtin>: recipe for target 'iio_event_monitor.o' failed
Switch to using the header from the kernel tree to ensure the newest
defintions are always picked up.
Signed-off-by: Laura Abbott <labbott@redhat.com>
---
tools/iio/iio_event_monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c
index d9b7e0f..f02523d 100644
--- a/tools/iio/iio_event_monitor.c
+++ b/tools/iio/iio_event_monitor.c
@@ -26,7 +26,7 @@
#include <sys/ioctl.h>
#include "iio_utils.h"
#include <linux/iio/events.h>
-#include <linux/iio/types.h>
+#include "../../include/uapi/linux/iio/types.h"
static const char * const iio_chan_type_name_spec[] = {
[IIO_VOLTAGE] = "voltage",
--
2.7.4

View File

@ -1,183 +0,0 @@
From c8218e9b3c38fcd36a2d06eec09952a0c6cee9e0 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Mon, 2 Oct 2017 18:22:13 -0400
Subject: [PATCH 2/3] Add efi_status_to_str() and rework efi_status_to_err().
This adds efi_status_to_str() for use when printing efi_status_t
messages, and reworks efi_status_to_err() so that the two use a common
list of errors.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
include/linux/efi.h | 3 ++
drivers/firmware/efi/efi.c | 122 ++++++++++++++++++++++++++++++++++-----------
2 files changed, 95 insertions(+), 30 deletions(-)
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 18b16bf5ce1..436b3c93c3d 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -42,6 +42,8 @@
#define EFI_ABORTED (21 | (1UL << (BITS_PER_LONG-1)))
#define EFI_SECURITY_VIOLATION (26 | (1UL << (BITS_PER_LONG-1)))
+#define EFI_IS_ERROR(x) ((x) & (1UL << (BITS_PER_LONG-1)))
+
typedef unsigned long efi_status_t;
typedef u8 efi_bool_t;
typedef u16 efi_char16_t; /* UNICODE character */
@@ -1183,6 +1185,7 @@ static inline void efi_set_secure_boot(enum efi_secureboot_mode mode) {}
#endif
extern int efi_status_to_err(efi_status_t status);
+extern const char *efi_status_to_str(efi_status_t status);
/*
* Variable Attributes
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
index 557a47829d0..e8f9c7d84e9 100644
--- a/drivers/firmware/efi/efi.c
+++ b/drivers/firmware/efi/efi.c
@@ -31,6 +31,7 @@
#include <linux/acpi.h>
#include <linux/ucs2_string.h>
#include <linux/memblock.h>
+#include <linux/bsearch.h>
#include <asm/early_ioremap.h>
@@ -865,40 +866,101 @@ int efi_mem_type(unsigned long phys_addr)
}
#endif
+struct efi_error_code {
+ efi_status_t status;
+ int errno;
+ const char *description;
+};
+
+static const struct efi_error_code efi_error_codes[] = {
+ { EFI_SUCCESS, 0, "Success"},
+#if 0
+ { EFI_LOAD_ERROR, -EPICK_AN_ERRNO, "Load Error"},
+#endif
+ { EFI_INVALID_PARAMETER, -EINVAL, "Invalid Parameter"},
+ { EFI_UNSUPPORTED, -ENOSYS, "Unsupported"},
+ { EFI_BAD_BUFFER_SIZE, -ENOSPC, "Bad Buffer Size"},
+ { EFI_BUFFER_TOO_SMALL, -ENOSPC, "Buffer Too Small"},
+ { EFI_NOT_READY, -EAGAIN, "Not Ready"},
+ { EFI_DEVICE_ERROR, -EIO, "Device Error"},
+ { EFI_WRITE_PROTECTED, -EROFS, "Write Protected"},
+ { EFI_OUT_OF_RESOURCES, -ENOMEM, "Out of Resources"},
+#if 0
+ { EFI_VOLUME_CORRUPTED, -EPICK_AN_ERRNO, "Volume Corrupt"},
+ { EFI_VOLUME_FULL, -EPICK_AN_ERRNO, "Volume Full"},
+ { EFI_NO_MEDIA, -EPICK_AN_ERRNO, "No Media"},
+ { EFI_MEDIA_CHANGED, -EPICK_AN_ERRNO, "Media changed"},
+#endif
+ { EFI_NOT_FOUND, -ENOENT, "Not Found"},
+#if 0
+ { EFI_ACCESS_DENIED, -EPICK_AN_ERRNO, "Access Denied"},
+ { EFI_NO_RESPONSE, -EPICK_AN_ERRNO, "No Response"},
+ { EFI_NO_MAPPING, -EPICK_AN_ERRNO, "No mapping"},
+ { EFI_TIMEOUT, -EPICK_AN_ERRNO, "Time out"},
+ { EFI_NOT_STARTED, -EPICK_AN_ERRNO, "Not started"},
+ { EFI_ALREADY_STARTED, -EPICK_AN_ERRNO, "Already started"},
+#endif
+ { EFI_ABORTED, -EINTR, "Aborted"},
+#if 0
+ { EFI_ICMP_ERROR, -EPICK_AN_ERRNO, "ICMP Error"},
+ { EFI_TFTP_ERROR, -EPICK_AN_ERRNO, "TFTP Error"},
+ { EFI_PROTOCOL_ERROR, -EPICK_AN_ERRNO, "Protocol Error"},
+ { EFI_INCOMPATIBLE_VERSION, -EPICK_AN_ERRNO, "Incompatible Version"},
+#endif
+ { EFI_SECURITY_VIOLATION, -EACCES, "Security Policy Violation"},
+#if 0
+ { EFI_CRC_ERROR, -EPICK_AN_ERRNO, "CRC Error"},
+ { EFI_END_OF_MEDIA, -EPICK_AN_ERRNO, "End of Media"},
+ { EFI_END_OF_FILE, -EPICK_AN_ERRNO, "End of File"},
+ { EFI_INVALID_LANGUAGE, -EPICK_AN_ERRNO, "Invalid Languages"},
+ { EFI_COMPROMISED_DATA, -EPICK_AN_ERRNO, "Compromised Data"},
+
+ // warnings
+ { EFI_WARN_UNKOWN_GLYPH, -EPICK_AN_ERRNO, "Warning Unknown Glyph"},
+ { EFI_WARN_DELETE_FAILURE, -EPICK_AN_ERRNO, "Warning Delete Failure"},
+ { EFI_WARN_WRITE_FAILURE, -EPICK_AN_ERRNO, "Warning Write Failure"},
+ { EFI_WARN_BUFFER_TOO_SMALL, -EPICK_AN_ERRNO, "Warning Buffer Too Small"},
+#endif
+};
+
+static int
+efi_status_cmp_bsearch(const void *key, const void *item)
+{
+ u64 status = (u64)(uintptr_t)key;
+ struct efi_error_code *code = (struct efi_error_code *)item;
+
+ if (status < code->status)
+ return -1;
+ if (status > code->status)
+ return 1;
+ return 0;
+}
+
int efi_status_to_err(efi_status_t status)
{
- int err;
+ struct efi_error_code *found;
+ size_t num = sizeof(efi_error_codes) / sizeof(struct efi_error_code);
- switch (status) {
- case EFI_SUCCESS:
- err = 0;
- break;
- case EFI_INVALID_PARAMETER:
- err = -EINVAL;
- break;
- case EFI_OUT_OF_RESOURCES:
- err = -ENOSPC;
- break;
- case EFI_DEVICE_ERROR:
- err = -EIO;
- break;
- case EFI_WRITE_PROTECTED:
- err = -EROFS;
- break;
- case EFI_SECURITY_VIOLATION:
- err = -EACCES;
- break;
- case EFI_NOT_FOUND:
- err = -ENOENT;
- break;
- case EFI_ABORTED:
- err = -EINTR;
- break;
- default:
- err = -EINVAL;
- }
+ found = bsearch((void *)(uintptr_t)status, efi_error_codes,
+ sizeof(struct efi_error_code), num,
+ efi_status_cmp_bsearch);
+ if (!found)
+ return -EINVAL;
+ return found->errno;
+}
- return err;
+const char *
+efi_status_to_str(efi_status_t status)
+{
+ struct efi_error_code *found;
+ size_t num = sizeof(efi_error_codes) / sizeof(struct efi_error_code);
+
+ found = bsearch((void *)(uintptr_t)status, efi_error_codes,
+ sizeof(struct efi_error_code), num,
+ efi_status_cmp_bsearch);
+ if (!found)
+ return "Unknown error code";
+ return found->description;
}
bool efi_is_table_address(unsigned long phys_addr)
--
2.15.0

View File

@ -1,38 +0,0 @@
From 520e902d864930e2d4f329983d9ae9781a24231f Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Mon, 2 Oct 2017 18:18:30 -0400
Subject: [PATCH 3/3] Make get_cert_list() use efi_status_to_str() to print
error messages.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
certs/load_uefi.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/certs/load_uefi.c b/certs/load_uefi.c
index 9ef34c44fd1..13a2826715d 100644
--- a/certs/load_uefi.c
+++ b/certs/load_uefi.c
@@ -51,7 +51,8 @@ static __init int get_cert_list(efi_char16_t *name, efi_guid_t *guid,
}
if (status != EFI_BUFFER_TOO_SMALL) {
- pr_err("Couldn't get size: 0x%lx\n", status);
+ pr_err("Couldn't get size: %s (0x%lx)\n",
+ efi_status_to_str(status), status);
return efi_status_to_err(status);
}
@@ -64,7 +65,8 @@ static __init int get_cert_list(efi_char16_t *name, efi_guid_t *guid,
status = efi.get_variable(name, guid, NULL, &lsize, db);
if (status != EFI_SUCCESS) {
kfree(db);
- pr_err("Error reading db var: 0x%lx\n", status);
+ pr_err("Error reading db var: %s (0x%lx)\n",
+ efi_status_to_str(status), status);
return efi_status_to_err(status);
}
--
2.15.0

View File

@ -1,64 +0,0 @@
From dbdda4277cf0422a9ccb7ea98d0263c3cdbecdf6 Mon Sep 17 00:00:00 2001
From: Mark Salter <msalter@redhat.com>
Date: Tue, 8 May 2018 21:54:39 -0400
Subject: [PATCH] ACPI / irq: Workaround firmware issue on X-Gene based
m400
The ACPI firmware on the xgene-based m400 platorms erroneously
describes its UART interrupt as ACPI_PRODUCER rather than
ACPI_CONSUMER. This leads to the UART driver being unable to
find its interrupt and the kernel unable find a console.
Work around this by avoiding the producer/consumer check
for X-Gene UARTs.
Signed-off-by: Mark Salter <msalter@redhat.com>
---
drivers/acpi/irq.c | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/irq.c b/drivers/acpi/irq.c
index 7c352cba0528..028c1a564cff 100644
--- a/drivers/acpi/irq.c
+++ b/drivers/acpi/irq.c
@@ -129,6 +129,7 @@ struct acpi_irq_parse_one_ctx {
unsigned int index;
unsigned long *res_flags;
struct irq_fwspec *fwspec;
+ bool skip_producer_check;
};
/**
@@ -200,7 +201,8 @@ static acpi_status acpi_irq_parse_one_cb(struct acpi_resource *ares,
return AE_CTRL_TERMINATE;
case ACPI_RESOURCE_TYPE_EXTENDED_IRQ:
eirq = &ares->data.extended_irq;
- if (eirq->producer_consumer == ACPI_PRODUCER)
+ if (!ctx->skip_producer_check &&
+ eirq->producer_consumer == ACPI_PRODUCER)
return AE_OK;
if (ctx->index >= eirq->interrupt_count) {
ctx->index -= eirq->interrupt_count;
@@ -235,8 +237,19 @@ static acpi_status acpi_irq_parse_one_cb(struct acpi_resource *ares,
static int acpi_irq_parse_one(acpi_handle handle, unsigned int index,
struct irq_fwspec *fwspec, unsigned long *flags)
{
- struct acpi_irq_parse_one_ctx ctx = { -EINVAL, index, flags, fwspec };
+ struct acpi_irq_parse_one_ctx ctx = { -EINVAL, index, flags, fwspec, false };
+ /*
+ * Firmware on arm64-based HPE m400 platform incorrectly marks
+ * its UART interrupt as ACPI_PRODUCER rather than ACPI_CONSUMER.
+ * Don't do the producer/consumer check for that device.
+ */
+ if (IS_ENABLED(CONFIG_ARM64)) {
+ struct acpi_device *adev = acpi_bus_get_acpi_device(handle);
+
+ if (adev && !strcmp(acpi_device_hid(adev), "APMC0D08"))
+ ctx.skip_producer_check = true;
+ }
acpi_walk_resources(handle, METHOD_NAME__CRS, acpi_irq_parse_one_cb, &ctx);
return ctx.rc;
}
--
2.17.0

View File

@ -1,39 +0,0 @@
From 1e494dc5f3140005ff1f17bc06c0c16d6d50d580 Mon Sep 17 00:00:00 2001
From: Mark Salter <msalter@redhat.com>
Date: Thu, 19 Apr 2018 23:29:47 -0400
Subject: [PATCH] ACPI / scan: Fix regression related to X-Gene UARTs
Commit e361d1f85855 ("ACPI / scan: Fix enumeration for special UART
devices") caused a regression with some X-Gene based platforms (Mustang
and M400) with invalid DSDT. The DSDT makes it appear that the UART
device is also a slave device attached to itself. With the above commit
the UART won't be enumerated by ACPI scan (slave serial devices shouldn't
be). So check for X-Gene UART device and skip slace device check on it.
Signed-off-by: Mark Salter <msalter@redhat.com>
---
drivers/acpi/scan.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index e1b6231cfa1c..542dafac4306 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1567,6 +1567,14 @@ static bool acpi_device_enumeration_by_parent(struct acpi_device *device)
if (!acpi_match_device_ids(device, i2c_multi_instantiate_ids))
return false;
+ /*
+ * Firmware on some arm64 X-Gene platforms will make the UART
+ * device appear as both a UART and a slave of that UART. Just
+ * bail out here for X-Gene UARTs.
+ */
+ if (!strcmp(acpi_device_hid(device), "APMC0D08"))
+ return false;
+
INIT_LIST_HEAD(&resource_list);
acpi_dev_get_resources(device, &resource_list,
acpi_check_serial_bus_slave,
--
2.17.1

View File

@ -1,28 +0,0 @@
From: Peter Robinson <pbrobinson@gmail.com>
Date: Thu, 3 May 2012 20:27:11 +0100
Subject: [PATCH] ARM: tegra: usb no reset
Patch for disconnect issues with storage attached to a
tegra-ehci controller
---
drivers/usb/core/hub.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 43cb2f2e3b43..7f838ec11c81 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -4996,6 +4996,13 @@ static void hub_event(struct work_struct *work)
(u16) hub->change_bits[0],
(u16) hub->event_bits[0]);
+ /* Don't disconnect USB-SATA on TrimSlice */
+ if (strcmp(dev_name(hdev->bus->controller), "tegra-ehci.0") == 0) {
+ if ((hdev->state == 7) && (hub->change_bits[0] == 0) &&
+ (hub->event_bits[0] == 0x2))
+ hub->event_bits[0] = 0;
+ }
+
/* Lock the device, then check to see if we were
* disconnected while waiting for the lock to succeed. */
usb_lock_device(hdev);

View File

@ -1,60 +0,0 @@
From 0451d4e795929a69a0fda6d960aa4b077c5bd179 Mon Sep 17 00:00:00 2001
From: Dave Howells <dhowells@redhat.com>
Date: Fri, 5 May 2017 08:21:58 +0100
Subject: [PATCH 1/4] efi: Add EFI signature data types
Add the data types that are used for containing hashes, keys and
certificates for cryptographic verification along with their corresponding
type GUIDs.
Signed-off-by: David Howells <dhowells@redhat.com>
---
include/linux/efi.h | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/include/linux/efi.h b/include/linux/efi.h
index ec36f42..3259ad6 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -614,6 +614,10 @@ void efi_native_runtime_setup(void);
#define EFI_IMAGE_SECURITY_DATABASE_GUID EFI_GUID(0xd719b2cb, 0x3d3a, 0x4596, 0xa3, 0xbc, 0xda, 0xd0, 0x0e, 0x67, 0x65, 0x6f)
#define EFI_SHIM_LOCK_GUID EFI_GUID(0x605dab50, 0xe046, 0x4300, 0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23)
+#define EFI_CERT_SHA256_GUID EFI_GUID(0xc1c41626, 0x504c, 0x4092, 0xac, 0xa9, 0x41, 0xf9, 0x36, 0x93, 0x43, 0x28)
+#define EFI_CERT_X509_GUID EFI_GUID(0xa5c059a1, 0x94e4, 0x4aa7, 0x87, 0xb5, 0xab, 0x15, 0x5c, 0x2b, 0xf0, 0x72)
+#define EFI_CERT_X509_SHA256_GUID EFI_GUID(0x3bd2a492, 0x96c0, 0x4079, 0xb4, 0x20, 0xfc, 0xf9, 0x8e, 0xf1, 0x03, 0xed)
+
/*
* This GUID is used to pass to the kernel proper the struct screen_info
* structure that was populated by the stub based on the GOP protocol instance
@@ -873,6 +877,27 @@ typedef struct {
efi_memory_desc_t entry[0];
} efi_memory_attributes_table_t;
+typedef struct {
+ efi_guid_t signature_owner;
+ u8 signature_data[];
+} efi_signature_data_t;
+
+typedef struct {
+ efi_guid_t signature_type;
+ u32 signature_list_size;
+ u32 signature_header_size;
+ u32 signature_size;
+ u8 signature_header[];
+ /* efi_signature_data_t signatures[][] */
+} efi_signature_list_t;
+
+typedef u8 efi_sha256_hash_t[32];
+
+typedef struct {
+ efi_sha256_hash_t to_be_signed_hash;
+ efi_time_t time_of_revocation;
+} efi_cert_x509_sha256_t;
+
/*
* All runtime access to EFI goes through this structure:
*/
--
2.9.3

View File

@ -1,197 +0,0 @@
From e4c62c12635a371e43bd17e8d33a936668264491 Mon Sep 17 00:00:00 2001
From: Dave Howells <dhowells@redhat.com>
Date: Fri, 5 May 2017 08:21:58 +0100
Subject: [PATCH 2/4] efi: Add an EFI signature blob parser
Add a function to parse an EFI signature blob looking for elements of
interest. A list is made up of a series of sublists, where all the
elements in a sublist are of the same type, but sublists can be of
different types.
For each sublist encountered, the function pointed to by the
get_handler_for_guid argument is called with the type specifier GUID and
returns either a pointer to a function to handle elements of that type or
NULL if the type is not of interest.
If the sublist is of interest, each element is passed to the handler
function in turn.
Signed-off-by: David Howells <dhowells@redhat.com>
---
certs/Kconfig | 8 ++++
certs/Makefile | 1 +
certs/efi_parser.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/efi.h | 9 +++++
4 files changed, 130 insertions(+)
create mode 100644 certs/efi_parser.c
diff --git a/certs/Kconfig b/certs/Kconfig
index 6ce51ed..630ae09 100644
--- a/certs/Kconfig
+++ b/certs/Kconfig
@@ -82,4 +82,12 @@ config SYSTEM_BLACKLIST_HASH_LIST
wrapper to incorporate the list into the kernel. Each <hash> should
be a string of hex digits.
+config EFI_SIGNATURE_LIST_PARSER
+ bool "EFI signature list parser"
+ depends on EFI
+ select X509_CERTIFICATE_PARSER
+ help
+ This option provides support for parsing EFI signature lists for
+ X.509 certificates and turning them into keys.
+
endmenu
diff --git a/certs/Makefile b/certs/Makefile
index 4119bb3..738151a 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -9,6 +9,7 @@ obj-$(CONFIG_SYSTEM_BLACKLIST_KEYRING) += blacklist_hashes.o
else
obj-$(CONFIG_SYSTEM_BLACKLIST_KEYRING) += blacklist_nohashes.o
endif
+obj-$(CONFIG_EFI_SIGNATURE_LIST_PARSER) += efi_parser.o
ifeq ($(CONFIG_SYSTEM_TRUSTED_KEYRING),y)
diff --git a/certs/efi_parser.c b/certs/efi_parser.c
new file mode 100644
index 0000000..4e396f9
--- /dev/null
+++ b/certs/efi_parser.c
@@ -0,0 +1,112 @@
+/* EFI signature/key/certificate list parser
+ *
+ * Copyright (C) 2012, 2016 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells (dhowells@redhat.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public Licence
+ * as published by the Free Software Foundation; either version
+ * 2 of the Licence, or (at your option) any later version.
+ */
+
+#define pr_fmt(fmt) "EFI: "fmt
+#include <linux/module.h>
+#include <linux/printk.h>
+#include <linux/err.h>
+#include <linux/efi.h>
+
+/**
+ * parse_efi_signature_list - Parse an EFI signature list for certificates
+ * @source: The source of the key
+ * @data: The data blob to parse
+ * @size: The size of the data blob
+ * @get_handler_for_guid: Get the handler func for the sig type (or NULL)
+ *
+ * Parse an EFI signature list looking for elements of interest. A list is
+ * made up of a series of sublists, where all the elements in a sublist are of
+ * the same type, but sublists can be of different types.
+ *
+ * For each sublist encountered, the @get_handler_for_guid function is called
+ * with the type specifier GUID and returns either a pointer to a function to
+ * handle elements of that type or NULL if the type is not of interest.
+ *
+ * If the sublist is of interest, each element is passed to the handler
+ * function in turn.
+ *
+ * Error EBADMSG is returned if the list doesn't parse correctly and 0 is
+ * returned if the list was parsed correctly. No error can be returned from
+ * the @get_handler_for_guid function or the element handler function it
+ * returns.
+ */
+int __init parse_efi_signature_list(
+ const char *source,
+ const void *data, size_t size,
+ efi_element_handler_t (*get_handler_for_guid)(const efi_guid_t *))
+{
+ efi_element_handler_t handler;
+ unsigned offs = 0;
+
+ pr_devel("-->%s(,%zu)\n", __func__, size);
+
+ while (size > 0) {
+ const efi_signature_data_t *elem;
+ efi_signature_list_t list;
+ size_t lsize, esize, hsize, elsize;
+
+ if (size < sizeof(list))
+ return -EBADMSG;
+
+ memcpy(&list, data, sizeof(list));
+ pr_devel("LIST[%04x] guid=%pUl ls=%x hs=%x ss=%x\n",
+ offs,
+ list.signature_type.b, list.signature_list_size,
+ list.signature_header_size, list.signature_size);
+
+ lsize = list.signature_list_size;
+ hsize = list.signature_header_size;
+ esize = list.signature_size;
+ elsize = lsize - sizeof(list) - hsize;
+
+ if (lsize > size) {
+ pr_devel("<--%s() = -EBADMSG [overrun @%x]\n",
+ __func__, offs);
+ return -EBADMSG;
+ }
+
+ if (lsize < sizeof(list) ||
+ lsize - sizeof(list) < hsize ||
+ esize < sizeof(*elem) ||
+ elsize < esize ||
+ elsize % esize != 0) {
+ pr_devel("- bad size combo @%x\n", offs);
+ return -EBADMSG;
+ }
+
+ handler = get_handler_for_guid(&list.signature_type);
+ if (!handler) {
+ data += lsize;
+ size -= lsize;
+ offs += lsize;
+ continue;
+ }
+
+ data += sizeof(list) + hsize;
+ size -= sizeof(list) + hsize;
+ offs += sizeof(list) + hsize;
+
+ for (; elsize > 0; elsize -= esize) {
+ elem = data;
+
+ pr_devel("ELEM[%04x]\n", offs);
+ handler(source,
+ &elem->signature_data,
+ esize - sizeof(*elem));
+
+ data += esize;
+ size -= esize;
+ offs += esize;
+ }
+ }
+
+ return 0;
+}
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 3259ad6..08024c6 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1055,6 +1055,15 @@ extern int efi_memattr_apply_permissions(struct mm_struct *mm,
char * __init efi_md_typeattr_format(char *buf, size_t size,
const efi_memory_desc_t *md);
+
+typedef void (*efi_element_handler_t)(const char *source,
+ const void *element_data,
+ size_t element_size);
+extern int __init parse_efi_signature_list(
+ const char *source,
+ const void *data, size_t size,
+ efi_element_handler_t (*get_handler_for_guid)(const efi_guid_t *));
+
/**
* efi_range_is_wc - check the WC bit on an address range
* @start: starting kvirt address
--
2.9.3

View File

@ -1,217 +0,0 @@
From 6b6203b92cfb457a0669a9c87a29b360405bffc6 Mon Sep 17 00:00:00 2001
From: Matthew Garrett <matthew.garrett@nebula.com>
Date: Fri, 9 Aug 2013 18:36:30 -0400
Subject: [PATCH 10/20] Add option to automatically enforce module signatures
when in Secure Boot mode
UEFI Secure Boot provides a mechanism for ensuring that the firmware will
only load signed bootloaders and kernels. Certain use cases may also
require that all kernel modules also be signed. Add a configuration option
that enforces this automatically when enabled.
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
---
Documentation/x86/zero-page.txt | 2 ++
arch/x86/Kconfig | 11 ++++++
arch/x86/boot/compressed/eboot.c | 66 +++++++++++++++++++++++++++++++++++
arch/x86/include/uapi/asm/bootparam.h | 3 +-
arch/x86/kernel/setup.c | 6 ++++
include/linux/module.h | 6 ++++
kernel/module.c | 7 ++++
7 files changed, 100 insertions(+), 1 deletion(-)
diff --git a/Documentation/x86/zero-page.txt b/Documentation/x86/zero-page.txt
index 95a4d34af3fd..b8527c6b7646 100644
--- a/Documentation/x86/zero-page.txt
+++ b/Documentation/x86/zero-page.txt
@@ -31,6 +31,8 @@ Offset Proto Name Meaning
1E9/001 ALL eddbuf_entries Number of entries in eddbuf (below)
1EA/001 ALL edd_mbr_sig_buf_entries Number of entries in edd_mbr_sig_buffer
(below)
+1EB/001 ALL kbd_status Numlock is enabled
+1EC/001 ALL secure_boot Secure boot is enabled in the firmware
1EF/001 ALL sentinel Used to detect broken bootloaders
290/040 ALL edd_mbr_sig_buffer EDD MBR signatures
2D0/A00 ALL e820_map E820 memory map table
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index bada636d1065..d666ef8b616c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1786,6 +1786,17 @@ config EFI_MIXED
If unsure, say N.
+config EFI_SECURE_BOOT_SIG_ENFORCE
+ def_bool n
+ depends on EFI
+ prompt "Force module signing when UEFI Secure Boot is enabled"
+ ---help---
+ UEFI Secure Boot provides a mechanism for ensuring that the
+ firmware will only load signed bootloaders and kernels. Certain
+ use cases may also require that all kernel modules also be signed.
+ Say Y here to automatically enable module signature enforcement
+ when a system boots with UEFI Secure Boot enabled.
+
config SECCOMP
def_bool y
prompt "Enable seccomp to safely compute untrusted bytecode"
diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c
index cc69e37548db..ebc85c1eefd6 100644
--- a/arch/x86/boot/compressed/eboot.c
+++ b/arch/x86/boot/compressed/eboot.c
@@ -12,6 +12,7 @@
#include <asm/efi.h>
#include <asm/setup.h>
#include <asm/desc.h>
+#include <asm/bootparam_utils.h>
#include "../string.h"
#include "eboot.h"
@@ -537,6 +538,67 @@ static void setup_efi_pci(struct boot_params *params)
efi_call_early(free_pool, pci_handle);
}
+static int get_secure_boot(void)
+{
+ u8 sb, setup;
+ unsigned long datasize = sizeof(sb);
+ efi_guid_t var_guid = EFI_GLOBAL_VARIABLE_GUID;
+ efi_status_t status;
+
+ status = efi_early->call((unsigned long)sys_table->runtime->get_variable,
+ L"SecureBoot", &var_guid, NULL, &datasize, &sb);
+
+ if (status != EFI_SUCCESS)
+ return 0;
+
+ if (sb == 0)
+ return 0;
+
+
+ status = efi_early->call((unsigned long)sys_table->runtime->get_variable,
+ L"SetupMode", &var_guid, NULL, &datasize,
+ &setup);
+
+ if (status != EFI_SUCCESS)
+ return 0;
+
+ if (setup == 1)
+ return 0;
+
+ return 1;
+}
+
+
+/*
+ * See if we have Graphics Output Protocol
+ */
+static efi_status_t setup_gop(struct screen_info *si, efi_guid_t *proto,
+ unsigned long size)
+{
+ efi_status_t status;
+ void **gop_handle = NULL;
+
+ status = efi_call_early(allocate_pool, EFI_LOADER_DATA,
+ size, (void **)&gop_handle);
+ if (status != EFI_SUCCESS)
+ return status;
+
+ status = efi_call_early(locate_handle,
+ EFI_LOCATE_BY_PROTOCOL,
+ proto, NULL, &size, gop_handle);
+ if (status != EFI_SUCCESS)
+ goto free_handle;
+
+ if (efi_early->is64)
+ status = setup_gop64(si, proto, size, gop_handle);
+ else
+ status = setup_gop32(si, proto, size, gop_handle);
+
+free_handle:
+ efi_call_early(free_pool, gop_handle);
+ return status;
+}
+
static efi_status_t
setup_uga32(void **uga_handle, unsigned long size, u32 *width, u32 *height)
{
@@ -1094,6 +1156,10 @@ struct boot_params *efi_main(struct efi_config *c,
else
setup_boot_services32(efi_early);
+ sanitize_boot_params(boot_params);
+
+ boot_params->secure_boot = get_secure_boot();
+
setup_graphics(boot_params);
setup_efi_pci(boot_params);
diff --git a/arch/x86/include/uapi/asm/bootparam.h b/arch/x86/include/uapi/asm/bootparam.h
index c18ce67495fa..2b3e5427097b 100644
--- a/arch/x86/include/uapi/asm/bootparam.h
+++ b/arch/x86/include/uapi/asm/bootparam.h
@@ -134,7 +134,8 @@ struct boot_params {
__u8 eddbuf_entries; /* 0x1e9 */
__u8 edd_mbr_sig_buf_entries; /* 0x1ea */
__u8 kbd_status; /* 0x1eb */
- __u8 _pad5[3]; /* 0x1ec */
+ __u8 secure_boot; /* 0x1ec */
+ __u8 _pad5[2]; /* 0x1ed */
/*
* The sentinel is set to a nonzero value (0xff) in header.S.
*
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index bbfbca5fea0c..d40e961753c9 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -1160,6 +1160,12 @@ void __init setup_arch(char **cmdline_p)
io_delay_init();
+#ifdef CONFIG_EFI_SECURE_BOOT_SIG_ENFORCE
+ if (boot_params.secure_boot) {
+ enforce_signed_modules();
+ }
+#endif
+
/*
* Parse the ACPI tables for possible boot-time SMP configuration.
*/
diff --git a/include/linux/module.h b/include/linux/module.h
index 05bd6c989a0c..32327704e18d 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -260,6 +260,12 @@ extern const typeof(name) __mod_##type##__##name##_device_table \
struct notifier_block;
+#ifdef CONFIG_MODULE_SIG
+extern void enforce_signed_modules(void);
+#else
+static inline void enforce_signed_modules(void) {};
+#endif
+
#ifdef CONFIG_MODULES
extern int modules_disabled; /* for sysctl */
diff --git a/kernel/module.c b/kernel/module.c
index cb864505d020..cb1f1da69bf4 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -4285,6 +4285,13 @@ void module_layout(struct module *mod,
EXPORT_SYMBOL(module_layout);
#endif
+#ifdef CONFIG_MODULE_SIG
+void enforce_signed_modules(void)
+{
+ sig_enforce = true;
+}
+#endif
+
bool secure_modules(void)
{
#ifdef CONFIG_MODULE_SIG
--
2.9.3

View File

@ -1,24 +0,0 @@
From ea6e7d9d0fe3e448aef19b3943d4897ae0bef128 Mon Sep 17 00:00:00 2001
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
Date: Thu, 3 Aug 2017 13:46:51 -0500
Subject: [PATCH] Fix for module sig verification
---
kernel/module_signing.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/module_signing.c b/kernel/module_signing.c
index 937c844..d3d6f95 100644
--- a/kernel/module_signing.c
+++ b/kernel/module_signing.c
@@ -81,6 +81,6 @@ int mod_verify_sig(const void *mod, unsigned long *_modlen)
}
return verify_pkcs7_signature(mod, modlen, mod + modlen, sig_len,
- NULL, VERIFYING_MODULE_SIGNATURE,
+ (void *)1UL, VERIFYING_MODULE_SIGNATURE,
NULL, NULL);
}
--
2.13.3

View File

@ -1,47 +0,0 @@
From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Date: Thu, 16 Apr 2015 13:01:46 -0400
Subject: [PATCH] Input - synaptics: pin 3 touches when the firmware reports 3
fingers
Synaptics PS/2 touchpad can send only 2 touches in a report. They can
detect 4 or 5 and this information is valuable.
In commit 63c4fda (Input: synaptics - allocate 3 slots to keep stability
in image sensors), we allocate 3 slots, but we still continue to report
the 2 available fingers. That means that the client sees 2 used slots while
there is a total of 3 fingers advertised by BTN_TOOL_TRIPLETAP.
For old kernels this is not a problem because max_slots was 2 and libinput/
xorg-synaptics knew how to deal with that. Now that max_slot is 3, the
clients ignore BTN_TOOL_TRIPLETAP and count the actual used slots (so 2).
It then gets confused when receiving the BTN_TOOL_TRIPLETAP and DOUBLETAP
information, and goes wild.
We can pin the 3 slots until we get a total number of fingers below 2.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1212230
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
---
drivers/input/mouse/synaptics.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index 3a32caf06bf1..58102970f94f 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -940,6 +940,14 @@ static void synaptics_report_mt_data(struct psmouse *psmouse,
input_report_abs(dev, ABS_MT_PRESSURE, hw[i]->z);
}
+ /* keep (slot count <= num_fingers) by pinning all slots */
+ if (num_fingers >= 3) {
+ for (i = 0; i < 3; i++) {
+ input_mt_slot(dev, i);
+ input_mt_report_slot_state(dev, MT_TOOL_FINGER, true);
+ }
+ }
+
input_mt_drop_unused(dev);
/* Don't use active slot count to generate BTN_TOOL events. */

View File

@ -1,95 +0,0 @@
From fb2ac204a70da565de9ef9a9d6d69a40c2d59727 Mon Sep 17 00:00:00 2001
From: David Howells <dhowells@redhat.com>
Date: Fri, 5 May 2017 08:21:56 +0100
Subject: [PATCH] KEYS: Allow unrestricted boot-time addition of keys to
secondary keyring
Allow keys to be added to the system secondary certificates keyring during
kernel initialisation in an unrestricted fashion. Such keys are implicitly
trusted and don't have their trust chains checked on link.
This allows keys in the UEFI database to be added in secure boot mode for
the purposes of module signing.
Signed-off-by: David Howells <dhowells@redhat.com>
---
certs/internal.h | 18 ++++++++++++++++++
certs/system_keyring.c | 33 +++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
create mode 100644 certs/internal.h
diff --git a/certs/internal.h b/certs/internal.h
new file mode 100644
index 0000000..5dcbefb
--- /dev/null
+++ b/certs/internal.h
@@ -0,0 +1,18 @@
+/* Internal definitions
+ *
+ * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells (dhowells@redhat.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public Licence
+ * as published by the Free Software Foundation; either version
+ * 2 of the Licence, or (at your option) any later version.
+ */
+
+/*
+ * system_keyring.c
+ */
+#ifdef CONFIG_SECONDARY_TRUSTED_KEYRING
+extern void __init add_trusted_secondary_key(const char *source,
+ const void *data, size_t len);
+#endif
diff --git a/certs/system_keyring.c b/certs/system_keyring.c
index 6251d1b..5ac8ba6 100644
--- a/certs/system_keyring.c
+++ b/certs/system_keyring.c
@@ -18,6 +18,7 @@
#include <keys/asymmetric-type.h>
#include <keys/system_keyring.h>
#include <crypto/pkcs7.h>
+#include "internal.h"
static struct key *builtin_trusted_keys;
#ifdef CONFIG_SECONDARY_TRUSTED_KEYRING
@@ -265,3 +266,35 @@ int verify_pkcs7_signature(const void *data, size_t len,
EXPORT_SYMBOL_GPL(verify_pkcs7_signature);
#endif /* CONFIG_SYSTEM_DATA_VERIFICATION */
+
+#ifdef CONFIG_SECONDARY_TRUSTED_KEYRING
+/**
+ * add_trusted_secondary_key - Add to secondary keyring with no validation
+ * @source: Source of key
+ * @data: The blob holding the key
+ * @len: The length of the data blob
+ *
+ * Add a key to the secondary keyring without checking its trust chain. This
+ * is available only during kernel initialisation.
+ */
+void __init add_trusted_secondary_key(const char *source,
+ const void *data, size_t len)
+{
+ key_ref_t key;
+
+ key = key_create_or_update(make_key_ref(secondary_trusted_keys, 1),
+ "asymmetric",
+ NULL, data, len,
+ (KEY_POS_ALL & ~KEY_POS_SETATTR) |
+ KEY_USR_VIEW,
+ KEY_ALLOC_NOT_IN_QUOTA |
+ KEY_ALLOC_BYPASS_RESTRICTION);
+
+ if (IS_ERR(key))
+ pr_err("Problem loading %s X.509 certificate (%ld)\n",
+ source, PTR_ERR(key));
+ else
+ pr_notice("Loaded %s cert '%s' linked to secondary sys keyring\n",
+ source, key_ref_to_ptr(key)->description);
+}
+#endif /* CONFIG_SECONDARY_TRUSTED_KEYRING */
--
2.9.3

View File

@ -1,89 +0,0 @@
From: Josh Stone <jistone@redhat.com>
Date: Fri, 21 Nov 2014 10:40:00 -0800
Subject: [PATCH] Kbuild: Add an option to enable GCC VTA
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Due to recent codegen issues, gcc -fvar-tracking-assignments was
unconditionally disabled in commit 2062afb4f804a ("Fix gcc-4.9.0
miscompilation of load_balance() in scheduler"). However, this reduces
the debuginfo coverage for variable locations, especially in inline
functions. VTA is certainly not perfect either in those cases, but it
is much better than without. With compiler versions that have fixed the
codegen bugs, we would prefer to have the better details for SystemTap,
and surely other debuginfo consumers like perf will benefit as well.
This patch simply makes CONFIG_DEBUG_INFO_VTA an option. I considered
Frank and Linus's discussion of a cc-option-like -fcompare-debug test,
but I'm convinced that a narrow test of an arch-specific codegen issue
is not really useful. GCC has their own regression tests for this, so
I'd suggest GCC_COMPARE_DEBUG=-fvar-tracking-assignments-toggle is more
useful for kernel developers to test confidence.
In fact, I ran into a couple more issues when testing for this patch[1],
although neither of those had any codegen impact.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1140872
With gcc-4.9.2-1.fc22, I can now build v3.18-rc5 with Fedora's i686 and
x86_64 configs, and this is completely clean with GCC_COMPARE_DEBUG.
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Jakub Jelinek <jakub@redhat.com>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>
Cc: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Josh Stone <jistone@redhat.com>
---
Makefile | 4 ++++
lib/Kconfig.debug | 18 +++++++++++++++++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 257ef5892ab7..3cc6f4477e78 100644
--- a/Makefile
+++ b/Makefile
@@ -701,7 +701,11 @@ KBUILD_CFLAGS += -fomit-frame-pointer
endif
endif
+ifdef CONFIG_DEBUG_INFO_VTA
+KBUILD_CFLAGS += $(call cc-option, -fvar-tracking-assignments)
+else
KBUILD_CFLAGS += $(call cc-option, -fno-var-tracking-assignments)
+endif
ifdef CONFIG_DEBUG_INFO
ifdef CONFIG_DEBUG_INFO_SPLIT
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index e2894b23efb6..d98afe18f704 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -165,7 +165,23 @@ config DEBUG_INFO_DWARF4
Generate dwarf4 debug info. This requires recent versions
of gcc and gdb. It makes the debug information larger.
But it significantly improves the success of resolving
- variables in gdb on optimized code.
+ variables in gdb on optimized code. The gcc docs also
+ recommend enabling -fvar-tracking-assignments for maximum
+ benefit. (see DEBUG_INFO_VTA)
+
+config DEBUG_INFO_VTA
+ bool "Enable var-tracking-assignments for debuginfo"
+ depends on DEBUG_INFO
+ help
+ Enable gcc -fvar-tracking-assignments for improved debug
+ information on variable locations in optimized code. Per
+ gcc, DEBUG_INFO_DWARF4 is recommended for best use of VTA.
+
+ VTA has been implicated in codegen bugs (gcc PR61801,
+ PR61904), so this may deserve some caution. One can set
+ GCC_COMPARE_DEBUG=-fvar-tracking-assignments-toggle in the
+ environment to automatically compile everything both ways,
+ generating an error if anything differs.
config GDB_SCRIPTS
bool "Provide GDB scripts for kernel debugging"

View File

@ -1,246 +0,0 @@
From 90dc66270b02981b19a085c6a9184e3452b7b3e8 Mon Sep 17 00:00:00 2001
From: Josh Boyer <jwboyer@fedoraproject.org>
Date: Fri, 5 May 2017 08:21:59 +0100
Subject: [PATCH 3/4] MODSIGN: Import certificates from UEFI Secure Boot
Secure Boot stores a list of allowed certificates in the 'db' variable.
This imports those certificates into the system trusted keyring. This
allows for a third party signing certificate to be used in conjunction
with signed modules. By importing the public certificate into the 'db'
variable, a user can allow a module signed with that certificate to
load. The shim UEFI bootloader has a similar certificate list stored
in the 'MokListRT' variable. We import those as well.
Secure Boot also maintains a list of disallowed certificates in the 'dbx'
variable. We load those certificates into the newly introduced system
blacklist keyring and forbid any module signed with those from loading and
forbid the use within the kernel of any key with a matching hash.
This facility is enabled by setting CONFIG_LOAD_UEFI_KEYS.
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: David Howells <dhowells@redhat.com>
---
certs/Kconfig | 16 ++++++
certs/Makefile | 4 ++
certs/load_uefi.c | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 188 insertions(+)
create mode 100644 certs/load_uefi.c
diff --git a/certs/Kconfig b/certs/Kconfig
index 630ae09..edf9f75 100644
--- a/certs/Kconfig
+++ b/certs/Kconfig
@@ -90,4 +90,20 @@ config EFI_SIGNATURE_LIST_PARSER
This option provides support for parsing EFI signature lists for
X.509 certificates and turning them into keys.
+config LOAD_UEFI_KEYS
+ bool "Load certs and blacklist from UEFI db for module checking"
+ depends on SYSTEM_BLACKLIST_KEYRING
+ depends on SECONDARY_TRUSTED_KEYRING
+ depends on EFI
+ depends on EFI_SIGNATURE_LIST_PARSER
+ help
+ If the kernel is booted in secure boot mode, this option will cause
+ the kernel to load the certificates from the UEFI db and MokListRT
+ into the secondary trusted keyring. It will also load any X.509
+ SHA256 hashes in the dbx list into the blacklist.
+
+ The effect of this is that, if the kernel is booted in secure boot
+ mode, modules signed with UEFI-stored keys will be permitted to be
+ loaded and keys that match the blacklist will be rejected.
+
endmenu
diff --git a/certs/Makefile b/certs/Makefile
index 738151a..a5e057a 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -11,6 +11,10 @@ obj-$(CONFIG_SYSTEM_BLACKLIST_KEYRING) += blacklist_nohashes.o
endif
obj-$(CONFIG_EFI_SIGNATURE_LIST_PARSER) += efi_parser.o
+obj-$(CONFIG_LOAD_UEFI_KEYS) += load_uefi.o
+$(obj)/load_uefi.o: KBUILD_CFLAGS += -fshort-wchar
+
+
ifeq ($(CONFIG_SYSTEM_TRUSTED_KEYRING),y)
$(eval $(call config_filename,SYSTEM_TRUSTED_KEYS))
diff --git a/certs/load_uefi.c b/certs/load_uefi.c
new file mode 100644
index 0000000..b44e464
--- /dev/null
+++ b/certs/load_uefi.c
@@ -0,0 +1,168 @@
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/cred.h>
+#include <linux/err.h>
+#include <linux/efi.h>
+#include <linux/slab.h>
+#include <keys/asymmetric-type.h>
+#include <keys/system_keyring.h>
+#include "internal.h"
+
+static __initdata efi_guid_t efi_cert_x509_guid = EFI_CERT_X509_GUID;
+static __initdata efi_guid_t efi_cert_x509_sha256_guid = EFI_CERT_X509_SHA256_GUID;
+static __initdata efi_guid_t efi_cert_sha256_guid = EFI_CERT_SHA256_GUID;
+
+/*
+ * Get a certificate list blob from the named EFI variable.
+ */
+static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid,
+ unsigned long *size)
+{
+ efi_status_t status;
+ unsigned long lsize = 4;
+ unsigned long tmpdb[4];
+ void *db;
+
+ status = efi.get_variable(name, guid, NULL, &lsize, &tmpdb);
+ if (status != EFI_BUFFER_TOO_SMALL) {
+ pr_err("Couldn't get size: 0x%lx\n", status);
+ return NULL;
+ }
+
+ db = kmalloc(lsize, GFP_KERNEL);
+ if (!db) {
+ pr_err("Couldn't allocate memory for uefi cert list\n");
+ return NULL;
+ }
+
+ status = efi.get_variable(name, guid, NULL, &lsize, db);
+ if (status != EFI_SUCCESS) {
+ kfree(db);
+ pr_err("Error reading db var: 0x%lx\n", status);
+ return NULL;
+ }
+
+ *size = lsize;
+ return db;
+}
+
+/*
+ * Blacklist an X509 TBS hash.
+ */
+static __init void uefi_blacklist_x509_tbs(const char *source,
+ const void *data, size_t len)
+{
+ char *hash, *p;
+
+ hash = kmalloc(4 + len * 2 + 1, GFP_KERNEL);
+ if (!hash)
+ return;
+ p = memcpy(hash, "tbs:", 4);
+ p += 4;
+ bin2hex(p, data, len);
+ p += len * 2;
+ *p = 0;
+
+ mark_hash_blacklisted(hash);
+ kfree(hash);
+}
+
+/*
+ * Blacklist the hash of an executable.
+ */
+static __init void uefi_blacklist_binary(const char *source,
+ const void *data, size_t len)
+{
+ char *hash, *p;
+
+ hash = kmalloc(4 + len * 2 + 1, GFP_KERNEL);
+ if (!hash)
+ return;
+ p = memcpy(hash, "bin:", 4);
+ p += 4;
+ bin2hex(p, data, len);
+ p += len * 2;
+ *p = 0;
+
+ mark_hash_blacklisted(hash);
+ kfree(hash);
+}
+
+/*
+ * Return the appropriate handler for particular signature list types found in
+ * the UEFI db and MokListRT tables.
+ */
+static __init efi_element_handler_t get_handler_for_db(const efi_guid_t *sig_type)
+{
+ if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)
+ return add_trusted_secondary_key;
+ return 0;
+}
+
+/*
+ * Return the appropriate handler for particular signature list types found in
+ * the UEFI dbx and MokListXRT tables.
+ */
+static __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)
+{
+ if (efi_guidcmp(*sig_type, efi_cert_x509_sha256_guid) == 0)
+ return uefi_blacklist_x509_tbs;
+ if (efi_guidcmp(*sig_type, efi_cert_sha256_guid) == 0)
+ return uefi_blacklist_binary;
+ return 0;
+}
+
+/*
+ * Load the certs contained in the UEFI databases
+ */
+static int __init load_uefi_certs(void)
+{
+ efi_guid_t secure_var = EFI_IMAGE_SECURITY_DATABASE_GUID;
+ efi_guid_t mok_var = EFI_SHIM_LOCK_GUID;
+ void *db = NULL, *dbx = NULL, *mok = NULL;
+ unsigned long dbsize = 0, dbxsize = 0, moksize = 0;
+ int rc = 0;
+
+ if (!efi.get_variable)
+ return false;
+
+ /* Get db, MokListRT, and dbx. They might not exist, so it isn't
+ * an error if we can't get them.
+ */
+ db = get_cert_list(L"db", &secure_var, &dbsize);
+ if (!db) {
+ pr_err("MODSIGN: Couldn't get UEFI db list\n");
+ } else {
+ rc = parse_efi_signature_list("UEFI:db",
+ db, dbsize, get_handler_for_db);
+ if (rc)
+ pr_err("Couldn't parse db signatures: %d\n", rc);
+ kfree(db);
+ }
+
+ mok = get_cert_list(L"MokListRT", &mok_var, &moksize);
+ if (!mok) {
+ pr_info("MODSIGN: Couldn't get UEFI MokListRT\n");
+ } else {
+ rc = parse_efi_signature_list("UEFI:MokListRT",
+ mok, moksize, get_handler_for_db);
+ if (rc)
+ pr_err("Couldn't parse MokListRT signatures: %d\n", rc);
+ kfree(mok);
+ }
+
+ dbx = get_cert_list(L"dbx", &secure_var, &dbxsize);
+ if (!dbx) {
+ pr_info("MODSIGN: Couldn't get UEFI dbx list\n");
+ } else {
+ rc = parse_efi_signature_list("UEFI:dbx",
+ dbx, dbxsize,
+ get_handler_for_dbx);
+ if (rc)
+ pr_err("Couldn't parse dbx signatures: %d\n", rc);
+ kfree(dbx);
+ }
+
+ return rc;
+}
+late_initcall(load_uefi_certs);
--
2.9.3

View File

@ -1,88 +0,0 @@
From 9f1958a0cc911e1f79b2733ee5029dbd819ff328 Mon Sep 17 00:00:00 2001
From: Josh Boyer <jwboyer@fedoraproject.org>
Date: Fri, 5 May 2017 08:21:59 +0100
Subject: [PATCH 4/4] MODSIGN: Allow the "db" UEFI variable to be suppressed
If a user tells shim to not use the certs/hashes in the UEFI db variable
for verification purposes, shim will set a UEFI variable called
MokIgnoreDB. Have the uefi import code look for this and ignore the db
variable if it is found.
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: David Howells <dhowells@redhat.com>
---
certs/load_uefi.c | 44 ++++++++++++++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 10 deletions(-)
diff --git a/certs/load_uefi.c b/certs/load_uefi.c
index b44e464..3d88459 100644
--- a/certs/load_uefi.c
+++ b/certs/load_uefi.c
@@ -13,6 +13,26 @@ static __initdata efi_guid_t efi_cert_x509_sha256_guid = EFI_CERT_X509_SHA256_GU
static __initdata efi_guid_t efi_cert_sha256_guid = EFI_CERT_SHA256_GUID;
/*
+ * Look to see if a UEFI variable called MokIgnoreDB exists and return true if
+ * it does.
+ *
+ * This UEFI variable is set by the shim if a user tells the shim to not use
+ * the certs/hashes in the UEFI db variable for verification purposes. If it
+ * is set, we should ignore the db variable also and the true return indicates
+ * this.
+ */
+static __init bool uefi_check_ignore_db(void)
+{
+ efi_status_t status;
+ unsigned int db = 0;
+ unsigned long size = sizeof(db);
+ efi_guid_t guid = EFI_SHIM_LOCK_GUID;
+
+ status = efi.get_variable(L"MokIgnoreDB", &guid, NULL, &size, &db);
+ return status == EFI_SUCCESS;
+}
+
+/*
* Get a certificate list blob from the named EFI variable.
*/
static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid,
@@ -113,7 +133,9 @@ static __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_ty
}
/*
- * Load the certs contained in the UEFI databases
+ * Load the certs contained in the UEFI databases into the secondary trusted
+ * keyring and the UEFI blacklisted X.509 cert SHA256 hashes into the blacklist
+ * keyring.
*/
static int __init load_uefi_certs(void)
{
@@ -129,15 +151,17 @@ static int __init load_uefi_certs(void)
/* Get db, MokListRT, and dbx. They might not exist, so it isn't
* an error if we can't get them.
*/
- db = get_cert_list(L"db", &secure_var, &dbsize);
- if (!db) {
- pr_err("MODSIGN: Couldn't get UEFI db list\n");
- } else {
- rc = parse_efi_signature_list("UEFI:db",
- db, dbsize, get_handler_for_db);
- if (rc)
- pr_err("Couldn't parse db signatures: %d\n", rc);
- kfree(db);
+ if (!uefi_check_ignore_db()) {
+ db = get_cert_list(L"db", &secure_var, &dbsize);
+ if (!db) {
+ pr_err("MODSIGN: Couldn't get UEFI db list\n");
+ } else {
+ rc = parse_efi_signature_list("UEFI:db",
+ db, dbsize, get_handler_for_db);
+ if (rc)
+ pr_err("Couldn't parse db signatures: %d\n", rc);
+ kfree(db);
+ }
}
mok = get_cert_list(L"MokListRT", &mok_var, &moksize);
--
2.9.3

View File

@ -1,50 +0,0 @@
# Makefile for source rpm: kernel
SPECFILE := kernel.spec
# we only check the .sign signatures
UPSTREAM_CHECKS = sign
.PHONY: help
help:
%:
@echo "Try fedpkg $@ or something like that"
@exit 1
prep: config-files
fedpkg -v prep
noarch:
fedpkg -v local --arch=noarch
# 'make local' also needs to build the noarch firmware package
local:
fedpkg -v local
extremedebug:
@perl -pi -e 's/# CONFIG_DEBUG_PAGEALLOC is not set/CONFIG_DEBUG_PAGEALLOC=y/' config-nodebug
config-files:
@./build_configs.sh
debug:
@perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec
@rpmdev-bumpspec -c "Reenable debugging options." kernel.spec
release:
@perl -pi -e 's/^%define debugbuildsenabled 0/%define debugbuildsenabled 1/' kernel.spec
@rpmdev-bumpspec -c "Disable debugging options." kernel.spec
nodebuginfo:
@perl -pi -e 's/^%define with_debuginfo %\{\?_without_debuginfo: 0\} %\{\?\!_without_debuginfo: 1\}/%define with_debuginfo %\{\?_without_debuginfo: 0\} %\{\?\!_without_debuginfo: 0\}/' kernel.spec
nodebug: release
@perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec
ifeq ($(MAKECMDGOALS),me a sandwich)
.PHONY: me a sandwich
me a:
@:
sandwich:
@[ `id -u` -ne 0 ] && echo "What? Make it yourself." || echo Okay.
endif

45
Makefile.rhelver Normal file
View File

@ -0,0 +1,45 @@
RHEL_MAJOR = 8
RHEL_MINOR = 99
#
# RHEL_RELEASE
# -------------
#
# Represents build number in 'release' part of RPM's name-version-release.
# name is <package_name>, e.g. kernel
# version is upstream kernel version this kernel is based on, e.g. 4.18.0
# release is <RHEL_RELEASE>.<dist_tag>[<buildid>], e.g. 100.el8
#
# Use this spot to avoid future merge conflicts.
# Do not trim this comment.
RHEL_RELEASE = 122
#
# Early y+1 numbering
# --------------------
#
# In early y+1 process, RHEL_RELEASE consists of 2 numbers: x.y
# First is RHEL_RELEASE inherited/merged from y as-is, second number
# is incremented with each build starting from 1. After merge from y,
# it resets back to 1. This way y+1 nvr reflects status of last merge.
#
# Example:
#
# rhel8.0 rhel-8.1
# kernel-4.18.0-58.el8 --> kernel-4.18.0-58.1.el8
# kernel-4.18.0-58.2.el8
# kernel-4.18.0-59.el8 kernel-4.18.0-59.1.el8
# kernel-4.18.0-60.el8
# kernel-4.18.0-61.el8 --> kernel-4.18.0-61.1.el8
#
#
# Use this spot to avoid future merge conflicts.
# Do not trim this comment.
EARLY_YSTREAM ?= no
EARLY_YBUILD:=
EARLY_YRELEASE:=
ifneq ("$(ZSTREAM)", "yes")
ifeq ("$(EARLY_YSTREAM)","yes")
RHEL_RELEASE:=$(RHEL_RELEASE).$(EARLY_YRELEASE)
endif
endif

0
Module.kabi_aarch64 Normal file
View File

0
Module.kabi_dup_aarch64 Normal file
View File

0
Module.kabi_dup_ppc64le Normal file
View File

0
Module.kabi_dup_s390x Normal file
View File

0
Module.kabi_dup_x86_64 Normal file
View File

0
Module.kabi_ppc64le Normal file
View File

0
Module.kabi_s390x Normal file
View File

0
Module.kabi_x86_64 Normal file
View File

View File

@ -1,76 +0,0 @@
# This file contains patches that we intend to carry for longer than
# "Should show up in a stable release soonish"
# Some of these may eventually drop out
kbuild-AFTER_LINK.patch
arm64-avoid-needing-console-to-enable-serial-console.patch
geekbox-v4-device-tree-support.patch
Initial-AllWinner-A64-and-PINE64-support.patch
arm64-pcie-quirks-xgene.patch
usb-phy-tegra-Add-38.4MHz-clock-table-entry.patch
ARM-tegra-usb-no-reset.patch
bcm283x-upstream-fixes.patch
lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch
input-kill-stupid-messages.patch
die-floppy-die.patch
no-pcspkr-modalias.patch
silence-fbcon-logo.patch
Kbuild-Add-an-option-to-enable-GCC-VTA.patch
crash-driver.patch
#Secure boot patches
Add-secure_modules-call.patch
PCI-Lock-down-BAR-access-when-module-security-is-ena.patch
x86-Lock-down-IO-port-access-when-module-security-is.patch
ACPI-Limit-access-to-custom_method.patch
asus-wmi-Restrict-debugfs-interface-when-module-load.patch
Restrict-dev-mem-and-dev-kmem-when-module-loading-is.patch
acpi-Ignore-acpi_rsdp-kernel-parameter-when-module-l.patch
kexec-Disable-at-runtime-if-the-kernel-enforces-modu.patch
x86-Restrict-MSR-access-when-module-loading-is-restr.patch
Add-option-to-automatically-enforce-module-signature.patch
efi-Disable-secure-boot-if-shim-is-in-insecure-mode.patch
efi-Add-EFI_SECURE_BOOT-bit.patch
hibernate-Disable-in-a-signed-modules-environment.patch
Add-EFI-signature-data-types.patch
Add-an-EFI-signature-blob-parser-and-key-loader.patch
KEYS-Add-a-system-blacklist-keyring.patch
MODSIGN-Import-certificates-from-UEFI-Secure-Boot.patch
MODSIGN-Support-not-importing-certs-from-db.patch
Add-sysrq-option-to-disable-secure-boot-mode.patch
kexec-uefi-copy-secure_boot-flag-in-boot-params.patch
drm-i915-hush-check-crtc-state.patch
disable-i8042-check-on-apple-mac.patch
lis3-improve-handling-of-null-rate.patch
scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch
criu-no-expert.patch
ath9k-rx-dma-stop-check.patch
xen-pciback-Don-t-disable-PCI_COMMAND-on-PCI-device-.patch
Input-synaptics-pin-3-touches-when-the-firmware-repo.patch
firmware-Drop-WARN-from-usermodehelper_read_trylock-.patch
drm-i915-turn-off-wc-mmaps.patch

228
Patchlist.changelog Normal file
View File

@ -0,0 +1,228 @@
https://gitlab.com/cki-project/kernel-ark/-/commit/8773e8c6039ff74d1426cc80de30de759cd0c2a2
8773e8c6039ff74d1426cc80de30de759cd0c2a2 irq: export irq_check_status_bit
https://gitlab.com/cki-project/kernel-ark/-/commit/e187313e5f0086538fefe0925ef84480f99616d8
e187313e5f0086538fefe0925ef84480f99616d8 gcc-plugins: fix gcc 11 indigestion with plugins...
https://gitlab.com/cki-project/kernel-ark/-/commit/0c84b348e33ab9d7df5c3c5acc7fbc07fd96fafc
0c84b348e33ab9d7df5c3c5acc7fbc07fd96fafc Fix up bad merge with efi: generalize efi_get_secureboot
https://gitlab.com/cki-project/kernel-ark/-/commit/364788093bdf437c33753d327136c363be8f756c
364788093bdf437c33753d327136c363be8f756c Fix up a merge issue with rxe.c
https://gitlab.com/cki-project/kernel-ark/-/commit/a4d554ce883e24df77cce42bc2deec527028c213
a4d554ce883e24df77cce42bc2deec527028c213 Filter out LTO build options from the perl ccopts
https://gitlab.com/cki-project/kernel-ark/-/commit/17b0f7f1d49df30661b517d668715ff5ee1bab09
17b0f7f1d49df30661b517d668715ff5ee1bab09 Fixes "acpi: prefer booting with ACPI over DTS" to be RHEL only
https://gitlab.com/cki-project/kernel-ark/-/commit/e7c009cd91ababdbb5f726ef592c7800f0682d3a
e7c009cd91ababdbb5f726ef592c7800f0682d3a arch/x86: Remove vendor specific CPU ID checks
https://gitlab.com/cki-project/kernel-ark/-/commit/7120b2a26fc4c7954fd0395973dc6739c110e091
7120b2a26fc4c7954fd0395973dc6739c110e091 redhat: Replace hardware.redhat.com link in Unsupported message
https://gitlab.com/cki-project/kernel-ark/-/commit/7a28e2fde653a161913abb8eee943cdacb5ff2ae
7a28e2fde653a161913abb8eee943cdacb5ff2ae x86: Fix compile issues with rh_check_supported()
https://gitlab.com/cki-project/kernel-ark/-/commit/45f64c1a24e73af7987cffec3ea941e29364f87f
45f64c1a24e73af7987cffec3ea941e29364f87f e1000e: bump up timeout to wait when ME un-configure ULP mode
https://gitlab.com/cki-project/kernel-ark/-/commit/6c14763b1ce98698949ff45135c15e333aa6416d
6c14763b1ce98698949ff45135c15e333aa6416d drm/sun4i: sun6i_mipi_dsi: fix horizontal timing calculation
https://gitlab.com/cki-project/kernel-ark/-/commit/67a19b16012b12cffba0b515c6503e5f8cdbb798
67a19b16012b12cffba0b515c6503e5f8cdbb798 drm: panel: add Xingbangda XBD599 panel
https://gitlab.com/cki-project/kernel-ark/-/commit/d220dbf98cef820367b5a2a2eeaacebee958bdd4
d220dbf98cef820367b5a2a2eeaacebee958bdd4 dt-bindings: panel: add binding for Xingbangda XBD599 panel
https://gitlab.com/cki-project/kernel-ark/-/commit/80660062260dec4bdca9540922577542c16145e8
80660062260dec4bdca9540922577542c16145e8 ARM: fix __get_user_check() in case uaccess_* calls are not inlined
https://gitlab.com/cki-project/kernel-ark/-/commit/24d8743613b2a6a585fc68cfe95078d9a3d5b389
24d8743613b2a6a585fc68cfe95078d9a3d5b389 mm/kmemleak: skip late_init if not skip disable
https://gitlab.com/cki-project/kernel-ark/-/commit/b697ff5e26974fee8fcd31a1e221e9dd41515efc
b697ff5e26974fee8fcd31a1e221e9dd41515efc KEYS: Make use of platform keyring for module signature verify
https://gitlab.com/cki-project/kernel-ark/-/commit/081d2185e22479b449586c4e9843602ca0d49806
081d2185e22479b449586c4e9843602ca0d49806 Drop that for now
https://gitlab.com/cki-project/kernel-ark/-/commit/5ef51389cf6673a0e9e004909c7be1dc785050b2
5ef51389cf6673a0e9e004909c7be1dc785050b2 Input: rmi4 - remove the need for artificial IRQ in case of HID
https://gitlab.com/cki-project/kernel-ark/-/commit/c1788012ebf8de46e9dc80d18051ed0c77c811b6
c1788012ebf8de46e9dc80d18051ed0c77c811b6 ARM: tegra: usb no reset
https://gitlab.com/cki-project/kernel-ark/-/commit/577365feaa909db4c0949eabfcda7e4a972b8e54
577365feaa909db4c0949eabfcda7e4a972b8e54 arm: make CONFIG_HIGHPTE optional without CONFIG_EXPERT
https://gitlab.com/cki-project/kernel-ark/-/commit/331be9c5a436057ee852075c102d9d90a9046a30
331be9c5a436057ee852075c102d9d90a9046a30 redhat: rh_kabi: deduplication friendly structs
https://gitlab.com/cki-project/kernel-ark/-/commit/34d79fbfb327f732ebf3ece4db21a14f81fedf03
34d79fbfb327f732ebf3ece4db21a14f81fedf03 redhat: rh_kabi add a comment with warning about RH_KABI_EXCLUDE usage
https://gitlab.com/cki-project/kernel-ark/-/commit/93a4b5f12d5a1c2d62cf1d7c440b31d9847eab07
93a4b5f12d5a1c2d62cf1d7c440b31d9847eab07 redhat: rh_kabi: introduce RH_KABI_EXTEND_WITH_SIZE
https://gitlab.com/cki-project/kernel-ark/-/commit/8e5c06356457f5351289e9f687b991189d163dae
8e5c06356457f5351289e9f687b991189d163dae redhat: rh_kabi: Indirect EXTEND macros so nesting of other macros will resolve.
https://gitlab.com/cki-project/kernel-ark/-/commit/212cbccda77cc81fcb60123907eabdac8ad5adb7
212cbccda77cc81fcb60123907eabdac8ad5adb7 redhat: rh_kabi: Fix RH_KABI_SET_SIZE to use dereference operator
https://gitlab.com/cki-project/kernel-ark/-/commit/6f7744b412e1fb86a67d8761e64df69cf891b4ad
6f7744b412e1fb86a67d8761e64df69cf891b4ad redhat: rh_kabi: Add macros to size and extend structs
https://gitlab.com/cki-project/kernel-ark/-/commit/049623d33998be30d79692c69b34acb502c496e3
049623d33998be30d79692c69b34acb502c496e3 Removing Obsolete hba pci-ids from rhel8
https://gitlab.com/cki-project/kernel-ark/-/commit/43ef1d631ecfe84084db3572c9ed1bedbdceb0f8
43ef1d631ecfe84084db3572c9ed1bedbdceb0f8 mptsas: pci-id table changes
https://gitlab.com/cki-project/kernel-ark/-/commit/e5726695109dd1a73da92487b75de6a51d54c015
e5726695109dd1a73da92487b75de6a51d54c015 mptsas: Taint kernel if mptsas is loaded
https://gitlab.com/cki-project/kernel-ark/-/commit/ee4dcd6f04ca76ad35ab0f38c436ab2f7de53f16
ee4dcd6f04ca76ad35ab0f38c436ab2f7de53f16 mptspi: pci-id table changes
https://gitlab.com/cki-project/kernel-ark/-/commit/bd305f716d8b64be1926bc7aebe02468ac6bf599
bd305f716d8b64be1926bc7aebe02468ac6bf599 qla2xxx: Remove PCI IDs of deprecated adapter
https://gitlab.com/cki-project/kernel-ark/-/commit/803ff9a2c660c094e14d246ef05019bf6008d503
803ff9a2c660c094e14d246ef05019bf6008d503 be2iscsi: remove unsupported device IDs
https://gitlab.com/cki-project/kernel-ark/-/commit/2cb24399321f555f18b0804d3fe02cf53949fba1
2cb24399321f555f18b0804d3fe02cf53949fba1 mptspi: Taint kernel if mptspi is loaded
https://gitlab.com/cki-project/kernel-ark/-/commit/ad1740551ff4af49f1ef10a130783d9369e955a0
ad1740551ff4af49f1ef10a130783d9369e955a0 hpsa: remove old cciss-based smartarray pci ids
https://gitlab.com/cki-project/kernel-ark/-/commit/4197ba3e766656eea9175c11ed05903620d98a28
4197ba3e766656eea9175c11ed05903620d98a28 qla4xxx: Remove deprecated PCI IDs from RHEL 8
https://gitlab.com/cki-project/kernel-ark/-/commit/7e285aec22ab1213639afda877902db363473cb0
7e285aec22ab1213639afda877902db363473cb0 aacraid: Remove depreciated device and vendor PCI id's
https://gitlab.com/cki-project/kernel-ark/-/commit/846109a16be92155e69731c36dde48761d375153
846109a16be92155e69731c36dde48761d375153 megaraid_sas: remove deprecated pci-ids
https://gitlab.com/cki-project/kernel-ark/-/commit/6fd2019d01cee7ff36dc047d3ecdb504b968f222
6fd2019d01cee7ff36dc047d3ecdb504b968f222 mpt*: remove certain deprecated pci-ids
https://gitlab.com/cki-project/kernel-ark/-/commit/dddcd5c1129b275ff160324036a662739db51fc3
dddcd5c1129b275ff160324036a662739db51fc3 kernel: add SUPPORT_REMOVED kernel taint
https://gitlab.com/cki-project/kernel-ark/-/commit/08d77161dba915d1ed0d9fede658085440ab4474
08d77161dba915d1ed0d9fede658085440ab4474 Rename RH_DISABLE_DEPRECATED to RHEL_DIFFERENCES
https://gitlab.com/cki-project/kernel-ark/-/commit/e2dc2ca6a25a445bf22ceb6a8e38e02706605341
e2dc2ca6a25a445bf22ceb6a8e38e02706605341 Add option of 13 for FORCE_MAX_ZONEORDER
https://gitlab.com/cki-project/kernel-ark/-/commit/2384646bf71d8c282cf49bb20321fdf802c61cce
2384646bf71d8c282cf49bb20321fdf802c61cce s390: Lock down the kernel when the IPL secure flag is set
https://gitlab.com/cki-project/kernel-ark/-/commit/5850c93175b9d2e1081873f4bbe08dead202cb08
5850c93175b9d2e1081873f4bbe08dead202cb08 efi: Lock down the kernel if booted in secure boot mode
https://gitlab.com/cki-project/kernel-ark/-/commit/53250b991f841be025fa4d264850dadc0fae2861
53250b991f841be025fa4d264850dadc0fae2861 efi: Add an EFI_SECURE_BOOT flag to indicate secure boot mode
https://gitlab.com/cki-project/kernel-ark/-/commit/72223fd1241cc5c70b96a491db14d54c83beadd8
72223fd1241cc5c70b96a491db14d54c83beadd8 security: lockdown: expose a hook to lock the kernel down
https://gitlab.com/cki-project/kernel-ark/-/commit/7ba28f03674fa9346610c3fea7fc93bc58f06d2a
7ba28f03674fa9346610c3fea7fc93bc58f06d2a Make get_cert_list() use efi_status_to_str() to print error messages.
https://gitlab.com/cki-project/kernel-ark/-/commit/2ae9082db0b54d831a9b3782c049d9917e37d89f
2ae9082db0b54d831a9b3782c049d9917e37d89f Add efi_status_to_str() and rework efi_status_to_err().
https://gitlab.com/cki-project/kernel-ark/-/commit/cee1461ada1b7e4b92cd154e7ec241119afcd644
cee1461ada1b7e4b92cd154e7ec241119afcd644 Add support for deprecating processors
https://gitlab.com/cki-project/kernel-ark/-/commit/2420149f8f5fa9dd1e2dc793765b498022922a81
2420149f8f5fa9dd1e2dc793765b498022922a81 arm: aarch64: Drop the EXPERT setting from ARM64_FORCE_52BIT
https://gitlab.com/cki-project/kernel-ark/-/commit/1d69b30b98b60aff639351f5788d20a3b17f6e27
1d69b30b98b60aff639351f5788d20a3b17f6e27 iommu/arm-smmu: workaround DMA mode issues
https://gitlab.com/cki-project/kernel-ark/-/commit/6b2e73e508e7a117b1db91596097c00e5570f64a
6b2e73e508e7a117b1db91596097c00e5570f64a rh_kabi: introduce RH_KABI_EXCLUDE
https://gitlab.com/cki-project/kernel-ark/-/commit/ecb9206bce179eb600c52642a6753012a69ce4a2
ecb9206bce179eb600c52642a6753012a69ce4a2 ipmi: do not configure ipmi for HPE m400
https://gitlab.com/cki-project/kernel-ark/-/commit/473be59fe72afa9969cf8d10609ef3f14f594631
473be59fe72afa9969cf8d10609ef3f14f594631 IB/rxe: Mark Soft-RoCE Transport driver as tech-preview
https://gitlab.com/cki-project/kernel-ark/-/commit/b94117795261f9c074a7addca2252238871b5081
b94117795261f9c074a7addca2252238871b5081 scsi: smartpqi: add inspur advantech ids
https://gitlab.com/cki-project/kernel-ark/-/commit/cae871558c333880c1687cab6f2a71accf40d105
cae871558c333880c1687cab6f2a71accf40d105 ice: mark driver as tech-preview
https://gitlab.com/cki-project/kernel-ark/-/commit/7d9cb007404211ea6638bde4a28dd0fbe8d95de0
7d9cb007404211ea6638bde4a28dd0fbe8d95de0 kABI: Add generic kABI macros to use for kABI workarounds
https://gitlab.com/cki-project/kernel-ark/-/commit/bd353e9aae8877dd490e6c92b67849e0dcfbab25
bd353e9aae8877dd490e6c92b67849e0dcfbab25 add pci_hw_vendor_status()
https://gitlab.com/cki-project/kernel-ark/-/commit/41a259999969bbdfe9f556ce71f2c3c07d7454f4
41a259999969bbdfe9f556ce71f2c3c07d7454f4 ahci: thunderx2: Fix for errata that affects stop engine
https://gitlab.com/cki-project/kernel-ark/-/commit/2a107343529ce648c11bff62e9f72bbeec738f3f
2a107343529ce648c11bff62e9f72bbeec738f3f Vulcan: AHCI PCI bar fix for Broadcom Vulcan early silicon
https://gitlab.com/cki-project/kernel-ark/-/commit/03e48a48f400a51a182a1254cf22ff0c08706d76
03e48a48f400a51a182a1254cf22ff0c08706d76 bpf: Add tech preview taint for syscall
https://gitlab.com/cki-project/kernel-ark/-/commit/607f0e89af7ef5682f79f2eea0a99638a1bc0c4f
607f0e89af7ef5682f79f2eea0a99638a1bc0c4f bpf: set unprivileged_bpf_disabled to 1 by default, add a boot parameter
https://gitlab.com/cki-project/kernel-ark/-/commit/31da227877eb734ddb484bc519aae85ce200802e
31da227877eb734ddb484bc519aae85ce200802e add Red Hat-specific taint flags
https://gitlab.com/cki-project/kernel-ark/-/commit/7a2e2c83be0230667756cccb5bc3687419dfbb8b
7a2e2c83be0230667756cccb5bc3687419dfbb8b kdump: fix a grammar issue in a kernel message
https://gitlab.com/cki-project/kernel-ark/-/commit/d345d54d33e7d496c9d845e4723550dd37cb3f88
d345d54d33e7d496c9d845e4723550dd37cb3f88 tags.sh: Ignore redhat/rpm
https://gitlab.com/cki-project/kernel-ark/-/commit/5c67dc1eb0783a5c4ca4eb5c545ff6fe05facff0
5c67dc1eb0783a5c4ca4eb5c545ff6fe05facff0 put RHEL info into generated headers
https://gitlab.com/cki-project/kernel-ark/-/commit/ce12884c009ec3bed11100c9d19f6d97628cf8ae
ce12884c009ec3bed11100c9d19f6d97628cf8ae kdump: add support for crashkernel=auto
https://gitlab.com/cki-project/kernel-ark/-/commit/18fb1389afccdc5535977a10669b49a37829b55a
18fb1389afccdc5535977a10669b49a37829b55a kdump: round up the total memory size to 128M for crashkernel reservation
https://gitlab.com/cki-project/kernel-ark/-/commit/5fb9821441cc0b77101ad9c0dfaa747957a4cce4
5fb9821441cc0b77101ad9c0dfaa747957a4cce4 acpi: prefer booting with ACPI over DTS
https://gitlab.com/cki-project/kernel-ark/-/commit/0cf21a40db6fca5d89cf3d65808117c8c14e524e
0cf21a40db6fca5d89cf3d65808117c8c14e524e aarch64: acpi scan: Fix regression related to X-Gene UARTs
https://gitlab.com/cki-project/kernel-ark/-/commit/de13e14cc2388478d9a2c68c5d90affd92098f11
de13e14cc2388478d9a2c68c5d90affd92098f11 ACPI / irq: Workaround firmware issue on X-Gene based m400
https://gitlab.com/cki-project/kernel-ark/-/commit/71c098f4afa38a15a95495c14f71fb087ab27308
71c098f4afa38a15a95495c14f71fb087ab27308 modules: add rhelversion MODULE_INFO tag
https://gitlab.com/cki-project/kernel-ark/-/commit/3247f9c838f4aa91aa5d08c152b385d61554d4b5
3247f9c838f4aa91aa5d08c152b385d61554d4b5 ACPI: APEI: arm64: Ignore broken HPE moonshot APEI support
https://gitlab.com/cki-project/kernel-ark/-/commit/e80982feaa68226ff60d2f83dace2016c35270d3
e80982feaa68226ff60d2f83dace2016c35270d3 Add Red Hat tainting
https://gitlab.com/cki-project/kernel-ark/-/commit/2987f9a606df106f5bdfa4113eb55356a21085a6
2987f9a606df106f5bdfa4113eb55356a21085a6 Introduce CONFIG_RH_DISABLE_DEPRECATED
https://gitlab.com/cki-project/kernel-ark/-/commit/a99885a5e77af594dfdce586cc83e5911d8401ce
a99885a5e77af594dfdce586cc83e5911d8401ce Pull the RHEL version defines out of the Makefile
https://gitlab.com/cki-project/kernel-ark/-/commit/cd3a5d30570279538623ea8a1255db0ee4b728f7
cd3a5d30570279538623ea8a1255db0ee4b728f7 [initial commit] Add Red Hat variables in the top level makefile

25
README.rst Normal file
View File

@ -0,0 +1,25 @@
===================
The Kernel dist-git
===================
The kernel is maintained in a `source tree`_ rather than directly in dist-git.
The specfile is maintained as a `template`_ in the source tree along with a set
of build scripts to generate configurations, (S)RPMs, and to populate the
dist-git repository.
The `documentation`_ for the source tree covers how to contribute and maintain
the tree.
If you're looking for the downstream patch set it's available in the source
tree with "git log master..ark-patches" or
`online`_.
Each release in dist-git is tagged in the source repository so you can easily
check out the source tree for a build. The tags are in the format
name-version-release, but note release doesn't contain the dist tag since the
source can be built in different build roots (Fedora, CentOS, etc.)
.. _source tree: https://gitlab.com/cki-project/kernel-ark.git
.. _template: https://gitlab.com/cki-project/kernel-ark/-/blob/os-build/redhat/kernel.spec.template
.. _documentation: https://gitlab.com/cki-project/kernel-ark/-/wikis/home
.. _online: https://gitlab.com/cki-project/kernel-ark/-/commits/ark-patches

View File

@ -1,78 +0,0 @@
Kernel package tips & tricks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The kernel is one of the more complicated packages in the distro, and
for the newcomer, some of the voodoo in the spec file can be somewhat scary.
This file attempts to document some of the magic.
Speeding up make prep
---------------------
The kernel is nearly 500MB of source code, and as such, 'make prep'
takes a while. The spec file employs some trickery so that repeated
invocations of make prep don't take as long. Ordinarily the %prep
phase of a package will delete the tree it is about to untar/patch.
The kernel %prep keeps around an unpatched version of the tree,
and makes a symlink tree clone of that clean tree and than applies
the patches listed in the spec to the symlink tree.
This makes a huge difference if you're doing multiple make preps a day.
As an added bonus, doing a diff between the clean tree and the symlink
tree is slightly faster than it would be doing two proper copies of the tree.
Build logs.
-----------
There's a convenience helper script in scripts/grab-logs.sh
that will grab the build logs from koji for the kernel version reported
by make verrel
Config hierarchy.
-----------------
Instead of having to maintain a config file for every arch variant we build on,
the kernel spec uses a nested system of configs. Each option CONFIG_FOO is
represented by a single file named CONFIG_FOO which contains the state (=y, =m,
=n). These options are collected in the folder base-generic. Architecture
specific options are set in nested folders. An option set in a nested folder
will override the same option set in one of the higher levels.
The individual CONFIG_FOO files only exist in the pkg-git repository. The RPM
contains kernel-foo.config files which are the result of combining all the
CONFIG_FOO files. The files are combined by running build_configs.sh. This
script _must_ be run each time one of the options is changed.
Example flow:
# Enable the option CONFIG_ABC123 as a module for all arches
echo "CONFIG_ABC123=m" > configs/base-generic/CONFIG_ABC1234
# enable the option CONFIG_XYZ321 for only x86
echo "# CONFIG_XYZ321 is not set" > configs/base-generic/CONFIG_XYZ321
echo "CONFIG_XYZ321=m" > configs/base-generic/x86/CONFIG_XYZ321
# regenerate the combined config files
./build_configs.sh
The file config_generation gives a listing of what folders go into each
config file generated.
Debug options.
--------------
This is a little complicated, as the purpose & meaning of this changes
depending on where we are in the release cycle.
If we are building for a current stable release, 'make release' has
typically been run already, which sets up the following..
- Two builds occur, a 'kernel' and a 'kernel-debug' flavor.
- kernel-debug will get various heavyweight debugging options like
lockdep etc turned on.
If we are building for rawhide, 'make debug' has been run, which changes
the status quo to:
- We only build one kernel 'kernel'
- The debug options are always turned on.
This is done to increase coverage testing, as not many people actually
run kernel-debug.
The debug options are managed in a separate heierarchy under base-debug. This
works in a similar manner to base-generic. More deeply nested folders, again,
override options. The file config_generation gives a listing of what folders
go into each config file generated.

10
TODO
View File

@ -1,10 +0,0 @@
Config TODOs:
* review & disable a bunch of the I2C, RTC, DVB, SOUND options.
Spec file TODOs:
* modules-extra: Do a few more things to make it a bit more robust.
- Allow for comments in the mod-extra.list file.
- Don't fail the build if a module is listed but not built (maybe).
- See if it can be tied into Kconfig instead of module names.

View File

@ -1,57 +0,0 @@
From patchwork Thu Jun 28 08:13:30 2018
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [2/3] mmc: sdhci: add quirk to prevent higher speed modes
From: Stefan Agner <stefan@agner.ch>
X-Patchwork-Id: 10493273
Message-Id: <20180628081331.13051-3-stefan@agner.ch>
To: adrian.hunter@intel.com, ulf.hansson@linaro.org
Cc: fabio.estevam@nxp.com, haibo.chen@nxp.com, aisheng.dong@nxp.com,
michael@amarulasolutions.com, rmk+kernel@armlinux.org.uk,
linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
Stefan Agner <stefan@agner.ch>
Date: Thu, 28 Jun 2018 10:13:30 +0200
Some hosts are capable of running higher speed modes but do not
have the board support for it. Introduce a quirk which prevents
the stack from using modes running at 100MHz or faster.
Signed-off-by: Stefan Agner <stefan@agner.ch>
---
drivers/mmc/host/sdhci.c | 8 ++++++++
drivers/mmc/host/sdhci.h | 2 ++
2 files changed, 10 insertions(+)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 1c828e0e9905..8ac257dfaab3 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -3749,6 +3749,14 @@ int sdhci_setup_host(struct sdhci_host *host)
}
}
+ if (host->quirks2 & SDHCI_QUIRK2_NO_UHS_HS200_HS400) {
+ host->caps1 &= ~(SDHCI_SUPPORT_SDR104 | SDHCI_SUPPORT_SDR50 |
+ SDHCI_SUPPORT_DDR50);
+
+ mmc->caps2 &= ~(MMC_CAP2_HSX00_1_8V | MMC_CAP2_HSX00_1_2V |
+ MMC_CAP2_HS400_ES);
+ }
+
if (host->quirks2 & SDHCI_QUIRK2_NO_1_8_V) {
host->caps1 &= ~(SDHCI_SUPPORT_SDR104 | SDHCI_SUPPORT_SDR50 |
SDHCI_SUPPORT_DDR50);
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 23966f887da6..cb2433d6d61f 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -450,6 +450,8 @@ struct sdhci_host {
* block count.
*/
#define SDHCI_QUIRK2_USE_32BIT_BLK_CNT (1<<18)
+/* Do not support any higher speeds (>50MHz) */
+#define SDHCI_QUIRK2_NO_UHS_HS200_HS400 (1<<19)
int irq; /* Device IRQ */
void __iomem *ioaddr; /* Mapped address */

View File

@ -1,139 +0,0 @@
From patchwork Tue Oct 16 14:00:20 2018
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Daniel Lezcano <daniel.lezcano@linaro.org>
X-Patchwork-Id: 1000432
Return-Path: <SRS0=e/xi=M4=vger.kernel.org=linux-kernel-owner@kernel.org>
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
by smtp.lore.kernel.org (Postfix) with ESMTP id 41BB8C04EBD
for <linux-kernel@archiver.kernel.org>; Tue, 16 Oct 2018 14:01:24 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by mail.kernel.org (Postfix) with ESMTP id 032862089E
for <linux-kernel@archiver.kernel.org>; Tue, 16 Oct 2018 14:01:24 +0000 (UTC)
Authentication-Results: mail.kernel.org;
dkim=pass (1024-bit key) header.d=linaro.org header.i=@linaro.org
header.b="OwrJnI6D"
DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 032862089E
Authentication-Results: mail.kernel.org;
dmarc=fail (p=none dis=none) header.from=linaro.org
Authentication-Results: mail.kernel.org;
spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1727241AbeJPVv6 (ORCPT
<rfc822;linux-kernel@archiver.kernel.org>);
Tue, 16 Oct 2018 17:51:58 -0400
Received: from mail-wr1-f68.google.com ([209.85.221.68]:43800 "EHLO
mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S1727149AbeJPVv6 (ORCPT
<rfc822;linux-kernel@vger.kernel.org>);
Tue, 16 Oct 2018 17:51:58 -0400
Received: by mail-wr1-f68.google.com with SMTP id n1-v6so25672615wrt.10
for <linux-kernel@vger.kernel.org>;
Tue, 16 Oct 2018 07:01:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=linaro.org; s=google;
h=from:to:cc:subject:date:message-id;
bh=AyjUgKMFmAFThaK4GvWsdrdl4JZ3kTa6zVPrOmGMjOA=;
b=OwrJnI6D/huHRM5jiagiGiKBxUHFUlMvwe1t2GexoIKOTqtFGY3vwPCkrAUWdnT5+f
n+wvqEq+enR14QpmLTY3VNYAsxMcDtJOZ2R2Cw0rRdiHypMeUGRanfszUimV9omTlSGH
ApMgMERT+Pim+X1tp/uH775sDaVLHsJDyJb2Y=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:cc:subject:date:message-id;
bh=AyjUgKMFmAFThaK4GvWsdrdl4JZ3kTa6zVPrOmGMjOA=;
b=DO/kT4iXCQgCsPC53FV7CMKKHaDQNQtZUIfHfJGQ2iRgCRNsZSYU6JYHxxjsqWSLyq
c46PNGLDG4qPZf/tveVt9wc9SPdKTk3klyT5NnQvdlNY8uv5/GTXINOWmNE0xD9hqvaP
ml6yJRUA51/KJU73p7XhGvWlMmEuStLUtXa4rlqKgush6lllYhSFpca2xkiKFhqcd+Bc
HHXRh2i0OVgTdmdb0+lSKyLXm74UHrhv1WEbgjGm+Mharwz/qsidTCXfqKPC7izgstBS
L+mjOACqna60eEsABW/p2nH9vxXAsU2ArAnmB714yeh9uckl1uRzYmMQCSD1LmmBN0q4
4UvQ==
X-Gm-Message-State: ABuFfojBZLkXjdlBc4AIjobar5Yk+68lR2+TEpPVGjsScLNzcmIj5eYO
yyEhPWYj3vc1MHjUcMfQLt7ahg==
X-Google-Smtp-Source:
ACcGV614RNSZy+OjIvsEaE9ONlZaDAeI1a8EpD+wP5Gt58g75Bh8DJgL6KJJ2ZjTenoZPwHLydiQBg==
X-Received: by 2002:adf:cd0c:: with SMTP id
w12-v6mr19534363wrm.67.1539698480294;
Tue, 16 Oct 2018 07:01:20 -0700 (PDT)
Received: from localhost.localdomain (221.56.88.92.rev.sfr.net.
[92.88.56.221])
by smtp.gmail.com with ESMTPSA id
b81-v6sm10195012wmh.47.2018.10.16.07.01.18
(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
Tue, 16 Oct 2018 07:01:19 -0700 (PDT)
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: heiko@sntech.de
Cc: linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Vicente Bergas <vicencb@gmail.com>,
Shawn Lin <shawn.lin@rock-chips.com>,
Ezequiel Garcia <ezequiel@collabora.com>,
Enric Balletbo i Serra <enric.balletbo@collabora.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED
DEVICE TREE BINDINGS),
linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC
support),
linux-rockchip@lists.infradead.org (open list:ARM/Rockchip SoC
support)
Subject: [PATCH] DT: rockchip: Fix stability issues with the 'performance'
governor on rock960
Date: Tue, 16 Oct 2018 16:00:20 +0200
Message-Id: <1539698431-12616-1-git-send-email-daniel.lezcano@linaro.org>
X-Mailer: git-send-email 2.7.4
Sender: linux-kernel-owner@vger.kernel.org
Precedence: bulk
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org
When the performance governor is set as default, the rock960 hangs
around one minute after booting, whatever the activity is (idle, key
pressed, loaded, ...).
Based on the commit log found at https://patchwork.kernel.org/patch/10092377/
"vdd_log has no consumer and therefore will not be set to a specific
voltage. Still the PWM output pin gets configured and thence the vdd_log
output voltage will changed from it's default. Depending on the idle
state of the PWM this will slightly over or undervoltage the logic supply
of the RK3399 and cause instability with GbE (undervoltage) and PCIe
(overvoltage). Since the default value set by a voltage divider is the
correct supply voltage and we don't need to change it during runtime we
remove the rail from the devicetree completely so the PWM pin will not
be configured."
After removing the vdd-log from the rock960's specific DT, the board
does no longer hang and shows a stable behavior.
Apply the same change for the rock960 by removing the vdd-log from the
DT.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
index 6c8c4ab..56abbb0 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
@@ -57,18 +57,6 @@
regulator-always-on;
vin-supply = <&vcc_sys>;
};
-
- vdd_log: vdd-log {
- compatible = "pwm-regulator";
- pwms = <&pwm2 0 25000 0>;
- regulator-name = "vdd_log";
- regulator-min-microvolt = <800000>;
- regulator-max-microvolt = <1400000>;
- regulator-always-on;
- regulator-boot-on;
- vin-supply = <&vcc_sys>;
- };
-
};
&cpu_l0 {

View File

@ -1,29 +0,0 @@
From 487ff7b0e537506057960a0c2d9482d19f2acf4a Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Wed, 26 Apr 2017 11:12:54 +0100
Subject: [PATCH] Add option of 13 for FORCE_MAX_ZONEORDER
This is a hack, but it's what the other distros currently use
for aarch64 with 4K pages so we'll do the same while upstream
decides what the best outcome is (which isn't this).
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
arch/arm64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 3741859765cf..deec9511f1d3 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -751,6 +751,7 @@ config XEN
config FORCE_MAX_ZONEORDER
int
default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
+ default "13" if (ARCH_THUNDER && !ARM64_64K_PAGES)
default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE)
default "11"
help
--
2.12.2

View File

@ -1,184 +0,0 @@
From patchwork Fri May 11 02:27:50 2018
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [1/2] arm64: arch_timer: Workaround for Allwinner A64 timer
instability
From: Samuel Holland <samuel@sholland.org>
X-Patchwork-Id: 10392891
Message-Id: <20180511022751.9096-2-samuel@sholland.org>
To: Maxime Ripard <maxime.ripard@bootlin.com>, Chen-Yu Tsai <wens@csie.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, Samuel Holland <samuel@sholland.org>
Date: Thu, 10 May 2018 21:27:50 -0500
The Allwinner A64 SoC is known [1] to have an unstable architectural
timer, which manifests itself most obviously in the time jumping forward
a multiple of 95 years [2][3]. This coincides with 2^56 cycles at a
timer frequency of 24 MHz, implying that the time went slightly backward
(and this was interpreted by the kernel as it jumping forward and
wrapping around past the epoch).
Further investigation revealed instability in the low bits of CNTVCT at
the point a high bit rolls over. This leads to power-of-two cycle
forward and backward jumps. (Testing shows that forward jumps are about
twice as likely as backward jumps.)
Without trapping reads to CNTVCT, a userspace program is able to read it
in a loop faster than it changes. A test program running on all 4 CPU
cores that reported jumps larger than 100 ms was run for 13.6 hours and
reported the following:
Count | Event
-------+---------------------------
9940 | jumped backward 699ms
268 | jumped backward 1398ms
1 | jumped backward 2097ms
16020 | jumped forward 175ms
6443 | jumped forward 699ms
2976 | jumped forward 1398ms
9 | jumped forward 356516ms
9 | jumped forward 357215ms
4 | jumped forward 714430ms
1 | jumped forward 3578440ms
This works out to a jump larger than 100 ms about every 5.5 seconds on
each CPU core.
The largest jump (almost an hour!) was the following sequence of reads:
0x0000007fffffffff → 0x00000093feffffff → 0x0000008000000000
Note that the middle bits don't necessarily all read as all zeroes or
all ones during the anomalous behavior; however the low 11 bits checked
by the function in this patch have never been observed with any other
value.
Also note that smaller jumps are much more common, with the smallest
backward jumps of 2048 cycles observed over 400 times per second on each
core. (Of course, this is partially due to lower bits rolling over more
frequently.) Any one of these could have caused the 95 year time skip.
Similar anomalies were observed while reading CNTPCT (after patching the
kernel to allow reads from userspace). However, the jumps are much less
frequent, and only small jumps were observed. The same program as before
(except now reading CNTPCT) observed after 72 hours:
Count | Event
-------+---------------------------
17 | jumped backward 699ms
52 | jumped forward 175ms
2831 | jumped forward 699ms
5 | jumped forward 1398ms
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
========================================================================
Because the CPU can read the CNTPCT/CNTVCT registers faster than they
change, performing two reads of the register and comparing the high bits
(like other workarounds) is not a workable solution. And because the
timer can jump both forward and backward, no pair of reads can
distinguish a good value from a bad one. The only way to guarantee a
good value from consecutive reads would be to read _three_ times, and
take the middle value iff the three values are 1) individually unique
and 2) increasing. This takes at minimum 3 cycles (125 ns), or more if
an anomaly is detected.
However, since there is a distinct pattern to the bad values, we can
optimize the common case (2046/2048 of the time) to a single read by
simply ignoring values that match the pattern. This still takes no more
than 3 cycles in the worst case, and requires much less code.
[1]: https://github.com/armbian/build/commit/a08cd6fe7ae9
[2]: https://forum.armbian.com/topic/3458-a64-datetime-clock-issue/
[3]: https://irclog.whitequark.org/linux-sunxi/2018-01-26
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
drivers/clocksource/Kconfig | 11 ++++++++++
drivers/clocksource/arm_arch_timer.c | 39 ++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 8e8a09755d10..7a5d434dd30b 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -364,6 +364,17 @@ config ARM64_ERRATUM_858921
The workaround will be dynamically enabled when an affected
core is detected.
+config SUN50I_A64_UNSTABLE_TIMER
+ bool "Workaround for Allwinner A64 timer instability"
+ default y
+ depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI
+ select ARM_ARCH_TIMER_OOL_WORKAROUND
+ help
+ This option enables a workaround for instability in the timer on
+ the Allwinner A64 SoC. The workaround will only be active if the
+ allwinner,sun50i-a64-unstable-timer property is found in the
+ timer node.
+
config ARM_GLOBAL_TIMER
bool "Support for the ARM global timer" if COMPILE_TEST
select TIMER_OF if OF
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 57cb2f00fc07..66ce13578c52 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -319,6 +319,36 @@ static u64 notrace arm64_858921_read_cntvct_el0(void)
}
#endif
+#ifdef CONFIG_SUN50I_A64_UNSTABLE_TIMER
+/*
+ * The low bits of each register can transiently read as all ones or all zeroes
+ * when bit 11 or greater rolls over. Since the value can jump both backward
+ * (7ff -> 000 -> 800) and forward (7ff -> fff -> 800), it is simplest to just
+ * ignore register values with all ones or zeros in the low bits.
+ */
+static u64 notrace sun50i_a64_read_cntpct_el0(void)
+{
+ u64 val;
+
+ do {
+ val = read_sysreg(cntpct_el0);
+ } while (((val + 1) & GENMASK(10, 0)) <= 1);
+
+ return val;
+}
+
+static u64 notrace sun50i_a64_read_cntvct_el0(void)
+{
+ u64 val;
+
+ do {
+ val = read_sysreg(cntvct_el0);
+ } while (((val + 1) & GENMASK(10, 0)) <= 1);
+
+ return val;
+}
+#endif
+
#ifdef CONFIG_ARM_ARCH_TIMER_OOL_WORKAROUND
DEFINE_PER_CPU(const struct arch_timer_erratum_workaround *, timer_unstable_counter_workaround);
EXPORT_SYMBOL_GPL(timer_unstable_counter_workaround);
@@ -408,6 +438,15 @@ static const struct arch_timer_erratum_workaround ool_workarounds[] = {
.read_cntvct_el0 = arm64_1188873_read_cntvct_el0,
},
#endif
+#ifdef CONFIG_SUN50I_A64_UNSTABLE_TIMER
+ {
+ .match_type = ate_match_dt,
+ .id = "allwinner,sun50i-a64-unstable-timer",
+ .desc = "Allwinner A64 timer instability",
+ .read_cntpct_el0 = sun50i_a64_read_cntpct_el0,
+ .read_cntvct_el0 = sun50i_a64_read_cntvct_el0,
+ },
+#endif
};
typedef bool (*ate_match_fn_t)(const struct arch_timer_erratum_workaround *,

View File

@ -1,38 +0,0 @@
From patchwork Fri May 11 02:27:51 2018
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [2/2] arm64: dts: allwinner: a64: Enable A64 timer workaround
From: Samuel Holland <samuel@sholland.org>
X-Patchwork-Id: 10392889
Message-Id: <20180511022751.9096-3-samuel@sholland.org>
To: Maxime Ripard <maxime.ripard@bootlin.com>, Chen-Yu Tsai <wens@csie.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, Samuel Holland <samuel@sholland.org>
Date: Thu, 10 May 2018 21:27:51 -0500
As instability in the architectural timer has been observed on multiple
devices using this SoC, inluding the Pine64 and the Orange Pi Win,
enable the workaround in the SoC's device tree.
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 1b2ef28c42bd..5202b76e9684 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -152,6 +152,7 @@
timer {
compatible = "arm,armv8-timer";
+ allwinner,sun50i-a64-unstable-timer;
interrupts = <GIC_PPI 13
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
<GIC_PPI 14

View File

@ -1,38 +0,0 @@
From: "kernel-team@fedoraproject.org" <kernel-team@fedoraproject.org>
Date: Wed, 6 Feb 2013 09:57:47 -0500
Subject: [PATCH] ath9k: rx dma stop check
---
drivers/net/wireless/ath/ath9k/mac.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/mac.c b/drivers/net/wireless/ath/ath9k/mac.c
index bba85d1a6cd1..ebbee8f17130 100644
--- a/drivers/net/wireless/ath/ath9k/mac.c
+++ b/drivers/net/wireless/ath/ath9k/mac.c
@@ -693,7 +693,7 @@ bool ath9k_hw_stopdmarecv(struct ath_hw *ah, bool *reset)
{
#define AH_RX_STOP_DMA_TIMEOUT 10000 /* usec */
struct ath_common *common = ath9k_hw_common(ah);
- u32 mac_status, last_mac_status = 0;
+ u32 mac_status = 0, last_mac_status = 0;
int i;
/* Enable access to the DMA observation bus */
@@ -723,6 +723,16 @@ bool ath9k_hw_stopdmarecv(struct ath_hw *ah, bool *reset)
}
if (i == 0) {
+ if (!AR_SREV_9300_20_OR_LATER(ah) &&
+ (mac_status & 0x700) == 0) {
+ /*
+ * DMA is idle but the MAC is still stuck
+ * processing events
+ */
+ *reset = true;
+ return true;
+ }
+
ath_err(common,
"DMA failed to stop in %d ms AR_CR=0x%08x AR_DIAG_SW=0x%08x DMADBG_7=0x%08x\n",
AH_RX_STOP_DMA_TIMEOUT / 1000,

View File

@ -1,396 +0,0 @@
From 624e057827435de39274c34e20c2d937cb9d4ac3 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Thu, 31 May 2018 19:08:12 +0100
Subject: [PATCH] bcm2835: cpufreq: add CPU frequency control driver
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
arch/arm/boot/dts/bcm2835-rpi.dtsi | 7 ++
arch/arm/boot/dts/bcm2837.dtsi | 33 +++++++
drivers/clk/bcm/Kconfig | 8 ++
drivers/clk/bcm/Makefile | 1 +
drivers/clk/bcm/clk-raspberrypi.c | 138 +++++++++++++++++++++++++++++
5 files changed, 187 insertions(+)
create mode 100644 drivers/clk/bcm/clk-raspberrypi.c
diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index 6c3cfaa77f3d..e6d1627ec421 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -35,6 +35,13 @@
reg = <0x7e00b840 0xf>;
interrupts = <0 2>;
};
+
+ arm_clk: arm_clk {
+ compatible = "raspberrypi,bcm2835-cpu";
+ clocks = <&clocks BCM2835_CLOCK_VPU>;
+ #clock-cells = <0>;
+ clock-output-names = "arm";
+ };
};
};
diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi
index 7704bb029605..c24176282a1f 100644
--- a/arch/arm/boot/dts/bcm2837.dtsi
+++ b/arch/arm/boot/dts/bcm2837.dtsi
@@ -38,6 +38,9 @@
reg = <0>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x000000d8>;
+ clocks = <&arm_clk>;
+ clock-names = "cpu";
+ operating-points-v2 = <&cpu0_opp_table>;
};
cpu1: cpu@1 {
@@ -46,6 +49,9 @@
reg = <1>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x000000e0>;
+ clocks = <&arm_clk>;
+ clock-names = "cpu";
+ operating-points-v2 = <&cpu0_opp_table>;
};
cpu2: cpu@2 {
@@ -54,6 +60,9 @@
reg = <2>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x000000e8>;
+ clocks = <&arm_clk>;
+ clock-names = "cpu";
+ operating-points-v2 = <&cpu0_opp_table>;
};
cpu3: cpu@3 {
@@ -62,6 +71,30 @@
reg = <3>;
enable-method = "spin-table";
cpu-release-addr = <0x0 0x000000f0>;
+ clocks = <&arm_clk>;
+ clock-names = "cpu";
+ operating-points-v2 = <&cpu0_opp_table>;
+ };
+ };
+
+ cpu0_opp_table: opp_table0 {
+ compatible = "operating-points-v2";
+ opp-shared;
+
+ opp@600000000 {
+ opp-hz = /bits/ 64 <600000000>;
+ clock-latency-ns = <355000>;
+ opp-suspend;
+ };
+
+ opp@900000000 {
+ opp-hz = /bits/ 64 <900000000>;
+ clock-latency-ns = <355000>;
+ };
+
+ opp@1200000000 {
+ opp-hz = /bits/ 64 <1200000000>;
+ clock-latency-ns = <355000>;
};
};
};
diff --git a/drivers/clk/bcm/Kconfig b/drivers/clk/bcm/Kconfig
index 4c4bd85f707c..e40bd19da22b 100644
--- a/drivers/clk/bcm/Kconfig
+++ b/drivers/clk/bcm/Kconfig
@@ -63,3 +63,11 @@ config CLK_BCM_SR
default ARCH_BCM_IPROC
help
Enable common clock framework support for the Broadcom Stingray SoC
+
+config CLK_RASPBERRYPI_CPU
+ bool "Raspberry Pi CPU clock driver"
+ depends on ARCH_BCM2835 || (COMPILE_TEST && OF)
+ depends on RASPBERRYPI_FIRMWARE=y
+ help
+ This enables support for the RPi CPU clock which can be adjusted
+ via the RPi firmware.
diff --git a/drivers/clk/bcm/Makefile b/drivers/clk/bcm/Makefile
index 002661d39128..a028b0a90b6e 100644
--- a/drivers/clk/bcm/Makefile
+++ b/drivers/clk/bcm/Makefile
@@ -8,6 +8,7 @@ obj-$(CONFIG_COMMON_CLK_IPROC) += clk-iproc-armpll.o clk-iproc-pll.o clk-iproc-a
obj-$(CONFIG_ARCH_BCM2835) += clk-bcm2835.o
obj-$(CONFIG_ARCH_BCM2835) += clk-bcm2835-aux.o
obj-$(CONFIG_ARCH_BCM_53573) += clk-bcm53573-ilp.o
+obj-$(CONFIG_CLK_RASPBERRYPI_CPU) += clk-raspberrypi.o
obj-$(CONFIG_CLK_BCM_CYGNUS) += clk-cygnus.o
obj-$(CONFIG_CLK_BCM_HR2) += clk-hr2.o
obj-$(CONFIG_CLK_BCM_NSP) += clk-nsp.o
diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk-raspberrypi.c
new file mode 100644
index 000000000000..046efc822a59
--- /dev/null
+++ b/drivers/clk/bcm/clk-raspberrypi.c
@@ -0,0 +1,138 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Raspberry Pi CPU clock driver
+ *
+ * Copyright (C) 2018 Stefan Wahren <stefan.wahren@i2se.com>
+ */
+
+#include <linux/clk.h>
+#include <linux/clk-provider.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/module.h>
+#include <linux/of_device.h>
+#include <linux/platform_device.h>
+#include <linux/slab.h>
+#include <soc/bcm2835/raspberrypi-firmware.h>
+
+#define VCMSG_ID_ARM_CLOCK 0x000000003 /* Clock/Voltage ID's */
+
+struct rpi_cpu_clkgen {
+ struct clk_hw hw;
+ struct rpi_firmware *fw;
+};
+
+/* tag part of the message */
+struct prop {
+ u32 id; /* the ID of the clock/voltage to get or set */
+ u32 val; /* the value (e.g. rate (in Hz)) to set */
+} __packed;
+
+static int rpi_cpu_clock_property(struct rpi_firmware *fw, u32 tag, u32 *val)
+{
+ int ret;
+ struct prop msg = {
+ .id = VCMSG_ID_ARM_CLOCK,
+ .val = *val,
+ };
+
+ ret = rpi_firmware_property(fw, tag, &msg, sizeof(msg));
+ if (ret)
+ return ret;
+
+ *val = msg.val;
+
+ return 0;
+}
+
+static unsigned long rpi_cpu_get_rate(struct clk_hw *hw,
+ unsigned long parent_rate)
+{
+ struct rpi_cpu_clkgen *cpu = container_of(hw, struct rpi_cpu_clkgen, hw);
+ u32 rate = 0;
+
+ rpi_cpu_clock_property(cpu->fw, RPI_FIRMWARE_GET_CLOCK_RATE, &rate);
+
+ return rate;
+}
+
+static long rpi_cpu_round_rate(struct clk_hw *hw, unsigned long rate,
+ unsigned long *parent_rate)
+{
+ return rate;
+}
+
+static int rpi_cpu_set_rate(struct clk_hw *hw, unsigned long rate,
+ unsigned long parent_rate)
+{
+ struct rpi_cpu_clkgen *cpu = container_of(hw, struct rpi_cpu_clkgen, hw);
+ u32 new_rate = rate;
+
+ return rpi_cpu_clock_property(cpu->fw, RPI_FIRMWARE_SET_CLOCK_RATE,
+ &new_rate);
+}
+
+static const struct clk_ops rpi_cpu_ops = {
+ .recalc_rate = rpi_cpu_get_rate,
+ .round_rate = rpi_cpu_round_rate,
+ .set_rate = rpi_cpu_set_rate,
+};
+
+static int rpi_cpu_probe(struct platform_device *pdev)
+{
+ struct device *dev = &pdev->dev;
+ struct device_node *fw_node;
+ struct rpi_cpu_clkgen *cpu;
+ struct clk_init_data *init;
+ int ret;
+
+ cpu = devm_kzalloc(dev, sizeof(*cpu), GFP_KERNEL);
+ if (!cpu)
+ return -ENOMEM;
+
+ init = devm_kzalloc(dev, sizeof(*init), GFP_KERNEL);
+ if (!init)
+ return -ENOMEM;
+
+ fw_node = of_find_compatible_node(NULL, NULL,
+ "raspberrypi,bcm2835-firmware");
+ if (!fw_node) {
+ dev_err(dev, "Missing firmware node\n");
+ return -ENOENT;
+ }
+
+ cpu->fw = rpi_firmware_get(fw_node);
+ of_node_put(fw_node);
+ if (!cpu->fw)
+ return -EPROBE_DEFER;
+
+ init->name = dev->of_node->name;
+ init->ops = &rpi_cpu_ops;
+
+ cpu->hw.init = init;
+ ret = devm_clk_hw_register(dev, &cpu->hw);
+ if (ret)
+ return ret;
+
+ return of_clk_add_hw_provider(dev->of_node, of_clk_hw_simple_get,
+ &cpu->hw);
+}
+
+static const struct of_device_id rpi_cpu_of_match[] = {
+ { .compatible = "raspberrypi,bcm2835-cpu", },
+ {},
+};
+MODULE_DEVICE_TABLE(of, rpi_cpu_of_match);
+
+static struct platform_driver rpi_cpu_driver = {
+ .driver = {
+ .name = "raspberrypi-cpu",
+ .of_match_table = rpi_cpu_of_match,
+ },
+ .probe = rpi_cpu_probe,
+};
+builtin_platform_driver(rpi_cpu_driver);
+
+MODULE_AUTHOR("Stefan Wahren <stefan.wahren@i2se.com>");
+MODULE_DESCRIPTION("Raspberry Pi CPU clock driver");
+MODULE_LICENSE("GPL v2");
--
2.17.0
From 40a82f71737891581dcbe45331d15a29dd3e7805 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Mon, 4 Jun 2018 09:14:10 +0100
Subject: [PATCH 7/7] add 1.4 ghz OPP for the 3B+
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts b/arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts
index 4adb85e66be3..aaefb078f391 100644
--- a/arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts
+++ b/arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts
@@ -106,3 +106,10 @@
pinctrl-0 = <&uart1_gpio14>;
status = "okay";
};
+
+&cpu0_opp_table {
+ opp@1400000000 {
+ opp-hz = /bits/ 64 <1400000000>;
+ clock-latency-ns = <355000>;
+ };
+};
--
2.17.1
From d00bd46b40001d3500b8a7207dcfe1d66600e47e Mon Sep 17 00:00:00 2001
From: Stefan Wahren <stefan.wahren@i2se.com>
Date: Wed, 26 Sep 2018 21:13:22 +0200
Subject: [PATCH] ARM: bcm2837: Use CPU0 as cooling device
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
arch/arm/boot/dts/bcm2837.dtsi | 25 +++++++++++++++++++++++++
arch/arm/boot/dts/bcm283x.dtsi | 2 +-
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi
index 9cfc553..1590d94 100644
--- a/arch/arm/boot/dts/bcm2837.dtsi
+++ b/arch/arm/boot/dts/bcm2837.dtsi
@@ -1,4 +1,5 @@
#include "bcm283x.dtsi"
+#include <dt-bindings/thermal/thermal.h>
/ {
compatible = "brcm,bcm2837";
@@ -47,6 +48,7 @@
clocks = <&arm_clk>;
clock-names = "cpu";
operating-points-v2 = <&cpu0_opp_table>;
+ #cooling-cells = <2>;
};
cpu1: cpu@1 {
@@ -58,6 +60,7 @@
clocks = <&arm_clk>;
clock-names = "cpu";
operating-points-v2 = <&cpu0_opp_table>;
+ #cooling-cells = <2>;
};
cpu2: cpu@2 {
@@ -69,6 +72,7 @@
clocks = <&arm_clk>;
clock-names = "cpu";
operating-points-v2 = <&cpu0_opp_table>;
+ #cooling-cells = <2>;
};
cpu3: cpu@3 {
@@ -80,6 +84,7 @@
clocks = <&arm_clk>;
clock-names = "cpu";
operating-points-v2 = <&cpu0_opp_table>;
+ #cooling-cells = <2>;
};
};
@@ -117,6 +122,26 @@
&cpu_thermal {
coefficients = <(-538) 412000>;
+
+ trips {
+ cpu_alert0: cpu-alert0 {
+ temperature = <70000>;
+ hysteresis = <0>;
+ type = "passive";
+ };
+ };
+
+ cooling-maps {
+ map0 {
+ trip = <&cpu_alert0>;
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+
+ map1 {
+ trip = <&cpu_crit>;
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
};
/* enable thermal sensor with the correct compatible property set */
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 31b2964..2def068 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -38,7 +38,7 @@
thermal-sensors = <&thermal>;
trips {
- cpu-crit {
+ cpu_crit: cpu-crit {
temperature = <80000>;
hysteresis = <0>;
type = "critical";
--
2.7.4

View File

@ -1,40 +0,0 @@
From patchwork Tue Oct 9 13:24:46 2018
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: drm/vc4: Set ->is_yuv to false when num_planes == 1
From: Boris Brezillon <boris.brezillon@bootlin.com>
X-Patchwork-Id: 255528
Message-Id: <20181009132446.21960-1-boris.brezillon@bootlin.com>
To: David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
dri-devel@lists.freedesktop.org, Eric Anholt <eric@anholt.net>
Cc: Boris Brezillon <boris.brezillon@bootlin.com>, stable@vger.kernel.org
Date: Tue, 9 Oct 2018 15:24:46 +0200
When vc4_plane_state is duplicated ->is_yuv is left assigned to its
previous value, and we never set it back to false when switching to
a non-YUV format.
Fix that by setting ->is_yuv to false in the 'num_planes == 1' branch
of the vc4_plane_setup_clipping_and_scaling() function.
Fixes: fc04023fafecf ("drm/vc4: Add support for YUV planes.")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
---
drivers/gpu/drm/vc4/vc4_plane.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c
index d04b3c3246ba..60d5ad19cedd 100644
--- a/drivers/gpu/drm/vc4/vc4_plane.c
+++ b/drivers/gpu/drm/vc4/vc4_plane.c
@@ -321,6 +321,7 @@ static int vc4_plane_setup_clipping_and_scaling(struct drm_plane_state *state)
if (vc4_state->is_unity)
vc4_state->x_scaling[0] = VC4_SCALING_PPF;
} else {
+ vc4_state->is_yuv = false;
vc4_state->x_scaling[1] = VC4_SCALING_NONE;
vc4_state->y_scaling[1] = VC4_SCALING_NONE;
}

View File

@ -1,615 +0,0 @@
From 76202e874f06ab641fbe1caaddd4cfcf7158f174 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Wed, 10 Oct 2018 13:00:58 +0200
Subject: [PATCH 1/5] brcmfmac: Remove firmware-loading code duplication
brcmf_fw_request_next_item and brcmf_fw_request_done both have identical
code to complete the fw-request depending on the item-type.
This commit adds a new brcmf_fw_complete_request helper removing this code
duplication.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
.../broadcom/brcm80211/brcmfmac/firmware.c | 62 +++++++++----------
1 file changed, 31 insertions(+), 31 deletions(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
index 9095b830ae4d..784c84f0e9e7 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
@@ -504,6 +504,34 @@ static int brcmf_fw_request_nvram_done(const struct firmware *fw, void *ctx)
return -ENOENT;
}
+static int brcmf_fw_complete_request(const struct firmware *fw,
+ struct brcmf_fw *fwctx)
+{
+ struct brcmf_fw_item *cur = &fwctx->req->items[fwctx->curpos];
+ int ret = 0;
+
+ brcmf_dbg(TRACE, "firmware %s %sfound\n", cur->path, fw ? "" : "not ");
+
+ switch (cur->type) {
+ case BRCMF_FW_TYPE_NVRAM:
+ ret = brcmf_fw_request_nvram_done(fw, fwctx);
+ break;
+ case BRCMF_FW_TYPE_BINARY:
+ if (fw)
+ cur->binary = fw;
+ else
+ ret = -ENOENT;
+ break;
+ default:
+ /* something fishy here so bail out early */
+ brcmf_err("unknown fw type: %d\n", cur->type);
+ release_firmware(fw);
+ ret = -EINVAL;
+ }
+
+ return (cur->flags & BRCMF_FW_REQF_OPTIONAL) ? 0 : ret;
+}
+
static int brcmf_fw_request_next_item(struct brcmf_fw *fwctx, bool async)
{
struct brcmf_fw_item *cur;
@@ -525,15 +553,7 @@ static int brcmf_fw_request_next_item(struct brcmf_fw *fwctx, bool async)
if (ret < 0) {
brcmf_fw_request_done(NULL, fwctx);
} else if (!async && fw) {
- brcmf_dbg(TRACE, "firmware %s %sfound\n", cur->path,
- fw ? "" : "not ");
- if (cur->type == BRCMF_FW_TYPE_BINARY)
- cur->binary = fw;
- else if (cur->type == BRCMF_FW_TYPE_NVRAM)
- brcmf_fw_request_nvram_done(fw, fwctx);
- else
- release_firmware(fw);
-
+ brcmf_fw_complete_request(fw, fwctx);
return -EAGAIN;
}
return 0;
@@ -547,28 +567,8 @@ static void brcmf_fw_request_done(const struct firmware *fw, void *ctx)
cur = &fwctx->req->items[fwctx->curpos];
- brcmf_dbg(TRACE, "enter: firmware %s %sfound\n", cur->path,
- fw ? "" : "not ");
-
- if (!fw)
- ret = -ENOENT;
-
- switch (cur->type) {
- case BRCMF_FW_TYPE_NVRAM:
- ret = brcmf_fw_request_nvram_done(fw, fwctx);
- break;
- case BRCMF_FW_TYPE_BINARY:
- cur->binary = fw;
- break;
- default:
- /* something fishy here so bail out early */
- brcmf_err("unknown fw type: %d\n", cur->type);
- release_firmware(fw);
- ret = -EINVAL;
- goto fail;
- }
-
- if (ret < 0 && !(cur->flags & BRCMF_FW_REQF_OPTIONAL))
+ ret = brcmf_fw_complete_request(fw, fwctx);
+ if (ret < 0)
goto fail;
do {
--
2.19.1
From a3c4b522bff976360fb21c9205fcb37a121d4074 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Wed, 10 Oct 2018 13:00:59 +0200
Subject: [PATCH 2/5] brcmfmac: Remove recursion from firmware load error
handling
Before this commit brcmf_fw_request_done would call
brcmf_fw_request_next_item to load the next item, which on an error would
call brcmf_fw_request_done, which if the error is recoverable (*) will
then continue calling brcmf_fw_request_next_item for the next item again
which on an error will call brcmf_fw_request_done again...
This does not blow up because we only have a limited number of items so
we never recurse too deep. But the recursion is still quite ugly and
frankly is giving me a headache, so lets fix this.
This commit fixes this by removing brcmf_fw_request_next_item and by
making brcmf_fw_get_firmwares and brcmf_fw_request_done directly call
firmware_request_nowait resp. firmware_request themselves.
*) brcmf_fw_request_nvram_done fallback path succeeds or
BRCMF_FW_REQF_OPTIONAL is set
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
.../broadcom/brcm80211/brcmfmac/firmware.c | 65 ++++++-------------
1 file changed, 19 insertions(+), 46 deletions(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
index 784c84f0e9e7..08aaf99fee34 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
@@ -532,33 +532,6 @@ static int brcmf_fw_complete_request(const struct firmware *fw,
return (cur->flags & BRCMF_FW_REQF_OPTIONAL) ? 0 : ret;
}
-static int brcmf_fw_request_next_item(struct brcmf_fw *fwctx, bool async)
-{
- struct brcmf_fw_item *cur;
- const struct firmware *fw = NULL;
- int ret;
-
- cur = &fwctx->req->items[fwctx->curpos];
-
- brcmf_dbg(TRACE, "%srequest for %s\n", async ? "async " : "",
- cur->path);
-
- if (async)
- ret = request_firmware_nowait(THIS_MODULE, true, cur->path,
- fwctx->dev, GFP_KERNEL, fwctx,
- brcmf_fw_request_done);
- else
- ret = request_firmware(&fw, cur->path, fwctx->dev);
-
- if (ret < 0) {
- brcmf_fw_request_done(NULL, fwctx);
- } else if (!async && fw) {
- brcmf_fw_complete_request(fw, fwctx);
- return -EAGAIN;
- }
- return 0;
-}
-
static void brcmf_fw_request_done(const struct firmware *fw, void *ctx)
{
struct brcmf_fw *fwctx = ctx;
@@ -568,26 +541,19 @@ static void brcmf_fw_request_done(const struct firmware *fw, void *ctx)
cur = &fwctx->req->items[fwctx->curpos];
ret = brcmf_fw_complete_request(fw, fwctx);
- if (ret < 0)
- goto fail;
-
- do {
- if (++fwctx->curpos == fwctx->req->n_items) {
- ret = 0;
- goto done;
- }
- ret = brcmf_fw_request_next_item(fwctx, false);
- } while (ret == -EAGAIN);
-
- return;
+ while (ret == 0 && ++fwctx->curpos < fwctx->req->n_items) {
+ cur = &fwctx->req->items[fwctx->curpos];
+ request_firmware(&fw, cur->path, fwctx->dev);
+ ret = brcmf_fw_complete_request(fw, ctx);
+ }
-fail:
- brcmf_dbg(TRACE, "failed err=%d: dev=%s, fw=%s\n", ret,
- dev_name(fwctx->dev), cur->path);
- brcmf_fw_free_request(fwctx->req);
- fwctx->req = NULL;
-done:
+ if (ret) {
+ brcmf_dbg(TRACE, "failed err=%d: dev=%s, fw=%s\n", ret,
+ dev_name(fwctx->dev), cur->path);
+ brcmf_fw_free_request(fwctx->req);
+ fwctx->req = NULL;
+ }
fwctx->done(fwctx->dev, ret, fwctx->req);
kfree(fwctx);
}
@@ -611,7 +577,9 @@ int brcmf_fw_get_firmwares(struct device *dev, struct brcmf_fw_request *req,
void (*fw_cb)(struct device *dev, int err,
struct brcmf_fw_request *req))
{
+ struct brcmf_fw_item *first = &req->items[0];
struct brcmf_fw *fwctx;
+ int ret;
brcmf_dbg(TRACE, "enter: dev=%s\n", dev_name(dev));
if (!fw_cb)
@@ -628,7 +596,12 @@ int brcmf_fw_get_firmwares(struct device *dev, struct brcmf_fw_request *req,
fwctx->req = req;
fwctx->done = fw_cb;
- brcmf_fw_request_next_item(fwctx, true);
+ ret = request_firmware_nowait(THIS_MODULE, true, first->path,
+ fwctx->dev, GFP_KERNEL, fwctx,
+ brcmf_fw_request_done);
+ if (ret < 0)
+ brcmf_fw_request_done(NULL, fwctx);
+
return 0;
}
--
2.19.1
From c2c41d3f837ed492369607940af950ef554b8685 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Wed, 10 Oct 2018 13:01:00 +0200
Subject: [PATCH 3/5] brcmfmac: Add support for first trying to get a board
specific nvram file
The nvram files which some brcmfmac chips need are board-specific. To be
able to distribute these as part of linux-firmware, so that devices with
such a wifi chip will work OOTB, multiple (one per board) versions must
co-exist under /lib/firmware.
This commit adds support for callers of the brcmfmac/firmware.c code to
pass in a board_type parameter through the request structure.
If that parameter is set then the code will first try to load
chipmodel.board_type.txt before falling back to the old chipmodel.txt name.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
.../broadcom/brcm80211/brcmfmac/firmware.c | 27 ++++++++++++++++++-
.../broadcom/brcm80211/brcmfmac/firmware.h | 1 +
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
index 08aaf99fee34..6755b2388fbc 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
@@ -532,6 +532,31 @@ static int brcmf_fw_complete_request(const struct firmware *fw,
return (cur->flags & BRCMF_FW_REQF_OPTIONAL) ? 0 : ret;
}
+static int brcmf_fw_request_firmware(const struct firmware **fw,
+ struct brcmf_fw *fwctx)
+{
+ struct brcmf_fw_item *cur = &fwctx->req->items[fwctx->curpos];
+ int ret;
+
+ /* nvram files are board-specific, first try a board-specific path */
+ if (cur->type == BRCMF_FW_TYPE_NVRAM && fwctx->req->board_type) {
+ char alt_path[BRCMF_FW_NAME_LEN];
+
+ strlcpy(alt_path, cur->path, BRCMF_FW_NAME_LEN);
+ /* strip .txt at the end */
+ alt_path[strlen(alt_path) - 4] = 0;
+ strlcat(alt_path, ".", BRCMF_FW_NAME_LEN);
+ strlcat(alt_path, fwctx->req->board_type, BRCMF_FW_NAME_LEN);
+ strlcat(alt_path, ".txt", BRCMF_FW_NAME_LEN);
+
+ ret = request_firmware(fw, alt_path, fwctx->dev);
+ if (ret == 0)
+ return ret;
+ }
+
+ return request_firmware(fw, cur->path, fwctx->dev);
+}
+
static void brcmf_fw_request_done(const struct firmware *fw, void *ctx)
{
struct brcmf_fw *fwctx = ctx;
@@ -544,7 +569,7 @@ static void brcmf_fw_request_done(const struct firmware *fw, void *ctx)
while (ret == 0 && ++fwctx->curpos < fwctx->req->n_items) {
cur = &fwctx->req->items[fwctx->curpos];
- request_firmware(&fw, cur->path, fwctx->dev);
+ brcmf_fw_request_firmware(&fw, fwctx);
ret = brcmf_fw_complete_request(fw, ctx);
}
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h
index 2893e56910f0..a0834be8864e 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.h
@@ -70,6 +70,7 @@ struct brcmf_fw_request {
u16 domain_nr;
u16 bus_nr;
u32 n_items;
+ const char *board_type;
struct brcmf_fw_item items[0];
};
--
2.19.1
From 282477a8e4034ee2ea906d2eb234ce9c86f5685f Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Sat, 17 Nov 2018 15:18:35 +0000
Subject: [PATCH 4/5] brcmfmac: Set board_type used for nvram file selection to
machine-compatible
For of/devicetree using machines, set the board_type used for nvram file
selection to the first string listed in the top-level's node compatible
string, aka the machine-compatible as used by of_machine_is_compatible().
The board_type setting is used to load the board-specific nvram file with
a board-specific name so that we can ship files for each supported board
in linux-firmware.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
.../broadcom/brcm80211/brcmfmac/Makefile | 2 +
.../broadcom/brcm80211/brcmfmac/common.c | 3 +-
.../broadcom/brcm80211/brcmfmac/common.h | 8 ++
.../broadcom/brcm80211/brcmfmac/dmi.c | 116 ++++++++++++++++++
.../wireless/broadcom/brcm80211/brcmfmac/of.c | 11 +-
.../broadcom/brcm80211/brcmfmac/pcie.c | 1 +
.../broadcom/brcm80211/brcmfmac/sdio.c | 1 +
7 files changed, 140 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
index 1f5a9b948abf..22fd95a736a8 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
@@ -54,3 +54,5 @@ brcmfmac-$(CONFIG_BRCM_TRACING) += \
tracepoint.o
brcmfmac-$(CONFIG_OF) += \
of.o
+brcmfmac-$(CONFIG_DMI) += \
+ dmi.o
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
index cd3651069d0c..b93b1e797333 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
@@ -450,7 +450,8 @@ struct brcmf_mp_device *brcmf_get_module_param(struct device *dev,
}
}
if (!found) {
- /* No platform data for this device, try OF (Open Firwmare) */
+ /* No platform data for this device, try OF and DMI data */
+ brcmf_dmi_probe(settings, chip, chiprev);
brcmf_of_probe(dev, bus_type, settings);
}
return settings;
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
index a34642cb4d2f..4ce56be90b74 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h
@@ -59,6 +59,7 @@ struct brcmf_mp_device {
bool iapp;
bool ignore_probe_fail;
struct brcmfmac_pd_cc *country_codes;
+ const char *board_type;
union {
struct brcmfmac_sdio_pd sdio;
} bus;
@@ -74,4 +75,11 @@ void brcmf_release_module_param(struct brcmf_mp_device *module_param);
/* Sets dongle media info (drv_version, mac address). */
int brcmf_c_preinit_dcmds(struct brcmf_if *ifp);
+#ifdef CONFIG_DMI
+void brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev);
+#else
+static inline void
+brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev) {}
+#endif
+
#endif /* BRCMFMAC_COMMON_H */
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
new file mode 100644
index 000000000000..51d76ac45075
--- /dev/null
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
@@ -0,0 +1,116 @@
+/*
+ * Copyright 2018 Hans de Goede <hdegoede@redhat.com>
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#include <linux/dmi.h>
+#include <linux/mod_devicetable.h>
+#include "core.h"
+#include "common.h"
+#include "brcm_hw_ids.h"
+
+/* The DMI data never changes so we can use a static buf for this */
+static char dmi_board_type[128];
+
+struct brcmf_dmi_data {
+ u32 chip;
+ u32 chiprev;
+ const char *board_type;
+};
+
+/* NOTE: Please keep all entries sorted alphabetically */
+
+static const struct brcmf_dmi_data gpd_win_pocket_data = {
+ BRCM_CC_4356_CHIP_ID, 2, "gpd-win-pocket"
+};
+
+static const struct brcmf_dmi_data jumper_ezpad_mini3_data = {
+ BRCM_CC_43430_CHIP_ID, 0, "jumper-ezpad-mini3"
+};
+
+static const struct brcmf_dmi_data meegopad_t08_data = {
+ BRCM_CC_43340_CHIP_ID, 2, "meegopad-t08"
+};
+
+static const struct dmi_system_id dmi_platform_data[] = {
+ {
+ /* Match for the GPDwin which unfortunately uses somewhat
+ * generic dmi strings, which is why we test for 4 strings.
+ * Comparing against 23 other byt/cht boards, board_vendor
+ * and board_name are unique to the GPDwin, where as only one
+ * other board has the same board_serial and 3 others have
+ * the same default product_name. Also the GPDwin is the
+ * only device to have both board_ and product_name not set.
+ */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"),
+ DMI_MATCH(DMI_BOARD_NAME, "Default string"),
+ DMI_MATCH(DMI_BOARD_SERIAL, "Default string"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Default string"),
+ },
+ .driver_data = (void *)&gpd_win_pocket_data,
+ },
+ {
+ /* Jumper EZpad mini3 */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "CherryTrail"),
+ /* jumperx.T87.KFBNEEA02 with the version-nr dropped */
+ DMI_MATCH(DMI_BIOS_VERSION, "jumperx.T87.KFBNEEA"),
+ },
+ .driver_data = (void *)&jumper_ezpad_mini3_data,
+ },
+ {
+ /* Meegopad T08 */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Default string"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Default string"),
+ DMI_MATCH(DMI_BOARD_NAME, "T3 MRD"),
+ DMI_MATCH(DMI_BOARD_VERSION, "V1.1"),
+ },
+ .driver_data = (void *)&meegopad_t08_data,
+ },
+ {}
+};
+
+void brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev)
+{
+ const struct dmi_system_id *match;
+ const struct brcmf_dmi_data *data;
+ const char *sys_vendor;
+ const char *product_name;
+
+ /* Some models have DMI strings which are too generic, e.g.
+ * "Default string", we use a quirk table for these.
+ */
+ for (match = dmi_first_match(dmi_platform_data);
+ match;
+ match = dmi_first_match(match + 1)) {
+ data = match->driver_data;
+
+ if (data->chip == chip && data->chiprev == chiprev) {
+ settings->board_type = data->board_type;
+ return;
+ }
+ }
+
+ /* Not found in the quirk-table, use sys_vendor-product_name */
+ sys_vendor = dmi_get_system_info(DMI_SYS_VENDOR);
+ product_name = dmi_get_system_info(DMI_PRODUCT_NAME);
+ if (sys_vendor && product_name) {
+ snprintf(dmi_board_type, sizeof(dmi_board_type), "%s-%s",
+ sys_vendor, product_name);
+ settings->board_type = dmi_board_type;
+ }
+}
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
index aee6e5937c41..84e3373289eb 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
@@ -27,11 +27,20 @@ void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type,
struct brcmf_mp_device *settings)
{
struct brcmfmac_sdio_pd *sdio = &settings->bus.sdio;
- struct device_node *np = dev->of_node;
+ struct device_node *root, *np = dev->of_node;
+ struct property *prop;
int irq;
u32 irqf;
u32 val;
+ /* Set board-type to the first string of the machine compatible prop */
+ root = of_find_node_by_path("/");
+ if (root) {
+ prop = of_find_property(root, "compatible", NULL);
+ settings->board_type = of_prop_next_string(prop, NULL);
+ of_node_put(root);
+ }
+
if (!np || bus_type != BRCMF_BUSTYPE_SDIO ||
!of_device_is_compatible(np, "brcm,bcm4329-fmac"))
return;
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
index 4fffa6988087..b12f3e0ee69c 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
@@ -1785,6 +1785,7 @@ brcmf_pcie_prepare_fw_request(struct brcmf_pciedev_info *devinfo)
fwreq->items[BRCMF_PCIE_FW_CODE].type = BRCMF_FW_TYPE_BINARY;
fwreq->items[BRCMF_PCIE_FW_NVRAM].type = BRCMF_FW_TYPE_NVRAM;
fwreq->items[BRCMF_PCIE_FW_NVRAM].flags = BRCMF_FW_REQF_OPTIONAL;
+ fwreq->board_type = devinfo->settings->board_type;
/* NVRAM reserves PCI domain 0 for Broadcom's SDK faked bus */
fwreq->domain_nr = pci_domain_nr(devinfo->pdev->bus) + 1;
fwreq->bus_nr = devinfo->pdev->bus->number;
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
index a907d7b065fa..3dbbbb117563 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
@@ -4177,6 +4177,7 @@ brcmf_sdio_prepare_fw_request(struct brcmf_sdio *bus)
fwreq->items[BRCMF_SDIO_FW_CODE].type = BRCMF_FW_TYPE_BINARY;
fwreq->items[BRCMF_SDIO_FW_NVRAM].type = BRCMF_FW_TYPE_NVRAM;
+ fwreq->board_type = bus->sdiodev->settings->board_type;
return fwreq;
}
--
2.19.1
From 6351ca678eb1391129cf5afccab518f376d57596 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Wed, 10 Oct 2018 13:01:03 +0200
Subject: [PATCH 5/5] brcmfmac: Cleanup brcmf_fw_request_done()
The "cur" variable is now only used for a debug print and we already
print the same info from brcmf_fw_complete_request(), so the debug print
does not provide any extra info and we can remove it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
.../net/wireless/broadcom/brcm80211/brcmfmac/firmware.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
index 6755b2388fbc..b38c4b40b235 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
@@ -560,22 +560,16 @@ static int brcmf_fw_request_firmware(const struct firmware **fw,
static void brcmf_fw_request_done(const struct firmware *fw, void *ctx)
{
struct brcmf_fw *fwctx = ctx;
- struct brcmf_fw_item *cur;
- int ret = 0;
-
- cur = &fwctx->req->items[fwctx->curpos];
+ int ret;
ret = brcmf_fw_complete_request(fw, fwctx);
while (ret == 0 && ++fwctx->curpos < fwctx->req->n_items) {
- cur = &fwctx->req->items[fwctx->curpos];
brcmf_fw_request_firmware(&fw, fwctx);
ret = brcmf_fw_complete_request(fw, ctx);
}
if (ret) {
- brcmf_dbg(TRACE, "failed err=%d: dev=%s, fw=%s\n", ret,
- dev_name(fwctx->dev), cur->path);
brcmf_fw_free_request(fwctx->req);
fwctx->req = NULL;
}
--
2.19.1

View File

@ -1 +0,0 @@
configs/build_configs.sh

149
check-kabi Executable file
View File

@ -0,0 +1,149 @@
#!/usr/bin/python3
#
# check-kabi - Red Hat kABI reference checking tool
#
# We use this script to check against reference Module.kabi files.
#
# Author: Jon Masters <jcm@redhat.com>
# Copyright (C) 2007-2009 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# General Public License (GPL).
# Changelog:
#
# 2018/06/01 - Update for python3 by Petr Oros.
# 2009/08/15 - Updated for use in RHEL6.
# 2007/06/13 - Initial rewrite in python by Jon Masters.
__author__ = "Jon Masters <jcm@redhat.com>"
__version__ = "2.0"
__date__ = "2009/08/15"
__copyright__ = "Copyright (C) 2007-2009 Red Hat, Inc"
__license__ = "GPL"
import getopt
import string
import sys
true = 1
false = 0
def load_symvers(symvers, filename):
"""Load a Module.symvers file."""
symvers_file = open(filename, "r")
while true:
in_line = symvers_file.readline()
if in_line == "":
break
if in_line == "\n":
continue
checksum, symbol, directory, type = in_line.split()
symvers[symbol] = in_line[0:-1]
def load_kabi(kabi, filename):
"""Load a Module.kabi file."""
kabi_file = open(filename, "r")
while true:
in_line = kabi_file.readline()
if in_line == "":
break
if in_line == "\n":
continue
checksum, symbol, directory, type = in_line.split()
kabi[symbol] = in_line[0:-1]
def check_kabi(symvers, kabi):
"""Check Module.kabi and Module.symvers files."""
fail = 0
warn = 0
changed_symbols = []
moved_symbols = []
for symbol in kabi:
abi_hash, abi_sym, abi_dir, abi_type = kabi[symbol].split()
if symbol in symvers:
sym_hash, sym_sym, sym_dir, sym_type = symvers[symbol].split()
if abi_hash != sym_hash:
fail = 1
changed_symbols.append(symbol)
if abi_dir != sym_dir:
warn = 1
moved_symbols.append(symbol)
else:
fail = 1
changed_symbols.append(symbol)
if fail:
print("*** ERROR - ABI BREAKAGE WAS DETECTED ***")
print("")
print("The following symbols have been changed (this will cause an ABI breakage):")
print("")
for symbol in changed_symbols:
print(symbol)
print("")
if warn:
print("*** WARNING - ABI SYMBOLS MOVED ***")
print("")
print("The following symbols moved (typically caused by moving a symbol from being")
print("provided by the kernel vmlinux out to a loadable module):")
print("")
for symbol in moved_symbols:
print(symbol)
print("")
"""Halt the build, if we got errors and/or warnings. In either case,
double-checkig is required to avoid introducing / concealing
KABI inconsistencies."""
if fail or warn:
sys.exit(1)
sys.exit(0)
def usage():
print("""
check-kabi: check Module.kabi and Module.symvers files.
check-kabi [ -k Module.kabi ] [ -s Module.symvers ]
""")
if __name__ == "__main__":
symvers_file = ""
kabi_file = ""
opts, args = getopt.getopt(sys.argv[1:], 'hk:s:')
for o, v in opts:
if o == "-s":
symvers_file = v
if o == "-h":
usage()
sys.exit(0)
if o == "-k":
kabi_file = v
if (symvers_file == "") or (kabi_file == ""):
usage()
sys.exit(1)
symvers = {}
kabi = {}
load_symvers(symvers, symvers_file)
load_kabi(kabi, kabi_file)
check_kabi(symvers, kabi)

View File

@ -1,22 +0,0 @@
#!/usr/bin/awk -f
/is not set/ {
split ($0, a, "#");
split(a[2], b);
if (NR==FNR) {
configs[b[1]]="is not set";
} else {
if (configs[b[1]] != "" && configs[b[1]] != "is not set")
print "Found # "b[1] " is not set, after generation, had " b[1] " " configs[b[1]] " in Fedora tree";
}
}
/=/ {
split ($0, a, "=");
if (NR==FNR) {
configs[a[1]]=a[2];
} else {
if (configs[a[1]] != "" && configs[a[1]] != a[2])
print "Found "a[1]"="configs[a[1]]" after generation, had " a[1]"="a[2]" in Fedora tree";
}
}

View File

@ -1 +0,0 @@
configs/config_generation

View File

@ -1,137 +0,0 @@
#!/bin/bash
#
# This script merges together the hierarchy of CONFIG_* files under generic
# and debug to form the necessary $PACKAGE_NAME<version>-<arch>-<variant>.config
# files for building RHEL kernels, based on the contents of a control file
PACKAGE_NAME="${1:-kernel}" # defines the package name used
KVERREL="${2:-}"
SUBARCH="${3:-}" # defines a specific arch
SCRIPT="$(readlink -f $0)"
OUTPUT_DIR="$PWD"
SCRIPT_DIR="$(dirname $SCRIPT)"
LANG=en_US.UTF-8
# to handle this script being a symlink
cd $SCRIPT_DIR
set errexit
set nounset
control_file="config_generation"
cleanup()
{
rm -f config-*
}
die()
{
echo "$1"
cleanup
exit 1
}
function combine_config_layer()
{
dir=$1
file="config-$(echo $dir | sed -e 's|/|-|g')"
if [ $(ls $dir/ | grep -c "^CONFIG_") -eq 0 ]; then
touch $file
return
fi
cat $dir/CONFIG_* > $file
}
function merge_configs()
{
archvar=$1
arch=$(echo "$archvar" | cut -f1 -d"-")
configs=$2
order=$3
name=$OUTPUT_DIR/$PACKAGE_NAME-$archvar.config
echo -n "Building $name ... "
touch config-merging config-merged
# apply based on order
skip_if_missing=""
for o in $order
do
for config in $(echo $configs | sed -e 's/:/ /g')
do
cfile="config-$o-$config"
test -n "$skip_if_missing" && test ! -e $cfile && continue
perl merge.pl $cfile config-merging > config-merged
if [ ! $? -eq 0 ]; then
die "Failed to merge $cfile"
fi
mv config-merged config-merging
done
# first configs in $order is baseline, all files should be
# there. second pass is overrides and can be missing.
skip_if_missing="1"
done
if [ "x$arch" == "xaarch64" ]; then
echo "# arm64" > $name
elif [ "x$arch" == "xppc64le" ]; then
echo "# powerpc" > $name
elif [ "x$arch" == "xs390x" ]; then
echo "# s390" > $name
elif [ "x$arch" == "xarmv7hl" ]; then
echo "# arm" > $name
elif [ "x$arch" == "xi686" ]; then
echo "# i386" > $name
else
echo "# $arch" > $name
fi
sort config-merging >> $name
rm -f config-merged config-merging
echo "done"
}
while read line
do
if [ $(echo "$line" | grep -c "^#") -ne 0 ]; then
continue
elif [ $(echo "$line" | grep -c "^$") -ne 0 ]; then
continue
elif [ $(echo "$line" | grep -c "^ORDER") -ne 0 ]; then
order=$(echo "$line" | cut -f2 -d"=")
for o in $order
do
glist=$(find $o -type d)
for d in $glist
do
combine_config_layer $d
done
done
else
arch=$(echo "$line" | cut -f1 -d"=")
configs=$(echo "$line" | cut -f2 -d"=")
if [ -n "$SUBARCH" -a "$SUBARCH" != "$arch" ]; then
continue
fi
merge_configs $arch $configs "$order"
fi
done < $control_file
# A passed in kernel version implies copy to final location
# otherwise defer to another script
if test -n "$KVERREL"
then
for i in kernel-*.config
do
NEW="$(echo $i | sed "s/$PACKAGE_NAME-$SUBARCH/$PACKAGE_NAME-$KVERREL-$SUBARCH/")"
mv $i $NEW
done
fi
cleanup

View File

@ -1,35 +0,0 @@
# config-variant=config:config:config
# kernel.config files are build on the fly based on this config,
# the first arg is arch and variant, the second is a hierarchy of
# config options, lowest priority to highest
# tells the build_configs.sh which order to build the configs.
# this is useful when providing a separate overrides directory.
# do not use quotes and space separate the directories.
ORDER=fedora
# x86_64
x86_64=generic:generic-x86:generic-x86-x86_64
x86_64-debug=generic:generic-x86:generic-x86-x86_64:debug:debug-x86:debug-x86-x86_64
# i686
i686=generic:generic-x86:generic-x86-i686
i686-debug=generic:generic-x86:generic-x86-i686:debug:debug-x86
# ppc64le
ppc64le=generic:generic-powerpc:generic-powerpc-powerpc64le
ppc64le-debug=generic:generic-powerpc:generic-powerpc-powerpc64le:debug
# s390x
s390x=generic:generic-s390x
s390x-debug=generic:generic-s390x:debug
# aarch64
aarch64=generic:generic-arm:generic-arm-aarch64
aarch64-debug=generic:generic-arm:generic-arm-aarch64:debug:debug-arm
# arm
armv7hl=generic:generic-arm:generic-arm-armv7:generic-arm-armv7-armv7
armv7hl-debug=generic:generic-arm:generic-arm-armv7:generic-arm-armv7-armv7:debug:debug-arm
armv7hl-lpae=generic:generic-arm:generic-arm-armv7:generic-arm-armv7-lpae
armv7hl-lpae-debug=generic:generic-arm:generic-arm-armv7:generic-arm-armv7-lpae:debug:debug-arm

View File

@ -1 +0,0 @@
CONFIG_ACPI_DEBUG=y

View File

@ -1 +0,0 @@
CONFIG_ARM_PTDUMP_DEBUGFS=y

View File

@ -1 +0,0 @@
CONFIG_ATH_DEBUG=y

View File

@ -1 +0,0 @@
CONFIG_B43LEGACY_DEBUG=y

View File

@ -1 +0,0 @@
CONFIG_B43_DEBUG=y

View File

@ -1 +0,0 @@
CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION=y

View File

@ -1 +0,0 @@
CONFIG_BPF_KPROBE_OVERRIDE=y

View File

@ -1 +0,0 @@
CONFIG_CAN_DEBUG_DEVICES=y

View File

@ -1 +0,0 @@
CONFIG_CARL9170_DEBUGFS=y

View File

@ -1 +0,0 @@
CONFIG_CEPH_LIB_PRETTYDEBUG=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_ATOMIC_SLEEP=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_BLK_CGROUP=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_CREDENTIALS=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_KMEMLEAK=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=4096

View File

@ -1 +0,0 @@
CONFIG_DEBUG_LOCK_ALLOC=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_MUTEXES=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_NOTIFIERS=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_OBJECTS=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_OBJECTS_FREE=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_OBJECTS_TIMERS=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_OBJECTS_WORK=y

View File

@ -1 +0,0 @@
# CONFIG_DEBUG_PAGEALLOC is not set

View File

@ -1 +0,0 @@
CONFIG_DEBUG_PERF_USE_VMALLOC=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_PER_CPU_MAPS=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_PI_LIST=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_RT_MUTEXES=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_RWSEMS=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_SG=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_SLAB=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_SPINLOCK=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_STACK_USAGE=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_VM=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_VM_PGFLAGS=y

View File

@ -1 +0,0 @@
CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y

View File

@ -1 +0,0 @@
CONFIG_DETECT_HUNG_TASK=y

View File

@ -1 +0,0 @@
CONFIG_DMADEVICES_DEBUG=y

View File

@ -1 +0,0 @@
# CONFIG_DMADEVICES_VDEBUG is not set

View File

@ -1 +0,0 @@
CONFIG_DMA_API_DEBUG=y

View File

@ -1 +0,0 @@
CONFIG_DRBD_FAULT_INJECTION=y

View File

@ -1 +0,0 @@
CONFIG_EFI_PGT_DUMP=y

View File

@ -1 +0,0 @@
CONFIG_EXT4_DEBUG=y

View File

@ -1 +0,0 @@
CONFIG_FAILSLAB=y

View File

@ -1 +0,0 @@
CONFIG_FAIL_FUNCTION=y

View File

@ -1 +0,0 @@
CONFIG_FAIL_IO_TIMEOUT=y

View File

@ -1 +0,0 @@
CONFIG_FAIL_MAKE_REQUEST=y

View File

@ -1 +0,0 @@
CONFIG_FAIL_MMC_REQUEST=y

View File

@ -1 +0,0 @@
CONFIG_FAIL_PAGE_ALLOC=y

View File

@ -1 +0,0 @@
CONFIG_FAULT_INJECTION=y

Some files were not shown because too many files have changed in this diff Show More