From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luis R. Rodriguez" Subject: Re: [PATCH v2 2/2] mm: provide a fallback for PAGE_KERNEL_EXEC for architectures Date: Thu, 10 May 2018 17:14:32 +0000 Message-ID: <20180510171432.GC27853@wotan.suse.de> References: <20180510014447.15989-1-mcgrof@kernel.org> <20180510014447.15989-3-mcgrof@kernel.org> <20180510153355.GB27853@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180510153355.GB27853@wotan.suse.de> Sender: linux-kernel-owner@vger.kernel.org To: "Luis R. Rodriguez" Cc: Geert Uytterhoeven , Arnd Bergmann , Greg KH , Matthew Wilcox , linux-m68k , Linux-Arch , Linux MM , Linux Kernel Mailing List List-Id: linux-arch.vger.kernel.org On Thu, May 10, 2018 at 03:33:55PM +0000, Luis R. Rodriguez wrote: > On Thu, May 10, 2018 at 09:45:56AM +0200, Geert Uytterhoeven wrote: > > Hi Luis, > > > > On Thu, May 10, 2018 at 3:44 AM, Luis R. Rodriguez wrote: > > > Some architectures just don't have PAGE_KERNEL_EXEC. The mm/nommu.c > > > and mm/vmalloc.c code have been using PAGE_KERNEL as a fallback for years. > > > Move this fallback to asm-generic. > > > > > > Architectures which do not define PAGE_KERNEL_EXEC yet: > > > > > > o alpha > > > o mips > > > o openrisc > > > o sparc64 > > > > The above list seems to be far from complete? > > I'll look again. If you know of others lemme know. You know, better just ignore documenting these. I'll respin without that. Luis From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:35571 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966492AbeEJROf (ORCPT ); Thu, 10 May 2018 13:14:35 -0400 Date: Thu, 10 May 2018 17:14:32 +0000 From: "Luis R. Rodriguez" Subject: Re: [PATCH v2 2/2] mm: provide a fallback for PAGE_KERNEL_EXEC for architectures Message-ID: <20180510171432.GC27853@wotan.suse.de> References: <20180510014447.15989-1-mcgrof@kernel.org> <20180510014447.15989-3-mcgrof@kernel.org> <20180510153355.GB27853@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180510153355.GB27853@wotan.suse.de> Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Luis R. Rodriguez" Cc: Geert Uytterhoeven , Arnd Bergmann , Greg KH , Matthew Wilcox , linux-m68k , Linux-Arch , Linux MM , Linux Kernel Mailing List Message-ID: <20180510171432.4eugvETn13XJZIMcTfjcvs4gX7NRu3qnf8rUVNpoPz8@z> On Thu, May 10, 2018 at 03:33:55PM +0000, Luis R. Rodriguez wrote: > On Thu, May 10, 2018 at 09:45:56AM +0200, Geert Uytterhoeven wrote: > > Hi Luis, > > > > On Thu, May 10, 2018 at 3:44 AM, Luis R. Rodriguez wrote: > > > Some architectures just don't have PAGE_KERNEL_EXEC. The mm/nommu.c > > > and mm/vmalloc.c code have been using PAGE_KERNEL as a fallback for years. > > > Move this fallback to asm-generic. > > > > > > Architectures which do not define PAGE_KERNEL_EXEC yet: > > > > > > o alpha > > > o mips > > > o openrisc > > > o sparc64 > > > > The above list seems to be far from complete? > > I'll look again. If you know of others lemme know. You know, better just ignore documenting these. I'll respin without that. Luis