Re: [PATCH] powernow-k8 max speed sanity check

From: Tony Lindgren
Date: Thu Feb 05 2004 - 14:39:13 EST


* Pavel Machek <pavel@xxxxxx> [040205 10:50]:
>
> > > Someone should really bug them to fix their BIOS. (BTW does keyboard work
> > > ok for you?)

Ah, I think what's the keyboard problem. If I don't have usb compiled into
the kernel, my keyboard shows stuck keys continuously. I just posted my .config
at http://www.muru.com/linux/amd64/

> Attached is my cpufreq patch. You may still prefer yours, but this one
> has correct tables derived from ACPI.

Cool, I'll check it out.

> > There are some ACPI related issues though, such as: via-rhine gets wrong
> > irq with ACPI on, system hangs with yenta_socket loaded if I
> > connect/disconnect the power cord... So for now, I don't use the
> > PCMCIA.
>
> They did something very stupid with io-ports at 0x4000. This should
> work around it. [Note, I probably have slightly different machine from
> you.]

Excellent, I'll try it out as well for the PCMCIA.

Here's a bios patch that gets rid of one error and allows the machine to
boot with ioapic option. I've not yet verified that it's this patch though.
With ioapic, the USB and network interrupts stop working, so there's
something else.

Tony
--- dsdt.dsl.orig 2004-02-03 23:34:13.000000000 -0800
+++ dsdt.dsl 2004-02-03 23:34:19.000000000 -0800
@@ -2922,7 +2922,7 @@
}
}

- OperationRegion (CCRD, PCI_Config, 0x00, 0xA7)
+ OperationRegion (CCRD, PCI_Config, 0x00, 0xA8)
Field (CCRD, DWordAcc, Lock, Preserve)
{
Offset (0x04),
dump:
./acpidmp DSDT > dsdt.orig && \
cp dsdt.orig dsdt

decompile:
./iasl -d dsdt

compile:
./iasl -tc dsdt.dsl

install:
cp dsdt.hex /usr/src/linux/drivers/acpi/tables/acpi_dsdt.c