[GIT PULL] pstore updates for v6.2-rc1

From: Kees Cook
Date: Mon Dec 05 2022 - 19:24:53 EST


Hi Linus,

Please pull these pstore updates for v6.2-rc1. It's a small collection
of bug fixes, refactorings, and general improvements noted below.

Thanks!

-Kees

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v6.2-rc1

for you to fetch changes up to e6b842741b4f39007215fd7e545cb55aa3d358a2:

pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP (2022-12-05 16:15:09 -0800)

----------------------------------------------------------------
pstore updates for v6.2-rc1

- Reporting improvements and return path fixes (Guilherme G. Piccoli,
Wang Yufen, Kees Cook).

- Clean up kmsg_bytes module parameter usage (Guilherme G. Piccoli).

- Add Guilherme to pstore MAINTAINERS entry.

- Choose friendlier allocation flags (Qiujun Huang, Stephen Boyd).

----------------------------------------------------------------
Guilherme G. Piccoli (5):
pstore: Improve error reporting in case of backend overlap
pstore: Expose kmsg_bytes as a module parameter
pstore: Inform unregistered backend names as well
efi: pstore: Follow convention for the efi-pstore backend name
pstore: Alert on backend write error

Kees Cook (5):
pstore/ram: Consolidate kfree() paths
pstore/ram: Move pmsg init earlier
pstore/ram: Move internal definitions out of kernel-wide include
pstore/ram: Set freed addresses to NULL
MAINTAINERS: Update pstore maintainers

Qiujun Huang (1):
pstore/zone: Use GFP_ATOMIC to allocate zone buffer

Stephen Boyd (1):
pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP

Wang Yufen (1):
pstore/ram: Fix error return code in ramoops_probe()

MAINTAINERS | 8 ++--
drivers/firmware/efi/efi-pstore.c | 2 +-
fs/pstore/platform.c | 25 ++++++++--
fs/pstore/ram.c | 44 +++++++++--------
fs/pstore/ram_core.c | 20 ++++++--
fs/pstore/ram_internal.h | 98 ++++++++++++++++++++++++++++++++++++++
fs/pstore/zone.c | 2 +-
include/linux/pstore_ram.h | 99 ---------------------------------------
8 files changed, 165 insertions(+), 133 deletions(-)
create mode 100644 fs/pstore/ram_internal.h

--
Kees Cook