From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <20180428001526.22475-1-mcgrof@kernel.org> References: <20180428001526.22475-1-mcgrof@kernel.org> From: Geert Uytterhoeven Date: Wed, 2 May 2018 12:08:57 +0200 Message-ID: Subject: Re: [PATCH] mm: provide a fallback for PAGE_KERNEL_RO for architectures To: "Luis R. Rodriguez" Cc: Arnd Bergmann , Greg KH , Linux-Arch , Linux FS Devel , Linux MM , Linux Kernel Mailing List , linux-m68k Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: Hi Luis, On Sat, Apr 28, 2018 at 2:15 AM, Luis R. Rodriguez wrote: > Some architectures do not define PAGE_KERNEL_RO, best we can do > for them is to provide a fallback onto PAGE_KERNEL. Remove the > hack from the firmware loader and move it onto the asm-generic > header, and document while at it the affected architectures > which do not have a PAGE_KERNEL_RO: > > o alpha > o ia64 > o m68k > o mips > o sparc64 > o sparc > > Blessed-by: 0-day > Signed-off-by: Luis R. Rodriguez I believe the "best we can do" is to add the missing definitions for the architectures where the hardware does support it? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds