commit: 369383f08d147fd98553defeff5423912d34e177 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Wed Aug 25 20:40:44 2021 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Wed Aug 25 20:40:44 2021 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=369383f0
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 | 20 +++++++++++++++++--- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/0000_README b/0000_README index 398311f..10bff84 100644 --- a/0000_README +++ b/0000_README @@ -871,6 +871,10 @@ Patch: 2600_enable-key-swapping-for-apple-mac.patch From: https://github.com/free5lot/hid-apple-patched Desc: This hid-apple patch enables swapping of the FN and left Control keys and some additional on some apple keyboards. See bug #622902 +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..a47a3b7 --- /dev/null +++ b/3000_Support-printing-firmware-info.patch @@ -0,0 +1,13 @@ +--- a/drivers/base/firmware_loader/main.c 2021-08-25 12:48:18.443728827 -0400 ++++ b/drivers/base/firmware_loader/main.c 2021-08-25 12:53:28.296489959 -0400 +@@ -581,6 +581,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, + opt_flags); + if (ret <= 0) /* error or already assigned */ diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index 14e46e6..bc6e473 100644 --- a/4567_distro-Gentoo-Kconfig.patch +++ b/4567_distro-Gentoo-Kconfig.patch @@ -6,9 +6,9 @@ source "lib/Kconfig.debug" + +source "distro/Kconfig" ---- /dev/null 2020-09-24 03:06:47.590000000 -0400 -+++ b/distro/Kconfig 2020-09-24 11:31:29.403150624 -0400 -@@ -0,0 +1,158 @@ +--- /dev/null 2021-08-25 07:42:42.777310415 -0400 ++++ b/distro/Kconfig 2021-08-25 15:56:53.767690797 -0400 +@@ -0,0 +1,172 @@ +menu "Gentoo Linux" + +config GENTOO_LINUX @@ -167,3 +167,17 @@ +endmenu + +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.