Bug 594546 - [Intel 5.6 Bug] CPU synchronization required when doing MTRR register update
Summary: [Intel 5.6 Bug] CPU synchronization required when doing MTRR register update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen
Version: 5.6
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: 5.6
Assignee: Don Dugger
QA Contact: chen yuwen
URL:
Whiteboard:
Depends On:
Blocks: 514489 557597 576676
TreeView+ depends on / blocked
 
Reported: 2010-05-21 01:09 UTC by Don Dugger
Modified: 2018-11-14 19:12 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 594545
Environment:
Last Closed: 2011-01-13 21:33:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Hypervisor patch (5.21 KB, patch)
2010-05-28 02:26 UTC, Don Dugger
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0017 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.6 kernel security and bug fix update 2011-01-13 10:37:42 UTC

Description Don Dugger 2010-05-21 01:09:38 UTC
+++ This bug was initially created as a clone of Bug #594545 +++

Description of problem:
(Just as the kernel suffers from this problem so does the Xen hypervisor.)

Starting from Westmere, VMX transitions with cr0.cd=1 don't work properly (because of some VMX performance optimizations) and the scenario where one logical cpu is doing VMX activity and another logical cpu coming online can result in system crash.

Fortunately, the only time that cr0.cd is set to one is during MTRR updates so the kernel needs to bring all CPUs to a rendezvous, do the MTRR update and then resume all the CPUs.

The upstream Linux kernel has solved this problem with the patch:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d0af9eed5aa91b6b7b5049cae69e5ea956fd85c3

so this patch set needs to be back ported to the RHEL 5.6 kernel.

Comment 1 RHEL Program Management 2010-05-21 11:41:29 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 2 Don Dugger 2010-05-26 21:26:28 UTC
About the bug description, the Xen patches are actually at:

http://xenbits.xensource.com/xen-unstable.hg?rev/cd46b418d171

Comment 3 Don Dugger 2010-05-28 02:26:41 UTC
Created attachment 417442 [details]
Hypervisor patch

This is the actual Xen hypervisor patch that needs to be backported.

Comment 5 Jarod Wilson 2010-08-13 02:24:04 UTC
in kernel-2.6.18-212.el5
You can download this test kernel from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 8 chen yuwen 2010-12-31 06:14:50 UTC
Confirmed patch in kernel 2.6.18-212.el5.
Setting SanityOnly.

Comment 10 errata-xmlrpc 2011-01-13 21:33:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0017.html


Note You need to log in before you can comment on or make changes to this bug.