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:
Keir Fraser committed 2009-10-23 10:15:17 +01:00
1 parent d6d3c05250
commit def87a2cbf
1 file changed
+2
+2
View File
@@ -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);
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.