From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933840AbcLGXf4 (ORCPT ); Wed, 7 Dec 2016 18:35:56 -0500 Received: from mail-pf0-f180.google.com ([209.85.192.180]:33496 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933179AbcLGXfz (ORCPT ); Wed, 7 Dec 2016 18:35:55 -0500 Date: Wed, 7 Dec 2016 15:35:53 -0800 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Joel Fernandes , Li Pengcheng , Liu Hailong , Li Zhong , Namhyung Kim , Steven Rostedt Subject: [GIT PULL] pstore updates for v4.10-rc1 Message-ID: <20161207233553.GA66972@beast> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, As requested, here's an early pull request for v4.10. :) Please pull these pstore changes for v4.10-rc1. Thanks! -Kees The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v4.10-rc1 for you to fetch changes up to fc46d4e453f50d2b376267f180cae250b54f9fb4: ramoops: add pdata NULL check to ramoops_probe (2016-11-15 16:34:32 -0800) ---------------------------------------------------------------- Improvements and fixes to pstore subsystem: - Add additional checks for bad platform data - Remove bounce buffer in console writer - Protect read/unlink race with a mutex - Correctly give up during dump locking failures - Increase ftrace bandwidth by splitting ftrace buffers per CPU ---------------------------------------------------------------- Joel Fernandes (8): pstore: Make spinlock per zone instead of global pstore: Warn on PSTORE_TYPE_PMSG using deprecated function pstore: Allow prz to control need for locking ramoops: Split ftrace buffer space into per-CPU zones pstore: Add ftrace timestamp counter pstore: Merge per-CPU ftrace records into one ftrace: Provide API to use global filtering for ftrace ops pstore: Use global ftrace filters for function trace filtering Kees Cook (4): pstore: Make ramoops_init_przs generic for other prz arrays pstore: improve error report for failed setup pstore: Clarify context field przs as dprzs ramoops: add pdata NULL check to ramoops_probe Li Pengcheng (1): pstore: Actually give up during locking failure Namhyung Kim (2): pstore: Protect unlink with read_mutex pstore: Convert console write to use ->write_buf .../bindings/reserved-memory/ramoops.txt | 3 + fs/pstore/ftrace.c | 11 +- fs/pstore/inode.c | 15 +- fs/pstore/internal.h | 34 --- fs/pstore/platform.c | 5 +- fs/pstore/ram.c | 327 ++++++++++++++++----- fs/pstore/ram_core.c | 27 +- include/linux/ftrace.h | 2 + include/linux/pstore.h | 76 +++++ include/linux/pstore_ram.h | 14 +- kernel/trace/ftrace.c | 17 ++ 11 files changed, 404 insertions(+), 127 deletions(-) -- Kees Cook Nexus Security