All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] i386: Geode's TSC is not neccessary to mark tu unstable
@ 2007-07-15 12:00 TAKADA Yoshihito
  2007-07-15 19:06 ` Juergen Beisert
  0 siblings, 1 reply; 15+ messages in thread
From: TAKADA Yoshihito @ 2007-07-15 12:00 UTC (permalink / raw)
  To: linux-kernel

Hi. I reported to remove pit_latch_buggy(http://lkml.org/lkml/2007/2/10/8).
In the report, I stated that TSC was unstable.
When I installed 2.6.21, GeodeGX's TSC is stable.
It was fixed by http://bugzilla.kernel.org/show_bug.cgi?id=8027 and follow:

commit 6b3964cde70cfe6db79d35b42137431ef7d2f7e4
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Thu Mar 22 22:46:18 2007 +0100

    [PATCH] i386: clockevents fix breakage on Geode/Cyrix PIT implementations

In 2.6.22, marks unstable GeodeGX's TSC. However, it is not necessary to 
mark TSC is unstable.

Signed-off-by: TAKADA Yoshihito <takada@mbf.nifty.com>

diff -Narup a/arch/i386/kernel/cpu/cyrix.c b/arch/i386/kernel/cpu/cyrix.c
--- a/arch/i386/kernel/cpu/cyrix.c	2007-07-15 16:55:29.000000000 +0900
+++ b/arch/i386/kernel/cpu/cyrix.c	2007-07-15 20:21:11.000000000 +0900
@@ -6,7 +6,6 @@
 #include <asm/io.h>
 #include <asm/processor.h>
 #include <asm/timer.h>
-#include <asm/pci-direct.h>
 #include <asm/tsc.h>
 
 #include "cpu.h"
@@ -252,8 +251,6 @@ static void __cpuinit init_cyrix(struct 
 
 	case 4: /* MediaGX/GXm or Geode GXM/GXLV/GX1 */
 #ifdef CONFIG_PCI
-	{
-		u32 vendor, device;
 		/* It isn't really a PCI quirk directly, but the cure is the
 		   same. The MediaGX has deep magic SMM stuff that handles the
 		   SB emulation. It thows away the fifo on disable_dma() which
@@ -268,21 +265,6 @@ static void __cpuinit init_cyrix(struct 
 
 		printk(KERN_INFO "Working around Cyrix MediaGX virtual DMA bugs.\n");
 		isa_dma_bridge_buggy = 2;
-
-		/* We do this before the PCI layer is running. However we
-		   are safe here as we know the bridge must be a Cyrix
-		   companion and must be present */
-		vendor = read_pci_config_16(0, 0, 0x12, PCI_VENDOR_ID);
-		device = read_pci_config_16(0, 0, 0x12, PCI_DEVICE_ID);
-
-		/*
-		 *  The 5510/5520 companion chips have a funky PIT.
-		 */  
-		if (vendor == PCI_VENDOR_ID_CYRIX &&
-	 (device == PCI_DEVICE_ID_CYRIX_5510 || device == PCI_DEVICE_ID_CYRIX_5520))
-			/*mark_tsc_unstable("cyrix 5510/5520 detected");*/
-			printk("cyrix 5510/5520 detected\n");
-	}
 #endif
 		c->x86_cache_size=16;	/* Yep 16K integrated cache thats it */
 


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-07-22 16:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-15 12:00 [PATCH 1/1] i386: Geode's TSC is not neccessary to mark tu unstable TAKADA Yoshihito
2007-07-15 19:06 ` Juergen Beisert
2007-07-15 23:59   ` TAKADA Yoshihito
2007-07-19  1:02   ` Andrew Morton
2007-07-19  6:49     ` Juergen Beisert
2007-07-19  7:17       ` Andres Salomon
2007-07-19  8:22         ` Andi Kleen
2007-07-19  8:52           ` Juergen Beisert
2007-07-19  9:25             ` Andi Kleen
2007-07-19 10:25               ` Juergen Beisert
2007-07-19 13:56                 ` Andi Kleen
2007-07-20 18:21                   ` Andrew Morton
2007-07-20 21:16                     ` Andi Kleen
2007-07-22 16:17           ` Satyam Sharma
2007-07-19  8:52         ` Juergen Beisert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.