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 5C8761580B9 for ; Wed, 25 Aug 2021 20:41:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E6D8E0885; Wed, 25 Aug 2021 20:41:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 561C8E0885 for ; Wed, 25 Aug 2021 20:41:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1FD8D335D7D for ; Wed, 25 Aug 2021 20:41:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57367464 for ; Wed, 25 Aug 2021 20:41:15 +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: <1629924044.369383f08d147fd98553defeff5423912d34e177.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:4.19 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: 369383f08d147fd98553defeff5423912d34e177 X-VCS-Branch: 4.19 Date: Wed, 25 Aug 2021 20:41:15 +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: 054205e0-f5ee-4c1b-8a89-5ec15f74df99 X-Archives-Hash: 176ee20fc10696863be924ddb6992c75 commit: 369383f08d147fd98553defeff5423912d34e177 Author: Mike Pagano gentoo org> AuthorDate: Wed Aug 25 20:40:44 2021 +0000 Commit: Mike Pagano gentoo 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 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 (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..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.