From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 71AB01A0315 for ; Wed, 5 Nov 2014 07:19:06 +1100 (AEDT) Received: by mail-wg0-f51.google.com with SMTP id l18so14313655wgh.38 for ; Tue, 04 Nov 2014 12:19:03 -0800 (PST) Date: Tue, 4 Nov 2014 20:18:59 +0000 From: Leif Lindholm To: Kees Cook Subject: Re: [RFC PATCH] make CONFIG_STRICT_DEVMEM a core non-debug feature Message-ID: <20141104201859.GZ22224@bivouac.eciton.net> References: <1415121836-16241-1-git-send-email-leif.lindholm@linaro.org> <20141104195914.GY22224@bivouac.eciton.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: Catalin Marinas , Will Deacon , Oleg Nesterov , paulus@samba.org, "H. Peter Anvin" , Guan Xuetao , linux-s390@vger.kernel.org, Russell King - ARM Linux , "x86@kernel.org" , Christoph Hellwig , Ingo Molnar , dave.long@linaro.org, eiko.carstens@de.ibm.com, Arnd Bergmann , Chris Metcalf , Thomas Gleixner , Arjan van de Ven , "linux-arm-kernel@lists.infradead.org" , Greg KH , LKML , Andy Lutomirski , Martin Schwidefsky , linux390@de.ibm.com, Andrew Morton , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Nov 04, 2014 at 12:02:32PM -0800, Kees Cook wrote: > > I considered doing that, but didn't want to risk listing too many > > details of one architecture, and too few of others. > > Well, the others only say "memory mapped peripherals", so that's what > I was suggesting adding the x86 language: it was the most detailed > about what that would really mean to the end-user. The problem is that this currently isn't strictly speaking true for some architectures (at least not arm*). Without a standardised memory map, we are exposing mapping anything not system RAM. (Patches related to that will follow later this month.) / Leif