Re: libata + siI3112 + 2.6.5-rc3 hang

From: Prakash K. Cheemplavam
Date: Sat May 01 2004 - 07:03:05 EST


Andrew Morton wrote:
CaT <cat@xxxxxxxxxx> wrote:

Here's the patch that Joe sent me. It doesn't apply cleanly mainly due
to formatting errors in the patch but a bit of manual fixerupping made
it all apply.

--- 8< ---
--- linux-2.6.4-orig/arch/i386/pci/fixup.c 2004-03-11 03:55:36.000000000 +0100
+++ linux-2.6.4/arch/i386/pci/fixup.c 2004-03-16 13:12:25.706569480 +0100
@@ -187,6 +187,22 @@
dev->transparent = 1;
}

+/*
+ * Halt Disconnect and Stop Grant Disconnect (bit 4 at offset 0x6F)
+ * must be disabled when APIC is used (or lockups will happen).
+ */


I had this in -mm for a while. Ended up dropping it because it made some
people's CPUs run warmer and because it "wasn't the right fix".

Does anyone know what the right fix is? If not, it seems that a warm CPU
is better than a non-functional box. Maybe enable it via a boot option?

Ross' C1halt idle patch is the right thing to take. No fix, but stable work-around.

Prakash
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/