Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758890Ab3D3H1F (ORCPT ); Tue, 30 Apr 2013 03:27:05 -0400 Received: from mail-qa0-f54.google.com ([209.85.216.54]:61953 "EHLO mail-qa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752668Ab3D3H1D (ORCPT ); Tue, 30 Apr 2013 03:27:03 -0400 MIME-Version: 1.0 From: Christian Gmeiner Date: Tue, 30 Apr 2013 09:26:42 +0200 Message-ID: Subject: HPET rtc emulation To: LKML , venki@google.com, Thomas Gleixner Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1451 Lines: 40 Hi. I am working with a platform that has a problem with the RTC alarm interrupt - tested with rtctest from /Documentation/rtc.txt. So I thought that I could use the HPET emulation. As far as I understand in the HPET emulation mode no RTC irq will be used --> RTC alarm interrupt is done via HPET. Is this a correct assumption? root@OT:/home/vis# hwclock Tue 30 Apr 2013 09:24:28 AM CEST -0.511012 seconds root@OT:/home/vis# hwclock Tue 30 Apr 2013 09:24:29 AM CEST -0.511016 seconds root@OT:/home/vis# hwclock Tue 30 Apr 2013 09:24:30 AM CEST -0.526659 seconds root@OT:/home/vis# hwclock Tue 30 Apr 2013 09:24:31 AM CEST -0.620384 seconds root@OT:/home/vis# hwclock Tue 30 Apr 2013 09:24:32 AM CEST -0.604838 seconds root@OT:/home/vis# hwclock Tue 30 Apr 2013 09:24:33 AM CEST -0.651638 seconds root@OT:/home/vis# hwclock Tue 30 Apr 2013 09:24:34 AM CEST -0.682915 seconds root@OT:/home/vis# hwclock Tue 30 Apr 2013 09:24:35 AM CEST -0.026708 seconds root@OT:/home/vis# hwclock select() to /dev/rtc to wait for clock tick timed ou Doing some quite simple tests indicates that HPET emulation does not emulate RTC alarm interrupts or my HPET has some problems. thanks -- Christian Gmeiner, MSc -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/