Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751594AbWHMVpM (ORCPT ); Sun, 13 Aug 2006 17:45:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751601AbWHMVpM (ORCPT ); Sun, 13 Aug 2006 17:45:12 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:3714 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S1751594AbWHMVpK (ORCPT ); Sun, 13 Aug 2006 17:45:10 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Andi Kleen Cc: fastboot@osdl.org, Jan Kratochvil , Horms , "H. Peter Anvin" , Magnus Damm , linux-kernel@vger.kernel.org, dzickus@redhat.com Subject: Re: [CFT] ELF Relocatable x86 and x86_64 bzImages References: <20060807174439.GJ16231@redhat.com> <20060807235727.GM16231@redhat.com> <20060809200642.GD7861@redhat.com> <20060810131323.GB9888@in.ibm.com> <20060810181825.GD14732@in.ibm.com> <20060811212522.GF18865@redhat.com> Date: Sun, 13 Aug 2006 15:44:25 -0600 In-Reply-To: (Andi Kleen's message of "13 Aug 2006 22:06:19 +0200") Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 813 Lines: 24 Andi Kleen writes: > ebiederm@xmission.com (Eric W. Biederman) writes: >> >> Do you know what code had problems having _PAGE_NX set. >> What are we doing with early_ioremap the requires execute >> permissions. It doesn't sound right that we would need >> this. > > The early EM64T CPUs didn't support NX and would GPF when > they hit the bit. That is why you always need to mask > with __supported_pte_mask when using _PAGE_NX. Ok. Thanks. That explains that it. The NX bit itself causes the GPF not someone trying to execute data on a page. Eric - 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/