All of lore.kernel.org
 help / color / mirror / Atom feed
* CPU microcode update under xen
@ 2012-10-16 17:27 Stephan Seitz
  2012-10-16 17:54 ` Ben Guthro
  0 siblings, 1 reply; 6+ messages in thread
From: Stephan Seitz @ 2012-10-16 17:27 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1096 bytes --]

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 <tigran@aivazian.fsnet.co.uk>, 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: stse@fsing.rootsland.net |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3621 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CPU microcode update under xen
  2012-10-16 17:27 CPU microcode update under xen Stephan Seitz
@ 2012-10-16 17:54 ` Ben Guthro
  2012-10-16 18:42   ` Ian Campbell
  2012-10-17 20:06   ` Stephan Seitz
  0 siblings, 2 replies; 6+ messages in thread
From: Ben Guthro @ 2012-10-16 17:54 UTC (permalink / raw)
  To: Stephan Seitz; +Cc: Konrad Rzeszutek Wilk, xen-devel

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



On Tue, Oct 16, 2012 at 1:27 PM, Stephan Seitz
<stse+xen@fsing.rootsland.net> wrote:
>
> 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 <tigran@aivazian.fsnet.co.uk>, 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: stse@fsing.rootsland.net |
> | Public Keys: http://fsing.rootsland.net/~stse/keys.html |
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CPU microcode update under xen
  2012-10-16 17:54 ` Ben Guthro
@ 2012-10-16 18:42   ` Ian Campbell
  2012-10-17  7:04     ` Jan Beulich
  2012-10-17 20:06   ` Stephan Seitz
  1 sibling, 1 reply; 6+ messages in thread
From: Ian Campbell @ 2012-10-16 18:42 UTC (permalink / raw)
  To: Ben Guthro; +Cc: Stephan Seitz, xen-devel, Konrad Rzeszutek Wilk


On Tue, 2012-10-16 at 18:54 +0100, Ben Guthro wrote:
> This is not yet merged.

Please try and avoid top posting...

> On Tue, Oct 16, 2012 at 1:27 PM, Stephan Seitz
> <stse+xen@fsing.rootsland.net> wrote:
[...]
> > 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CPU microcode update under xen
  2012-10-16 18:42   ` Ian Campbell
@ 2012-10-17  7:04     ` Jan Beulich
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Beulich @ 2012-10-17  7:04 UTC (permalink / raw)
  To: Ian Campbell, Ben Guthro; +Cc: Stephan Seitz, Konrad Rzeszutek Wilk, xen-devel

>>> On 16.10.12 at 20:42, Ian Campbell <Ian.Campbell@citrix.com> wrote:
>> On Tue, Oct 16, 2012 at 1:27 PM, Stephan Seitz
>> <stse+xen@fsing.rootsland.net> wrote:
> [...]
>> > 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).

Yes, this is 4.2+ only.

Jan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CPU microcode update under xen
  2012-10-16 17:54 ` Ben Guthro
  2012-10-16 18:42   ` Ian Campbell
@ 2012-10-17 20:06   ` Stephan Seitz
  2012-10-17 20:57     ` Konrad Rzeszutek Wilk
  1 sibling, 1 reply; 6+ messages in thread
From: Stephan Seitz @ 2012-10-17 20:06 UTC (permalink / raw)
  To: xen-devel; +Cc: Konrad Rzeszutek Wilk


[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]

On Tue, Oct 16, 2012 at 01:54:59PM -0400, Ben Guthro wrote:
>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.

>primarily, the following changesets:
>23757fb5d6781bf945d21d1f5373aa71122cbea9
>f6c958ff0d00ffbf1cdc8fcf2f2a82f06fbbb5f4

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

	Stephan

-- 
| Stephan Seitz          E-Mail: stse@fsing.rootsland.net |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3621 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CPU microcode update under xen
  2012-10-17 20:06   ` Stephan Seitz
@ 2012-10-17 20:57     ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 6+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-10-17 20:57 UTC (permalink / raw)
  To: Stephan Seitz; +Cc: xen-devel

On Wed, Oct 17, 2012 at 10:06:59PM +0200, Stephan Seitz wrote:
> On Tue, Oct 16, 2012 at 01:54:59PM -0400, Ben Guthro wrote:
> >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.
> 
> >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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-17 20:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-16 17:27 CPU microcode update under xen Stephan Seitz
2012-10-16 17:54 ` Ben Guthro
2012-10-16 18:42   ` Ian Campbell
2012-10-17  7:04     ` Jan Beulich
2012-10-17 20:06   ` Stephan Seitz
2012-10-17 20:57     ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.