Skip to contentSkip to conversation

CPU microcode update under xen

DISCUSSION Stephan Seitz 5 participants 6 messages Oct 16, 2012 – Oct 17, 2012

lore
Share & tools
lore
#0 lore raw

Hi!

System: Debian/testing with selfcompiled kernel 3.5.5 (same error with 3.4 or 3.6)
XEN: 4.1.3

After booting the Dom0 I notice the following errors:

[    2.939078] microcode: CPU0 sig=0x1067a, pf=0x1, revision=0xa07
[    2.991998] microcode: CPU0 update to revision 0xa0b failed
[    2.992035] microcode: CPU1 sig=0x1067a, pf=0x1, revision=0xa07
[    2.995882] microcode: CPU1 update to revision 0xa0b failed
[    2.995942] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba

If I boot the same kernel without the hypervisor the microcode update is successful.

stse@osgiliath:~$ zcat /proc/config.gz |grep MICROCODE
CONFIG_MICROCODE=m
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y

From /proc/cpuinfo:
Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz

Do I need another driver for microcode updates under XEN, or is it impossible for now?

Stephan

Signature · 2 lines
| Stephan Seitz          E-Mail: [email protected] |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw

This is not yet merged.

You'll need to look at the following branch from Konrad:
http://git.kernel.org/?p=linux/kernel/git/konrad/xen.git;a=shortlog;h=refs/heads/stable/misc

primarily, the following changesets:
23757fb5d6781bf945d21d1f5373aa71122cbea9
f6c958ff0d00ffbf1cdc8fcf2f2a82f06fbbb5f4

Quoted 37 lines · Stephan Seitz

Hi!

System: Debian/testing with selfcompiled kernel 3.5.5 (same error with 3.4 or 3.6)
XEN: 4.1.3

After booting the Dom0 I notice the following errors:

[    2.939078] microcode: CPU0 sig=0x1067a, pf=0x1, revision=0xa07
[    2.991998] microcode: CPU0 update to revision 0xa0b failed
[    2.992035] microcode: CPU1 sig=0x1067a, pf=0x1, revision=0xa07
[    2.995882] microcode: CPU1 update to revision 0xa0b failed
[    2.995942] microcode: Microcode Update Driver: v2.00 <[email protected]>, Peter Oruba

If I boot the same kernel without the hypervisor the microcode update is successful.

stse@osgiliath:~$ zcat /proc/config.gz |grep MICROCODE
CONFIG_MICROCODE=m
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y

From /proc/cpuinfo:
Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz

Do I need another driver for microcode updates under XEN, or is it impossible for now?

Stephan

--

| Stephan Seitz          E-Mail: [email protected] |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 1 line · Ben Guthro

This is not yet merged.

Please try and avoid top posting...

Quoted 2 lines

On Tue, Oct 16, 2012 at 1:27 PM, Stephan Seitz
<[email protected]> wrote:

[...]

Quoted 1 line
Quoted 1 line

Do I need another driver for microcode updates under XEN, or is it impossible for now?

There is also the option for Xen itself to load the microcode.

See the ucode option in
http://xenbits.xen.org/docs/4.2-testing/misc/xen-command-line.html

I think this is probably 4.2+ only though (not sure when it was added).

Ian.

#3 lore raw
Quoted 5 lines
Quoted 3 lines
Quoted 1 line · Ian Campbell

On Tue, Oct 16, 2012 at 1:27 PM, Stephan Seitz
<[email protected]> wrote:

[...]

Quoted 1 line
Quoted 1 line

Do I need another driver for microcode updates under XEN, or is it

Quoted 8 lines

impossible for now?

There is also the option for Xen itself to load the microcode.

See the ucode option in
http://xenbits.xen.org/docs/4.2-testing/misc/xen-command-line.html

I think this is probably 4.2+ only though (not sure when it was added).

Yes, this is 4.2+ only.

Jan

#4 lore raw
In reply to Ben Guthro
Quoted 4 lines · Ben Guthro

This is not yet merged.

You'll need to look at the following branch from Konrad:
http://git.kernel.org/?p=linux/kernel/git/konrad/xen.git;a=shortlog;h=refs/heads/stable/misc

Thanks for your answer.

Quoted 3 lines

primarily, the following changesets:
23757fb5d6781bf945d21d1f5373aa71122cbea9
f6c958ff0d00ffbf1cdc8fcf2f2a82f06fbbb5f4

Those patches are about one year old. Any reasons why they are not merged yet?

Stephan

Signature · 2 lines
| Stephan Seitz          E-Mail: [email protected] |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 6 lines · Stephan Seitz
Quoted 4 lines · Ben Guthro

This is not yet merged.

You'll need to look at the following branch from Konrad:
http://git.kernel.org/?p=linux/kernel/git/konrad/xen.git;a=shortlog;h=refs/heads/stable/misc

Quoted 8 lines

Thanks for your answer.

Quoted 3 lines

primarily, the following changesets:
23757fb5d6781bf945d21d1f5373aa71122cbea9
f6c958ff0d00ffbf1cdc8fcf2f2a82f06fbbb5f4

Those patches are about one year old. Any reasons why they are not merged yet?

Sure. If you Google for the titles of those patches you will see Borislav being unhappy about them.