[PATCHv2 1/2] fs/pstore: Use memcpy_toio instead of memcpy

2016-02-15 Thread Enric Balletbo i Serra
From: Furquan Shaikh persistent_ram_update uses vmap / iomap based on whether the buffer is in memory region or reserved region. However, both map it as non-cacheable memory. For armv8 specifically, non-cacheable mapping requests use a memory type that has to be accessed

[PATCHv2 1/2] fs/pstore: Use memcpy_toio instead of memcpy

2016-02-15 Thread Enric Balletbo i Serra
From: Furquan Shaikh persistent_ram_update uses vmap / iomap based on whether the buffer is in memory region or reserved region. However, both map it as non-cacheable memory. For armv8 specifically, non-cacheable mapping requests use a memory type that has to be accessed aligned to the request