public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Udo van den Heuvel <udovdh@xs4all.nl>
To: Robert Hancock <hancockrwd@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: patch: HPET force enable for CX700 / VIA Epia LT  was: Re: hpet timers gone?
Date: Tue, 14 Sep 2010 07:15:08 +0200	[thread overview]
Message-ID: <4C8F04DC.5060303@xs4all.nl> (raw)
In-Reply-To: <AANLkTintq=gXvFC9BW_cv=MSqBWHCx7SD9o1CWHOYTsj@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

On 2010-09-14 01:16, Robert Hancock wrote:
> On Mon, Sep 13, 2010 at 8:52 AM, Udo van den Heuvel <udovdh@xs4all.nl> wrote:
>> So what else can I do to enable HPET?
> 
> At this point, not much, unless you can track down the chipset
> information that would allow us to implement force enabling HPET on
> that chipset..

Signed-off-by: Udo van den Heuvel <udovdh@xs4all.nl>

--- a/arch/x86/kernel/quirks.c	2010-09-13 18:02:14.639710309 +0200
+++ b/arch/x86/kernel/quirks.c	2010-09-13 18:02:06.095280815 +0200
@@ -344,6 +344,8 @@
 			 vt8237_force_enable_hpet);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8237,
 			 vt8237_force_enable_hpet);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_CX700,
+			 vt8237_force_enable_hpet);

 static void ati_force_hpet_resume(void)
 {

Patch does make hpet appear on VIA Epia LT (CX700M2 chipset) with
hpet=force on kernel commandline.


Udo

[-- Attachment #2: hpet-c700.patch --]
[-- Type: text/plain, Size: 435 bytes --]

--- a/arch/x86/kernel/quirks.c	2010-09-13 18:02:14.639710309 +0200
+++ b/arch/x86/kernel/quirks.c	2010-09-13 18:02:06.095280815 +0200
@@ -344,6 +344,8 @@
 			 vt8237_force_enable_hpet);
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8237,
 			 vt8237_force_enable_hpet);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_CX700,
+			 vt8237_force_enable_hpet);
 
 static void ati_force_hpet_resume(void)
 {

  reply	other threads:[~2010-09-14  5:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-24 10:19 hpet timers gone? Udo van den Heuvel
2010-05-26 19:02 ` Randy Dunlap
2010-05-29  4:29   ` Udo van den Heuvel
2010-05-30  7:34   ` Udo van den Heuvel
2010-05-30 18:51     ` Robert Hancock
     [not found]       ` <4C0324B8.8070304@xs4all.nl>
     [not found]         ` <AANLkTikuaPxA9Xnzc1bCJ5YHRlPZ1AcBSrYJ5lqryaMY@mail.gmail.com>
2010-09-13 14:52           ` Udo van den Heuvel
2010-09-13 15:30             ` Udo van den Heuvel
2010-09-13 16:05               ` Udo van den Heuvel
2010-09-13 23:16             ` Robert Hancock
2010-09-14  5:15               ` Udo van den Heuvel [this message]
2010-09-15 14:37                 ` [tip:x86/quirks] x86: HPET force enable for CX700 / VIA Epia LT tip-bot for Udo van den Heuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C8F04DC.5060303@xs4all.nl \
    --to=udovdh@xs4all.nl \
    --cc=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox