mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: Enable TSC_RELIABLE for AMD servers
Except for a published BIOS errata on family 11h processors, all AMD servers that have the Invariant TSC bit set have a reliable TSC so Xen should not write to the TSC. Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> Acked-by: Mark Langsdorf <mark.langsdorf@amd.com>
This commit is contained in:
1 parent
d6d3c05250
commit
def87a2cbf
1 file changed
+2
@@ -465,6 +465,8 @@ static void __devinit init_amd(struct cpuinfo_x86 *c)
|
||||
if (c->x86_power & (1<<8)) {
|
||||
set_bit(X86_FEATURE_CONSTANT_TSC, c->x86_capability);
|
||||
set_bit(X86_FEATURE_NONSTOP_TSC, c->x86_capability);
|
||||
if (c->x86 != 0x11)
|
||||
set_bit(X86_FEATURE_TSC_RELIABLE, c->x86_capability);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||