diff options
author | Mike Pagano <mpagano@gentoo.org> | 2021-08-25 19:13:20 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2021-08-25 19:13:20 -0400 |
commit | c0f2bccdf09e0326c5132e63b65c9b8e98f2de7f (patch) | |
tree | 421e30a1945dfaee27fcf68d4e1ecbbb354ebb7d | |
parent | Linux patch 4.9.280 (diff) | |
download | linux-patches-c0f2bccdf09e0326c5132e63b65c9b8e98f2de7f.tar.gz linux-patches-c0f2bccdf09e0326c5132e63b65c9b8e98f2de7f.tar.bz2 linux-patches-c0f2bccdf09e0326c5132e63b65c9b8e98f2de7f.zip |
Print firmware info (Reqs CONFIG_GENTOO_PRINT_FIRMWARE_INFO)
Thanks to Georgy Yakovlev
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r-- | 0000_README | 4 | ||||
-rw-r--r-- | 3000_Support-printing-firmware-info.patch | 13 | ||||
-rw-r--r-- | 4567_distro-Gentoo-Kconfig.patch | 20 |
3 files changed, 34 insertions, 3 deletions
diff --git a/0000_README b/0000_README index 484482df..a752e598 100644 --- a/0000_README +++ b/0000_README @@ -1191,6 +1191,10 @@ Patch: 2900_dev-root-proc-mount-fix.patch From: https://bugs.gentoo.org/show_bug.cgi?id=438380 Desc: Ensure that /dev/root doesn't appear in /proc/mounts when bootint without an initramfs. +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 (klausman@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 00000000..b35a0c3f --- /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 96d778e6..0ca3af8b 100644 --- a/4567_distro-Gentoo-Kconfig.patch +++ b/4567_distro-Gentoo-Kconfig.patch @@ -7,9 +7,9 @@ +source "distro/Kconfig" + source "arch/$SRCARCH/Kconfig" ---- /dev/null 2020-05-13 03:13:57.920193259 -0400 -+++ b/distro/Kconfig 2020-05-13 08:47:49.195985908 -0400 -@@ -0,0 +1,158 @@ +--- /dev/null 2021-08-25 09:18:08.950320773 -0400 ++++ b/distro/Kconfig 2021-08-25 19:08:33.760210825 -0400 +@@ -0,0 +1,172 @@ +menu "Gentoo Linux" + +config GENTOO_LINUX @@ -167,4 +167,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-tuni ++ +endmenu |