linux/fs/pstore
Tony Lindgren 2e5df19fc0 pstore-ram: Allow optional mapping with pgprot_noncached
commit 027bc8b082 upstream.

On some ARMs the memory can be mapped pgprot_noncached() and still
be working for atomic operations. As pointed out by Colin Cross
<ccross@android.com>, in some cases you do want to use
pgprot_noncached() if the SoC supports it to see a debug printk
just before a write hanging the system.

On ARMs, the atomic operations on strongly ordered memory are
implementation defined. So let's provide an optional kernel parameter
for configuring pgprot_noncached(), and use pgprot_writecombine() by
default.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Rob Herring <robherring2@gmail.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-16 06:59:30 -08:00
..
Kconfig pstore/Kconfig: Select ZLIB_DEFLATE and ZLIB_INFLATE when PSTORE is selected 2013-08-19 10:18:10 -07:00
Makefile pstore: Add persistent function tracing 2012-07-17 10:05:52 -07:00
ftrace.c pstore: Add hsize argument in write_buf call of pstore_ftrace_call 2013-07-02 18:39:37 +10:00
inode.c pstore: Fix duplicate {console,ftrace}-efi entries 2014-11-14 08:59:50 -08:00
internal.h pstore: Add file extension to pstore file if compressed 2013-08-19 11:53:27 -07:00
platform.c pstore: Don't allow high traffic options on fragile devices 2013-12-20 13:12:01 -08:00
ram.c pstore-ram: Allow optional mapping with pgprot_noncached 2015-01-16 06:59:30 -08:00
ram_core.c pstore-ram: Allow optional mapping with pgprot_noncached 2015-01-16 06:59:30 -08:00