On Monday, 15 July 2019 22:18:12 BST Ian Zimmerman wrote: > UH-OH, Self-followup: > > On 2019-07-14 21:30, Ian Zimmerman wrote: > > I find it odd that there is apparently no central way to track which > > firmwares are being loaded without a debugging kernel. > > > > The relevant messages in linux/drivers/base/firmware_loader/main.c are > > all dev_dbg(), which as I understand does nothing on a non-debug kernel. > > Even the message printed when the firmware file is missing is of that > > type. > > > > I guess I could turn on the userspace helper, set it to some script that > > just logs every request and fails, and then remove the whole > > /lib/firmware tree, but that is a _really_ round-about way. > > Solved with a kernel patch: > > --- a/drivers/base/firmware_loader/main.c 2019-07-13 23:01:15.000000000 > -0700 +++ b/drivers/base/firmware_loader/main.c 2019-07-14 > 23:33:22.348028910 -0700 @@ -336,7 +336,7 @@ > path); > continue; > } > - dev_dbg(device, "direct-loading %s\n", fw_priv- >fw_name); > + pr_notice("direct-loading firmware %s\n", fw_priv- >fw_name); > fw_priv->size = size; > fw_state_done(fw_priv); > break; Thanks Ian, nothing different with the patch implemented. I am becoming convinced there is no applicable microcode patch for my fam + model of AMD CPUs. $ dmesg | egrep -i "firmware|microcode" [ 0.000000] [Firmware Info]: CPU: Re-enabling disabled Topology Extensions Support. [ 0.343586] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 0.351361] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge [ 0.627638] [drm] Loading ARUBA Microcode [ 0.629254] [drm] Found VCE firmware/feedback version 50.0.1 / 17! [ 5.753421] [drm] Loading hainan Microcode [ 6.643785] microcode: CPU0: patch_level=0x06001119 [ 6.647663] microcode: CPU1: patch_level=0x06001119 [ 6.649170] microcode: CPU2: patch_level=0x06001119 [ 6.650136] microcode: CPU3: patch_level=0x06001119 [ 6.651110] microcode: Microcode Update Driver: v2.2. [ 8.125143] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f03) [ 9.938954] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f03) [ 30.738249] firmware_class: direct-loading firmware regulatory.db [ 30.738915] firmware_class: direct-loading firmware regulatory.db.p7s -- Regards, Mick