Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262064AbTHTRC3 (ORCPT ); Wed, 20 Aug 2003 13:02:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262068AbTHTRC3 (ORCPT ); Wed, 20 Aug 2003 13:02:29 -0400 Received: from fmr09.intel.com ([192.52.57.35]:35537 "EHLO hermes.hd.intel.com") by vger.kernel.org with ESMTP id S262064AbTHTRCE convert rfc822-to-8bit (ORCPT ); Wed, 20 Aug 2003 13:02:04 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Subject: RE: [PATCH][2.6][2/5]Support for HPET based timer Date: Wed, 20 Aug 2003 10:01:53 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH][2.6][2/5]Support for HPET based timer Thread-Index: AcNnCHCu9ngPWo70Q2ORc/h2Z0t5xgAMjVFQ From: "Pallipadi, Venkatesh" To: "Mikael Pettersson" , "Andi Kleen" Cc: "Vojtech Pavlik" , X-OriginalArrivalTime: 20 Aug 2003 17:01:54.0023 (UTC) FILETIME=[C198EF70:01C3673C] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1604 Lines: 45 Yes. I hadn't thought about early_ioremap option. There seems to be multiple ways of doing early ioremap: bt_ioremap() and boot_ioremap(). I will look at them closer and work on changing HPET code to use one of these in place of fixmap. Thanks, -Venkatesh > -----Original Message----- > From: Mikael Pettersson [mailto:mikpe@csd.uu.se] > Sent: Wednesday, August 20, 2003 3:47 AM > To: Andi Kleen > Cc: Vojtech Pavlik; linux-kernel@vger.kernel.org; Pallipadi, Venkatesh > Subject: Re: [PATCH][2.6][2/5]Support for HPET based timer > > > Andi Kleen writes: > > Vojtech Pavlik writes: > > > > > On Tue, Aug 19, 2003 at 05:18:50PM -0700, Pallipadi, > Venkatesh wrote: > > > > > > > Fixmap is for HPET memory map address access. As the timer > > > > initialization happen > > > > early in the boot sequence (before vm initialization), > we need to have > > > > fixmap() > > > > and fix_to_virt() to access HPET memory map address. > > > > > > Ahh, yes, you're right. You can't use ioremap at that > time. Actually I > > > did the same on x86_64 not only because of vsyscalls. > > > > iirc i386 has an ioremap_early or somesuch. > > bt_ioremap(). I wrote it to support early DMI scan so DMI data > could be used to blacklist BIOSen that break local APICs. > This was done pretty much just to handle Dell laptops. > - 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/