Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262073AbTHTRK1 (ORCPT ); Wed, 20 Aug 2003 13:10:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262078AbTHTRK1 (ORCPT ); Wed, 20 Aug 2003 13:10:27 -0400 Received: from e34.co.us.ibm.com ([32.97.110.132]:26762 "EHLO e34.co.us.ibm.com") by vger.kernel.org with ESMTP id S262073AbTHTRKX (ORCPT ); Wed, 20 Aug 2003 13:10:23 -0400 Subject: Re: [PATCH][2.6][2/5]Support for HPET based timer From: Dave Hansen To: Andi Kleen Cc: Vojtech Pavlik , Linux Kernel Mailing List , venkatesh.pallipadi@intel.com In-Reply-To: References: <20030820080513.GB17793@ucw.cz.suse.lists.linux.kernel> Content-Type: text/plain Organization: Message-Id: <1061399370.30807.151.camel@nighthawk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 20 Aug 2003 10:09:31 -0700 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 29 On Wed, 2003-08-20 at 03:01, Andi Kleen wrote: > 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. Yep, we have boot_ioremap(). It's used to do ioremap() even while we're still using the original early boot pagetables (before paging_init()): arch/i386/mm/boot_ioremap.c -- Dave Hansen haveblue@us.ibm.com - 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/