aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2014-09-16 13:50:01 -0700
committerTony Luck <[email protected]>2014-12-11 13:38:31 -0800
commit027bc8b08242c59e19356b4b2c189f2d849ab660 (patch)
tree4bd5ad81fef12692af2c9d278f14903d15ddfb60 /lib/memory-notifier-error-inject.c
parent7ae9cb81933515dc7db1aa3c47ef7653717e3090 (diff)
pstore-ram: Allow optional mapping with pgprot_noncached
On some ARMs the memory can be mapped pgprot_noncached() and still be working for atomic operations. As pointed out by Colin Cross <[email protected]>, 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 <[email protected]> Cc: Rob Herring <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Anton Vorontsov <[email protected]> Cc: Colin Cross <[email protected]> Cc: Olof Johansson <[email protected]> Cc: Russell King <[email protected]> Cc: [email protected] Acked-by: Kees Cook <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions