commit: 4648efbe1d994c634dc3fd518409207db7e370b1 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Wed Aug 25 23:03:53 2021 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Wed Aug 25 23:03:53 2021 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=4648efbe
Print firmware info (Reqs CONFIG_GENTOO_PRINT_FIRMWARE_INFO) Thanks to Georgy Yakovlev Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> 0000_README | 4 ++++ 3000_Support-printing-firmware-info.patch | 13 +++++++++++++ 4567_distro-Gentoo-Kconfig.patch | 31 ++++++++++++++++++++++--------- 3 files changed, 39 insertions(+), 9 deletions(-) diff --git a/0000_README b/0000_README index d860641..a999145 100644 --- a/0000_README +++ b/0000_README @@ -1055,6 +1055,10 @@ Patch: 2901_tools-objtool-makefile-dont-assume-sync-checksh-is-executable.patch From: http://www.ozlabs.org/~akpm/mmotm/broken-out/tools-objtool-makefile-dont-assume-sync-checksh-is-executable.patch Desc: patch(1) loses the x bit. Kernel build breaks. +Patch: 3000_Support-printing-firmware-info.patch +From: https://bugs.gentoo.org/732852 +Desc: Print firmware info (Reqs CONFIG_GENTOO_PRINT_FIRMWARE_INFO). Thanks to Georgy Yakovlev + Patch: 4400_alpha-sysctl-uac.patch From: Tobias Klausmann (klaus...@gentoo.org) and http://bugs.gentoo.org/show_bug.cgi?id=217323 Desc: Enable control of the unaligned access control policy from sysctl diff --git a/3000_Support-printing-firmware-info.patch b/3000_Support-printing-firmware-info.patch new file mode 100644 index 0000000..b35a0c3 --- /dev/null +++ b/3000_Support-printing-firmware-info.patch @@ -0,0 +1,13 @@ +--- a/drivers/base/firmware_class.c 2021-08-25 18:54:54.388789297 -0400 ++++ b/drivers/base/firmware_class.c 2021-08-25 18:55:51.313326842 -0400 +@@ -1210,6 +1210,10 @@ _request_firmware(const struct firmware + goto out; + } + ++#ifdef CONFIG_GENTOO_PRINT_FIRMWARE_INFO ++ printk(KERN_NOTICE "Loading firmware: %s\n", name); ++#endif ++ + ret = _request_firmware_prepare(&fw, name, device, buf, size); + if (ret <= 0) /* error or already assigned */ + goto out; diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index 16e09f6..d95f5ce 100644 --- a/4567_distro-Gentoo-Kconfig.patch +++ b/4567_distro-Gentoo-Kconfig.patch @@ -1,15 +1,14 @@ ---- a/Kconfig 2016-07-01 19:22:17.117439707 -0400 -+++ b/Kconfig 2016-07-01 19:21:54.371440596 -0400 -@@ -8,4 +8,6 @@ config SRCARCH - string +--- a/Kconfig 2021-08-25 18:58:34.447992024 -0400 ++++ b/Kconfig 2021-08-25 18:59:09.187452127 -0400 +@@ -10,3 +10,5 @@ config SRCARCH option env="SRCARCH" -+source "distro/Kconfig" -+ source "arch/$SRCARCH/Kconfig" ---- /dev/null 2020-05-13 03:13:57.920193259 -0400 -+++ b/distro/Kconfig 2020-05-13 08:35:13.310027839 -0400 -@@ -0,0 +1,158 @@ ++ ++source "distro/Kconfig" +--- /dev/null 2021-08-25 09:18:08.950320773 -0400 ++++ b/distro/Kconfig 2021-08-25 18:51:53.959090344 -0400 +@@ -0,0 +1,172 @@ +menu "Gentoo Linux" + +config GENTOO_LINUX @@ -167,4 +166,18 @@ + +endmenu + ++config GENTOO_PRINT_FIRMWARE_INFO ++ bool "Print firmware information that the kernel attempts to load" ++ ++ depends on GENTOO_LINUX ++ default y ++ ++ help ++ In order to boot Gentoo Linux a minimal set of config settings needs to ++ be enabled in the kernel; to avoid the users from having to enable them ++ manually as part of a Gentoo Linux installation or a new clean config, ++ we enable these config settings by default for convenience. ++ ++ See the settings that become available for more details and fine-tuning. ++ +endmenu