Home
last modified time | relevance | path

Searched hist:"0405 a5cec3406f19e69da07c8111a6bf1088ac29" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/pstore/
H A Dram_core.cdiff 0405a5cec3406f19e69da07c8111a6bf1088ac29 Mon Apr 08 20:23:33 CDT 2013 Rob Herring <rob.herring@calxeda.com> pstore/ram: avoid atomic accesses for ioremapped regions

For persistent RAM outside of main memory, the memory may have limitations
on supported accesses. For internal RAM on highbank platform exclusive
accesses are not supported and will hang the system. So atomic_cmpxchg
cannot be used. This commit uses spinlock protection for buffer size and
start updates on ioremapped regions instead.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>