|
Lines 752-763
Link Here
|
| 752 |
pv_entry_high_water = 9 * (pv_entry_max / 10); |
752 |
pv_entry_high_water = 9 * (pv_entry_max / 10); |
| 753 |
|
753 |
|
| 754 |
/* |
754 |
/* |
| 755 |
* If the kernel is running in a virtual machine on an AMD Family 10h |
755 |
* If the kernel is running in a virtual machine on any processor |
| 756 |
* processor, then it must assume that MCA is enabled by the virtual |
756 |
* family, then it must assume that MCA is enabled by the virtual |
| 757 |
* machine monitor. |
757 |
* machine monitor and the vm may migrate to an AMD Family 10h |
|
|
758 |
* processor. |
| 758 |
*/ |
759 |
*/ |
| 759 |
if (vm_guest == VM_GUEST_VM && cpu_vendor_id == CPU_VENDOR_AMD && |
760 |
if (vm_guest != VM_GUEST_NO) |
| 760 |
CPUID_TO_FAMILY(cpu_id) == 0x10) |
|
|
| 761 |
workaround_erratum383 = 1; |
761 |
workaround_erratum383 = 1; |
| 762 |
|
762 |
|
| 763 |
/* |
763 |
/* |