linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Ankit Kumar <ankit@linux.vnet.ibm.com>,
	Bhumika Goyal <bhumirks@gmail.com>,
	Chris Wilson <chris@chris-wilson.co.uk>,
	Geliang Tang <geliangtang@gmail.com>,
	Kees Cook <keescook@chromium.org>,
	Marta Lofstedt <marta.lofstedt@intel.com>,
	Namhyung Kim <namhyung@kernel.org>
Subject: [GIT PULL] pstore updates for v4.12-rc1
Date: Mon, 1 May 2017 11:23:05 -0700	[thread overview]
Message-ID: <20170501182305.GA38519@beast> (raw)

Hi,

Please pull these pstore changes for v4.12-rc1. This has a large internal
refactoring along with several smaller fixes.

Thanks!

-Kees

The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201:

  Linux 4.11-rc1 (2017-03-05 12:59:56 -0800)

are available in the git repository at:

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

for you to fetch changes up to 3a7d2fd16c57a1ef47dc2891171514231c9c7c6e:

  pstore: Solve lockdep warning by moving inode locks (2017-04-27 20:35:34 -0700)

----------------------------------------------------------------
- constify compression structures; Bhumika Goyal
- restore powerpc dumping; Ankit Kumar
- fix more bugs in the rarely exercises module unloading logic
- reorganize filesystem locking to fix problems noticed by lockdep
- refactor internal pstore APIs to make development and review easier:
  - improve error reporting
  - add kernel-doc structure and function comments
  - avoid insane argument passing by using a common record structure

----------------------------------------------------------------
Ankit Kumar (1):
      pstore: Fix flags to enable dumps on powerpc

Bhumika Goyal (1):
      pstore: constify pstore_zbackend structures

Geliang Tang (1):
      pstore: Remove unused vmalloc.h in pmsg

Kees Cook (20):
      pstore: Use dynamic spinlock initializer
      pstore: Shut down worker when unregistering
      pstore: Avoid race in module unloading
      pstore: Improve register_pstore() error reporting
      pstore: Add kernel-doc for struct pstore_info
      pstore: Extract common arguments into structure
      pstore: Move record decompression to function
      pstore: Switch pstore_mkfile to pass record
      pstore: Replace arguments for read() API
      pstore: Replace arguments for write() API
      pstore: Always allocate buffer for decompression
      pstore: Pass record contents instead of copying
      pstore: Allocate records on heap instead of stack
      pstore: Do not duplicate record metadata
      pstore: Replace arguments for erase() API
      pstore: Replace arguments for write_buf() API
      pstore: Replace arguments for write_buf_user() API
      pstore: Remove write_buf() callback
      pstore: simplify write_user_compat()
      pstore: Solve lockdep warning by moving inode locks

 arch/powerpc/kernel/nvram_64.c    |  89 +++++------
 drivers/acpi/apei/erst.c          |  64 ++++----
 drivers/firmware/efi/efi-pstore.c | 148 ++++++++-----------
 fs/pstore/ftrace.c                |  11 +-
 fs/pstore/inode.c                 | 147 +++++++++++--------
 fs/pstore/internal.h              |   8 +-
 fs/pstore/platform.c              | 301 ++++++++++++++++++++++----------------
 fs/pstore/pmsg.c                  |  12 +-
 fs/pstore/ram.c                   | 130 ++++++++--------
 fs/pstore/ram_core.c              |   2 +-
 include/linux/pstore.h            | 156 ++++++++++++++++----
 11 files changed, 607 insertions(+), 461 deletions(-)

-- 
Kees Cook
Pixel Security

                 reply	other threads:[~2017-05-01 18:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170501182305.GA38519@beast \
    --to=keescook@chromium.org \
    --cc=ankit@linux.vnet.ibm.com \
    --cc=bhumirks@gmail.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=geliangtang@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marta.lofstedt@intel.com \
    --cc=namhyung@kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).