[PATCH v3] hpet: Detect hidden HPET on NVidia motherboards

2007-04-17 Thread Mikko Tiihonen
but should apply cleanly to most kernels. Signed-off-by: Mikko Tiihonen <[EMAIL PROTECTED]> --- Changes since v2: - removed duplicated pci scanning code and moved it to pci/early.c - added CONFIG_HPET_NFORCE_DETECT diff -uprN -X linux-2.6.21-rc6-git7/Documentation/dontdiff linux-2.6.21-rc

Re: [PATCH v2] hpet: Enable hidden HPET on NVidia motherboards

2007-04-17 Thread Mikko Tiihonen
On Mon, 16 Apr 2007, Andi Kleen wrote: On Tue, Apr 17, 2007 at 12:28:31AM +0300, Mikko Tiihonen wrote: I actually was more worried that someone might complain that the pci scanning is copy & paste code from end of the same file. I did try to use the generic pci functions first but bec

Re: [PATCH v2] hpet: Enable hidden HPET on NVidia motherboards

2007-04-16 Thread Mikko Tiihonen
On Mon, 16 Apr 2007, Andi Kleen wrote: Mikko Tiihonen <[EMAIL PROTECTED]> writes: It looks probable that most NVidia chipsets have the HPET address at 0x44. It might be possible to enable the HPET even if BIOS did not That seems like a dangerous assumption. If anything this needs

Re: [PATCH v2] hpet: Enable hidden HPET on NVidia motherboards

2007-04-16 Thread Mikko Tiihonen
On Mon, 16 Apr 2007, Krzysztof Halasa wrote: Mikko Tiihonen <[EMAIL PROTECTED]> writes: Enables HPET for NVidia motherboards with broken BIOS. The patch reads the HPET address from the pci config space. The patch should also work if ACPI is disabled. The HPET search is done in early-

[PATCH v2] hpet: Enable hidden HPET on NVidia motherboards

2007-04-16 Thread Mikko Tiihonen
. Signed-off-by: Mikko Tiihonen <[EMAIL PROTECTED]> --- It looks probable that most NVidia chipsets have the HPET address at 0x44. It might be possible to enable the HPET even if BIOS did not initialize it properly by writing the wanted address there. Some other pci config space bits might need

[PATCH] hpet: Enable hidden HPET on NVidia motherboards

2007-04-15 Thread Mikko Tiihonen
kernels. Signed-off-by: Mikko Tiihonen <[EMAIL PROTECTED]> --- It looks probable that most NVidia chipsets have the HPET address at 0x44. It might be possible to enable the HPET even if BIOS did not initialize it properly by writing the wanted address there. Some other pci config space bits

Re: [PATCH 1/5] RT kernel: force detect HPET from PCI space

2007-03-31 Thread Mikko Tiihonen
On Sat, 31 Mar 2007, Nicolas Mailhot wrote: [adding some people in CC that expressed interest in the problem before] I'm crazy enough to test a patch if someone cooks it, but I'm way out of my depth there :) After struggling with totally broken kernels for the whole morning I got the HPET

RE: [PATCH 1/5] RT kernel: force detect HPET from PCI space

2007-03-31 Thread Mikko Tiihonen
On Sat, 31 Mar 2007, Nicolas Mailhot wrote: Le samedi 31 mars 2007 à 01:09 +0300, Mikko Tiihonen a écrit : Anyone got the same thing for CK804? I had my hopes high, and then I saw the DECLARE_PCI_FIXUP_HEADER values [and the thread title was misleading] I have an A8N-E motherboard with

RE: [PATCH 1/5] RT kernel: force detect HPET from PCI space

2007-03-30 Thread Mikko Tiihonen
Anyone got the same thing for CK804? I had my hopes high, and then I saw the DECLARE_PCI_FIXUP_HEADER values [and the thread title was misleading] I have an A8N-E motherboard with AthlonX2 and the ACPI definitions are missing the HPET (standard feature of Asus motherboards). I too got inter