[GIT PULL] pstore updates for v4.9-rc1

From: Kees Cook
Date: Wed Oct 05 2016 - 17:44:06 EST


Hi,

Please pull these pstore changes for v4.9-rc1.

Thanks!

-Kees

The following changes since commit d71f058617564750261b673ea9b3352382b9cde4:

Merge branch 'for-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux (2016-09-07 21:28:26 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v4.9-rc1

for you to fetch changes up to f88baf68ebe5b2efced64725fd98548af9b8f510:

ramoops: move spin_lock_init after kmalloc error checking (2016-09-08 15:01:13 -0700)

----------------------------------------------------------------
Fix bug in module unloading.
Switch to always using spinlock over cmpxchg.
Explicitly define pstore backend's supported modes.
Remove bounce buffer from pmsg.
Switch to using memcpy_to/fromio().
Error checking improvements.

----------------------------------------------------------------
Andrew Bresticker (1):
pstore/ram: Use memcpy_fromio() to save old buffer

Furquan Shaikh (1):
pstore/ram: Use memcpy_toio instead of memcpy

Geliang Tang (1):
ramoops: move spin_lock_init after kmalloc error checking

Mark Salyzyn (1):
pstore/pmsg: drop bounce buffer

Namhyung Kim (2):
pstore: Split pstore fragile flags
pstore/ram: Set pstore flags dynamically

Sebastian Andrzej Siewior (2):
pstore/ramoops: fixup driver removal
pstore/core: drop cmpxchg based updates

drivers/acpi/apei/erst.c | 2 +-
drivers/firmware/efi/efi-pstore.c | 2 +-
fs/pstore/platform.c | 53 ++++++++++++++++++---
fs/pstore/pmsg.c | 35 +++-----------
fs/pstore/ram.c | 46 ++++++++++++++++---
fs/pstore/ram_core.c | 96 ++++++++++++++++++++-------------------
include/linux/pstore.h | 17 +++++--
include/linux/pstore_ram.h | 7 ++-
8 files changed, 162 insertions(+), 96 deletions(-)

--
Kees Cook
Nexus Security