From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3880E1580B9 for ; Wed, 25 Aug 2021 23:13:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 694FEE0918; Wed, 25 Aug 2021 23:13:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DE5EE0918 for ; Wed, 25 Aug 2021 23:13:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2635A342BA5 for ; Wed, 25 Aug 2021 23:13:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F21D464 for ; Wed, 25 Aug 2021 23:13:39 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1629933200.c0f2bccdf09e0326c5132e63b65c9b8e98f2de7f.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:4.9 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 3000_Support-printing-firmware-info.patch 4567_distro-Gentoo-Kconfig.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: c0f2bccdf09e0326c5132e63b65c9b8e98f2de7f X-VCS-Branch: 4.9 Date: Wed, 25 Aug 2021 23:13:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60616d56-07fd-461a-87dd-566f2b256049 X-Archives-Hash: 4dcc548d7c038e629a1cf68e14081e23 commit: c0f2bccdf09e0326c5132e63b65c9b8e98f2de7f Author: Mike Pagano gentoo org> AuthorDate: Wed Aug 25 23:13:20 2021 +0000 Commit: Mike Pagano gentoo org> CommitDate: Wed Aug 25 23:13:20 2021 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=c0f2bccd Print firmware info (Reqs CONFIG_GENTOO_PRINT_FIRMWARE_INFO) Thanks to Georgy Yakovlev Signed-off-by: Mike Pagano 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 484482d..a752e59 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 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 96d778e..0ca3af8 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