From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 23 Nov 2015 09:12:35 +0100 From: Ingo Molnar Subject: Re: [PATCH 1/2] arch: consolidate CONFIG_STRICT_DEVM in lib/Kconfig.debug Message-ID: <20151123081235.GA23661@gmail.com> References: <20151122035702.9313.52457.stgit@dwillia2-desk3.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151122035702.9313.52457.stgit@dwillia2-desk3.jf.intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Dan Williams Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Russell King , Kees Cook , Arnd Bergmann , Greg Kroah-Hartman , Catalin Marinas , linux-nvdimm@lists.01.org, Heiko Carstens , Andrew Morton , Will Deacon , Ingo Molnar , Benjamin Herrenschmidt , "H. Peter Anvin" , Martin Schwidefsky , Thomas Gleixner , "David S. Miller" , linux-arm-kernel@lists.infradead.org List-ID: * Dan Williams wrote: > Let all the archs that implement CONFIG_STRICT_DEVM use a common > definition in lib/Kconfig.debug. For the x86 bit: Acked-by: Ingo Molnar > Note, the 'depends on !SPARC' is due to sparc not implementing > devmem_is_allowed(). Maybe that should be converted into a helper Kconfig switch for architectures to opt in to /dev/mem restrictions? Thanks, Ingo