patch-2.4.21 linux-2.4.21/arch/i386/kernel/mtrr.c
Next file: linux-2.4.21/arch/i386/kernel/nmi.c
Previous file: linux-2.4.21/arch/i386/kernel/mpparse.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
2003-06-13 07:51:29.000000000 -0700
- Orig file:
linux-2.4.20/arch/i386/kernel/mtrr.c
- Orig date:
2002-08-02 17:39:42.000000000 -0700
diff -urN linux-2.4.20/arch/i386/kernel/mtrr.c linux-2.4.21/arch/i386/kernel/mtrr.c
@@ -492,6 +492,14 @@
return 0;
}
}
+ /* Intel 450NX errata # 23. Non ascending cachline evictions to
+ write combining memory may resulting in data corruption */
+ dev = pci_find_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82451NX, NULL);
+ if(dev)
+ {
+ printk(KERN_INFO "mtrr: Intel 450NX MMC detected. Write-combining disabled.\n");
+ return 0;
+ }
switch ( mtrr_if )
{
@@ -2143,7 +2151,7 @@
query the width (in bits) of the physical
addressable memory on the Hammer family.
*/
- if (boot_cpu_data.x86 == 7 && (cpuid_eax(0x80000000) >= 0x80000008)) {
+ if (boot_cpu_data.x86 == 15 && (cpuid_eax(0x80000000) >= 0x80000008)) {
u32 phys_addr;
phys_addr = cpuid_eax(0x80000008) & 0xff ;
size_or_mask = ~((1 << (phys_addr - PAGE_SHIFT)) - 1);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)