public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Walle <bwalle@suse.de>
To: linux-kernel@vger.kernel.org
Cc: tglx@linutronix.de, clemens@ladisch.de
Subject: [patch 0/3] Implement CONFIG_HPET_EMULATE_RTC for RTC_DRV_CMOS
Date: Thu, 20 Dec 2007 16:39:35 +0100	[thread overview]
Message-ID: <20071220153935.069780745@stravinsky.suse.de> (raw)

The new rtc-cmos driver misses HPET support. If the hardware has HPET enabled,
then interrupts don't work for the rtc-cmos driver which results in RTC_AIE*,
RTC_PIE* and RTC_ALM being unusable. This affects hwclock from util-linux-ng
at least on i386 since that uses RTC_PIE_ON. (For x86-64, a polling method is
used for unknown reasons.)

This patch series now

  1. export the functions from arch/x86/kernel/hpet.c that the old char/rtc
     driver uses to work around that problem,

  2. makes it possible to compile the old rtc driver as module, while still
     having CONFIG_HPET_EMULATE_RTC enabled and

  3. makes use of the exported functions in (1) in the new rtc-cmos driver.

The design is not changed. Please review and give me feedback!

This patch series is against 2.6.24-rc5-mm1. It passes the test in
Documentation/rtc.txt after http://lkml.org/lkml/2007/12/20/249 is applied.


Signed-off-by: Bernhard Walle <bwalle@suse.de>


             reply	other threads:[~2007-12-20 15:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20 15:39 Bernhard Walle [this message]
2007-12-20 15:39 ` [patch 1/3] Make CONFIG_HPET_EMULATE_RTC usable from modules Bernhard Walle
2007-12-20 15:39 ` [patch 2/3] Use the IRQ callback interface in (old) RTC driver Bernhard Walle
2007-12-20 15:39 ` [patch 3/3] Add HPET RTC emulation to RTC_DRV_CMOS Bernhard Walle

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=20071220153935.069780745@stravinsky.suse.de \
    --to=bwalle@suse.de \
    --cc=clemens@ladisch.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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