Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752058AbbBETgk (ORCPT ); Thu, 5 Feb 2015 14:36:40 -0500 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:38103 "EHLO e23smtp09.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750961AbbBETgi (ORCPT ); Thu, 5 Feb 2015 14:36:38 -0500 Subject: [PATCH v5 0/4] powerpc/pstore: Add pstore support for nvram partitions From: Hari Bathini To: Tony Luck , Kees Cook , Anton Vorontsov , lkml , linuxppc-dev , Colin Cross Cc: Mahesh J Salgaonkar , Michael Ellerman , Benjamin Herrenschmidt Date: Fri, 06 Feb 2015 01:05:39 +0530 Message-ID: <20150205193412.24669.8648.stgit@localhost.localdomain> User-Agent: StGit/0.17-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15020519-0033-0000-0000-00000105BC61 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1524 Lines: 38 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. Also, tested the patches successfully, on a kernel compiled with both CONFIG_PPC_PSERIES=y & CONFIG_PPC_POWERNV=y. Changes from v4: 1. Added a patch for y2038-safe code changes --- Hari Bathini (4): powerpc/nvram: move generic code for nvram and pstore pstore: Add pstore type id for PPC64 opal nvram partition pstore: add pstore support on powernv powerpc: make timestamp related code y2038-safe arch/powerpc/include/asm/nvram.h | 50 ++ arch/powerpc/include/asm/rtas.h | 5 arch/powerpc/kernel/nvram_64.c | 677 +++++++++++++++++++++++++++ arch/powerpc/platforms/powernv/opal-nvram.c | 10 arch/powerpc/platforms/pseries/nvram.c | 673 --------------------------- fs/pstore/inode.c | 3 include/linux/pstore.h | 1 7 files changed, 754 insertions(+), 665 deletions(-) -- -Hari -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/