From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id AA1401A0C8D for ; Wed, 24 Dec 2014 22:58:27 +1100 (AEDT) Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7AB62140081 for ; Wed, 24 Dec 2014 22:58:25 +1100 (AEDT) Received: from /spool/local by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 24 Dec 2014 21:58:24 +1000 Received: from d23relay09.au.ibm.com (d23relay09.au.ibm.com [9.185.63.181]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 782D02CE8062 for ; Wed, 24 Dec 2014 22:58:21 +1100 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay09.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sBOBwK2q14811230 for ; Wed, 24 Dec 2014 22:58:21 +1100 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sBOBwJtl006704 for ; Wed, 24 Dec 2014 22:58:20 +1100 Subject: [PATCH v3 0/3] powerpc/pstore: Add pstore support for nvram partitions From: Hari Bathini To: linuxppc-dev Date: Wed, 24 Dec 2014 17:28:11 +0530 Message-ID: <20141224115729.25731.20371.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Cc: Mahesh J Salgaonkar List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This patch series adds pstore support on powernv platform to read different nvram partitions and write compressed data to oops-log nvram partition. As pseries platform already has pstore support, this series moves most of the common code for pseries and powernv platforms to a common file. Tested the patches successfully on both pseries and powernv platforms. Changes from v2: Added an empty version of clobbering_unread_rtas_event() routine for !PSERIES, to avoid ifdef at the call sites --- Hari Bathini (3): powerpc/nvram: move generic code for nvram and pstore pstore: Add pstore type id for firmware partition pstore: add pstore support on powernv arch/powerpc/include/asm/nvram.h | 50 ++ arch/powerpc/include/asm/rtas.h | 4 arch/powerpc/kernel/nvram_64.c | 677 +++++++++++++++++++++++++++ arch/powerpc/platforms/powernv/opal-nvram.c | 10 arch/powerpc/platforms/pseries/nvram.c | 665 --------------------------- fs/pstore/inode.c | 3 include/linux/pstore.h | 1 7 files changed, 749 insertions(+), 661 deletions(-) -- - Hari