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 F02AF138334 for ; Tue, 16 Jul 2019 09:48:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC3C0E0837; Tue, 16 Jul 2019 09:47:56 +0000 (UTC) Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 4F70CE0826 for ; Tue, 16 Jul 2019 09:47:56 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id v15so17986687wml.0 for ; Tue, 16 Jul 2019 02:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version; bh=vPNI+FnsgyawYGh9acBxLRFdkK4UugicFkOtuWVxQ9I=; b=MV61xdFZVsX7JAs8ZlMp1FKahjY07cplOoPQZl6xGMPBnN05zP/nbgSvf9bM3n4qez 9gQtFrO34AEOipPG9i0a/7uQj+reaOSgTM85kcLZbd0UufBiT9/v4JacpvCkUAbAo2BB Vkb+oRar3uK2keoccW3lAOyKIgZg4MVarjrUV1L52Q8IXEN77pIdpf70+ulcMtaN5pCA 36pRad5XX/pp2fTO8JkGcF8OyQzq4gwGXix7ds4vfitJ+TqO3gbr7gLnfQvk9cRWsRAh Lqt9KaKtpXomy/AegXm6/HafYf9RXch+7s0qyG3d1DTcGwwXc6uVLVQVIoPvveRe3q/g 2dsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version; bh=vPNI+FnsgyawYGh9acBxLRFdkK4UugicFkOtuWVxQ9I=; b=Ls7kAr89xNgHIpoVcgYxoHQok/orUWgPPX91+uDiwdQ/HMZJwwcO20/xLzW/j345qT zFmSO8Gms8U/ZatQSGbmDlA/J0/uMB7z2CkjEybiohUAacY77JbI9vZG7FT/y9J+AfLS lqcL4VTxcwYL1vi5B2ZbH8ZXmp3mETaGQ72wYfCdXf9WWCgFFs13P8PpyRWwzsjVR838 c9BLHmqU3tZy5bJwuiZAE7oMb+rotLQQiBZvIY/l5yXO+qulUZRabDju04aEuKSh6yO6 CiQEwLdI01GSxsBEhV1S0mV0TAsOfJp96wvYyToPdILjaWTodPti49yDFs9d9EMjkpAZ LAzA== X-Gm-Message-State: APjAAAVT5gul8DvNWpBu0ODYGfAQz88l0qF1HGSUbI3V3/BudnexAEJK baSklTQEZLF72MKgzu21DayFXwOI X-Google-Smtp-Source: APXvYqyKLQv8EYDD+G3dmIEh0/S92oVYCrdDi5+8vSojWqpnI1C51LTNKPrYoOBfordYLKlt9mY/Cw== X-Received: by 2002:a1c:a7ca:: with SMTP id q193mr31675242wme.150.1563270474716; Tue, 16 Jul 2019 02:47:54 -0700 (PDT) Received: from localhost.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by smtp.gmail.com with ESMTPSA id a84sm22197729wmf.29.2019.07.16.02.47.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jul 2019 02:47:53 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: AMD microcode updates - where are they?! Date: Tue, 16 Jul 2019 10:47:38 +0100 Message-ID: <1747010.DnOZzGAsZ9@localhost> In-Reply-To: <20190715211812.62rhlceuxghzmwku@matica.foolinux.mooo.com> References: <20190715043001.n3wxrw5jieuh6ton@matica.foolinux.mooo.com> <20190715211812.62rhlceuxghzmwku@matica.foolinux.mooo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3771150.OYuz9b2P6m"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: 2c525dc7-c63d-4c39-aa67-cc9eb6570699 X-Archives-Hash: b9333330736cf75ec73d315ce2406ed4 --nextPart3771150.OYuz9b2P6m Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" 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 --nextPart3771150.OYuz9b2P6m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEt7MNaGaS6HvTUrEz6WnU8jC95dcFAl0tnToACgkQ6WnU8jC9 5ddUbRAAp3BhbTQXQ1eflqap5O8lfhIYF3VA0yT01zH270JWaI9pqvDZvXtvjZUE Sk6ejXeUixHQzRx/njTB9l1jW6ocJDjGFQZ7Zyc4PsIjPUnTBxlMjXGfAynlHmEB tFfOQR+3MAWrwlK/VaJEG978oamdLSAGGyyGeDDFcGfDp8xsuZ+fKPZr/t6L6Jwa OYwKJdv3asnDDAtSeWq5QBUvQ8T6c7/Cl2fSLWLm0WESa8K96xQ3+wT2xPkuB7cv o8/CotXNMisjq7chtgd0hx2Csnk2wHa6jKD/5vJZu/eZ4s82OuItLq9O44/tnCMb DvC7JLQXawwQ1PTr4gXAV6xZrKyceapF0K9bzBzcGUoWp4s/eV7KbW7d2gA5tokM 3Mi8zIwYX2yPtpZBoyQo1MyiNXijlKL4v4C9aWNs4tfg/dMmqFHhRQuAIfHIA5GD ZU+OpqHicxfsP1JaJn7KsBAGuNTFv2UwsrBNjSBXXhGPl54GKr06BAaqnt4r5z+w H8qy/56PPlMLP514S9GswwmnoD/ryjEWh4hgmlBi9q0unzJ26Sa9OoedoVqH8C3N YouMbTYIEkhN06RtaCmrrZ6a+4MEWmpLsPfhxw/3vCbABXP1Zn8E938QXVbFglaK U/s9ZmmjXHYYC3A8YWzRX4Sq2msL1XuGAo6tGBv7mXRmksvlg3o= =F3q3 -----END PGP SIGNATURE----- --nextPart3771150.OYuz9b2P6m--