Skip to contentSkip to conversation

x86/microcode/amd: Tone down printk(), don' t treat a missing firmware file as an error

tip:x86/urgent tip-bot for Thomas Renninger 6 participants 11 messages Nov 12, 2013 – Nov 13, 2013 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Commit-ID:  11f918d3e2d3861b6931e97b3aa778e4984935aa
Gitweb:     http://git.kernel.org/tip/11f918d3e2d3861b6931e97b3aa778e4984935aa
Author:     Thomas Renninger <[email protected]>
AuthorDate: Tue, 12 Nov 2013 17:39:43 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 12 Nov 2013 22:03:49 +0100

x86/microcode/amd: Tone down printk(), don't treat a missing firmware file as an error

Do it the same way as done in microcode_intel.c: use pr_debug() for missing firmware files.

There seem to be CPUs out there for which no microcode update has been submitted to kernel-firmware repo yet resulting in scary sounding error messages in dmesg:

microcode: failed to load file amd-ucode/microcode_amd_fam16h.bin

---
 arch/x86/kernel/microcode_amd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/microcode_amd.c +1 -1
index af99f71..c3d4cc9 100644
@@ -431,7 +431,7 @@ static enum ucode_state request_microcode_amd(int cpu, struct device *device,
 		snprintf(fw_name, sizeof(fw_name), "amd-ucode/microcode_amd_fam%.2xh.bin", c->x86);
 
 	if (request_firmware(&fw, (const char *)fw_name, device)) {
-		pr_err("failed to load file %s\n", fw_name);
+		pr_debug("failed to load file %s\n", fw_name);
 		goto out;
 	}
 
#2 lore raw
Quoted 16 lines · tip-bot for Thomas Renninger
Commit-ID:  11f918d3e2d3861b6931e97b3aa778e4984935aa
Gitweb:     http://git.kernel.org/tip/11f918d3e2d3861b6931e97b3aa778e4984935aa
Author:     Thomas Renninger <[email protected]>
AuthorDate: Tue, 12 Nov 2013 17:39:43 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 12 Nov 2013 22:03:49 +0100

x86/microcode/amd: Tone down printk(), don't treat a missing firmware file as an error

Do it the same way as done in microcode_intel.c: use pr_debug() for missing firmware files.

There seem to be CPUs out there for which no microcode update has been submitted to kernel-firmware repo yet resulting in scary sounding error messages in dmesg:

Quoted 5 lines

microcode: failed to load file amd-ucode/microcode_amd_fam16h.bin

Shouldn't that be <[email protected]> ?

Signature · 5 lines
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
#3 lore raw
Quoted 17 lines · Borislav Petkov
Quoted 16 lines · tip-bot for Thomas Renninger
Commit-ID:  11f918d3e2d3861b6931e97b3aa778e4984935aa
Gitweb:     http://git.kernel.org/tip/11f918d3e2d3861b6931e97b3aa778e4984935aa
Author:     Thomas Renninger <[email protected]>
AuthorDate: Tue, 12 Nov 2013 17:39:43 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 12 Nov 2013 22:03:49 +0100

x86/microcode/amd: Tone down printk(), don't treat a missing firmware file as an error

Do it the same way as done in microcode_intel.c: use pr_debug() for missing firmware files.

There seem to be CPUs out there for which no microcode update has been submitted to kernel-firmware repo yet resulting in scary sounding error messages in dmesg:

Quoted 7 lines
Quoted 5 lines

microcode: failed to load file amd-ucode/microcode_amd_fam16h.bin

Shouldn't that be <[email protected]> ?

Indeed that is the documented alias, although [email protected] works as well and is used frequently:

comet:~/tip> git log v3.0..v3.12 | grep '[email protected]' | wc -l 1390
comet:~/tip> git log v3.0..v3.12 | grep '[email protected]' | wc -l 4750

Thanks,

Ingo

#4 lore raw
Quoted 4 lines · Ingo Molnar

Indeed that is the documented alias, although [email protected] works as well and is used frequently:

No, it doesn't; it has bounced for the past two years.

-hpa

#5 lore raw
Quoted 7 lines · H. Peter Anvin
Quoted 4 lines · Ingo Molnar

Indeed that is the documented alias, although [email protected] works as well and is used frequently:

No, it doesn't; it has bounced for the past two years.

'works' as in the patches get picked up into -stable by Greg. :-)

Thanks,

Ingo

#6 lore raw
In reply to Borislav Petkov

(fixed stable@vger).

Quoted 17 lines · Borislav Petkov
Quoted 16 lines · tip-bot for Thomas Renninger
Commit-ID:  11f918d3e2d3861b6931e97b3aa778e4984935aa
Gitweb:     http://git.kernel.org/tip/11f918d3e2d3861b6931e97b3aa778e4984935aa
Author:     Thomas Renninger <[email protected]>
AuthorDate: Tue, 12 Nov 2013 17:39:43 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 12 Nov 2013 22:03:49 +0100

x86/microcode/amd: Tone down printk(), don't treat a missing firmware file as an error

Do it the same way as done in microcode_intel.c: use pr_debug() for missing firmware files.

There seem to be CPUs out there for which no microcode update has been submitted to kernel-firmware repo yet resulting in scary sounding error messages in dmesg:

Quoted 7 lines
Quoted 5 lines

microcode: failed to load file amd-ucode/microcode_amd_fam16h.bin

Shouldn't that be <[email protected]> ?

Yes, it should:

Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host mail.kernel.org[198.145.19.201] said: 550
5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)

Signature · 5 lines
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
#7 lore raw
Quoted 28 lines · Borislav Petkov

(fixed stable@vger).

Quoted 17 lines · Borislav Petkov
Quoted 16 lines · tip-bot for Thomas Renninger
Commit-ID:  11f918d3e2d3861b6931e97b3aa778e4984935aa
Gitweb:     http://git.kernel.org/tip/11f918d3e2d3861b6931e97b3aa778e4984935aa
Author:     Thomas Renninger <[email protected]>
AuthorDate: Tue, 12 Nov 2013 17:39:43 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 12 Nov 2013 22:03:49 +0100

x86/microcode/amd: Tone down printk(), don't treat a missing firmware file as an error

Do it the same way as done in microcode_intel.c: use pr_debug() for missing firmware files.

There seem to be CPUs out there for which no microcode update has been submitted to kernel-firmware repo yet resulting in scary sounding error messages in dmesg:

Quoted 7 lines
Quoted 5 lines

microcode: failed to load file amd-ucode/microcode_amd_fam16h.bin

Shouldn't that be <[email protected]> ?

Quoted 8 lines

Yes, it should:

Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host mail.kernel.org[198.145.19.201] said: 550
5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)

Hm, that's really weird, I've been using <[email protected]> for years and the commits do get picked up. I also never saw such a mailer failure.

In any case I've changed my pre-cooked alias to <[email protected]>, but still I'm wondering why <[email protected]> seems to be working in practice - maybe Greg is picking up such commits as well, not via an email flow but via scripting?

Thanks,

Ingo

#8 lore raw
Quoted 9 lines · Ingo Molnar

Hm, that's really weird, I've been using <[email protected]> for years and the commits do get picked up. I also never saw such a mailer failure.

In any case I've changed my pre-cooked alias to <[email protected]>, but still I'm wondering why <[email protected]> seems to be working in practice - maybe Greg is picking up such commits as well, not via an email flow but via scripting?

I believe I read somewhere him saying that he does. But the [email protected] thing as an email address doesn't work. I'd guess he greps commit messages for "stable@" or so...

Signature · 5 lines
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
#9 lore raw
In reply to Ingo Molnar
Quoted 1 line · Ingo Molnar

* Borislav Petkov <[email protected]> wrote:

...

Quoted 9 lines
Quoted 9 lines
Quoted 1 line

Shouldn't that be <[email protected]> ?

Yes, it should:

Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host mail.kernel.org[198.145.19.201] said: 550

Quoted 5 lines
Quoted 2 lines

5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)

Hm, that's really weird, I've been using <[email protected]> for years and the commits do get picked up. I also never saw such a mailer failure.

Argh, I used [email protected] for quite some time already. I copied the wrong one in a rush.

Quoted 4 lines

In any case I've changed my pre-cooked alias to <[email protected]>, but still I'm wondering why <[email protected]> seems to be working in practice - maybe Greg is picking up such commits as well, not via an email flow but via scripting?

Do I have to resubmit?

Thanks for picking this one up that quickly,

Thomas

#10 lore raw
Quoted 17 lines · Thomas Renninger
Quoted 1 line · Ingo Molnar

* Borislav Petkov <[email protected]> wrote:

...

Quoted 9 lines
Quoted 9 lines
Quoted 1 line

Shouldn't that be <[email protected]> ?

Yes, it should:

Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host mail.kernel.org[198.145.19.201] said: 550

Quoted 5 lines
Quoted 2 lines

5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)

Hm, that's really weird, I've been using <[email protected]> for years and the commits do get picked up. I also never saw such a mailer failure.

Quoted 8 lines

Argh, I used [email protected] for quite some time already. I copied the wrong one in a rush.

Quoted 4 lines

In any case I've changed my pre-cooked alias to <[email protected]>, but still I'm wondering why <[email protected]> seems to be working in practice - maybe Greg is picking up such commits as well, not via an email flow but via scripting?

Do I have to resubmit?

No need, it's fine.

Thanks,

Ingo

#11 lore raw
In reply to Ingo Molnar
Quoted 40 lines · Ingo Molnar
Quoted 28 lines · Borislav Petkov

(fixed stable@vger).

Quoted 17 lines · Borislav Petkov
Quoted 16 lines · tip-bot for Thomas Renninger
Commit-ID:  11f918d3e2d3861b6931e97b3aa778e4984935aa
Gitweb:     http://git.kernel.org/tip/11f918d3e2d3861b6931e97b3aa778e4984935aa
Author:     Thomas Renninger <[email protected]>
AuthorDate: Tue, 12 Nov 2013 17:39:43 +0100
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 12 Nov 2013 22:03:49 +0100

x86/microcode/amd: Tone down printk(), don't treat a missing firmware file as an error

Do it the same way as done in microcode_intel.c: use pr_debug() for missing firmware files.

There seem to be CPUs out there for which no microcode update has been submitted to kernel-firmware repo yet resulting in scary sounding error messages in dmesg:

Quoted 7 lines
Quoted 5 lines

microcode: failed to load file amd-ucode/microcode_amd_fam16h.bin

Shouldn't that be <[email protected]> ?

Quoted 8 lines

Yes, it should:

Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host mail.kernel.org[198.145.19.201] said: 550
5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)

Quoted 7 lines

Hm, that's really weird, I've been using <[email protected]> for years and the commits do get picked up. I also never saw such a mailer failure.

In any case I've changed my pre-cooked alias to <[email protected]>, but still I'm wondering why <[email protected]> seems to be working in practice - maybe Greg is picking up such commits as well, not via an email flow but via scripting?

Yes, my scripts pick up both, as this is a very common mistake (the address did change after kernel.org got rebuilt, so you were right in remembering this as the original address to use.)

So no worries, I can handle both.

thanks,

greg k-h