Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760472AbYA3PrI (ORCPT ); Wed, 30 Jan 2008 10:47:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759276AbYA3Pqt (ORCPT ); Wed, 30 Jan 2008 10:46:49 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:57366 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755479AbYA3Pqs (ORCPT ); Wed, 30 Jan 2008 10:46:48 -0500 Date: Wed, 30 Jan 2008 07:45:40 -0800 From: Arjan van de Ven To: "Huang, Ying" Cc: Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: ioremap_xxx() with EXEC enabled Message-ID: <20080130074540.031b6799@laptopd505.fenrus.org> In-Reply-To: <1201685530.17912.11.camel@caritas-dev.intel.com> References: <1201685530.17912.11.camel@caritas-dev.intel.com> Organization: Intel X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.3; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 733 Lines: 21 On Wed, 30 Jan 2008 17:32:10 +0800 "Huang, Ying" wrote: > Hi, > > On i386, EFI may need to map EFI runtime code area as EXEC enabled > with ioremap(). But, I found that the memory are mapped as EXEC > disabled when mapped with ioremap() now. I think we may need a method > to map memory area as EXEC enabled with ioremap_xxx(). Some possible > interface schemes for mapping as EXEC enabled are as follow: > > - Interface scheme 1: scheme 3: set_memory_x(... ) -- 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/