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

From: Kees Cook
Date: Mon Dec 17 2018 - 18:50:45 EST


Hi Linus,

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

Thanks!

-Kees

The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad:

Linux 4.20-rc2 (2018-11-11 17:12:31 -0600)

are available in the Git repository at:

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

for you to fetch changes up to 8665569e97dd52920713b95675409648986b5b0d:

pstore/ram: Avoid NULL deref in ftrace merging failure path (2018-12-03 17:11:02 -0800)

----------------------------------------------------------------
pstore improvements and refactorings

- Improve compression handling
- Refactor argument handling during initialization
- Avoid needless locking for saner EFI backend handling
- Add more kern-doc and improve debugging output

----------------------------------------------------------------
Joel Fernandes (Google) (3):
pstore: Map PSTORE_TYPE_* to strings
pstore/ram: Simplify ramoops_get_next_prz() arguments
pstore/ram: Do not treat empty buffers as valid

Kees Cook (11):
pstore/ram: Correctly calculate usable PRZ bytes
Merge branch 'for-linus/pstore' into for-next/pstore
pstore: Do not use crash buffer for decompression
pstore: Remove needless lock during console writes
pstore/ram: Standardize module name in ramoops
pstore/ram: Report backend assignments with finer granularity
pstore/ram: Add kern-doc for struct persistent_ram_zone
pstore: Improve and update some comments and status output
pstore: Replace open-coded << with BIT()
pstore: Convert buf_lock to semaphore
pstore/ram: Avoid NULL deref in ftrace merging failure path

Peng Wang (1):
pstore: Avoid duplicate call of persistent_ram_zap()

Thomas Meyer (1):
pstore: Fix bool initialization/comparison

arch/powerpc/kernel/nvram_64.c | 2 -
drivers/acpi/apei/erst.c | 3 +-
drivers/firmware/efi/efi-pstore.c | 4 +-
fs/pstore/ftrace.c | 2 +-
fs/pstore/inode.c | 51 +----------
fs/pstore/platform.c | 173 +++++++++++++++++++++-----------------
fs/pstore/ram.c | 78 +++++++----------
fs/pstore/ram_core.c | 45 ++++++++--
include/linux/pstore.h | 39 ++++++---
include/linux/pstore_ram.h | 50 ++++++++++-
10 files changed, 241 insertions(+), 206 deletions(-)

--
Kees Cook