[PATCH v3 0/3] powerpc/pstore: Add pstore support for nvram partitions

2014-12-24 Thread Hari Bathini
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 th

[PATCH v3 1/3] powerpc/nvram: move generic code for nvram and pstore

2014-12-24 Thread Hari Bathini
With minor checks, we can move most of the code for nvram under pseries to a common place to be re-used by other powerpc platforms like powernv. This patch moves such common code to arch/powerpc/kernel/nvram_64.c file. Signed-off-by: Hari Bathini --- arch/powerpc/include/asm/nvram.h | 50

[PATCH v3 2/3] pstore: Add pstore type id for firmware partition

2014-12-24 Thread Hari Bathini
This patch adds a pstore type id to be used for opal specific nvram partitions. Signed-off-by: Hari Bathini --- fs/pstore/inode.c |3 +++ include/linux/pstore.h |1 + 2 files changed, 4 insertions(+) diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index 5041660..8e0c009 100644 -

[PATCH v3 3/3] pstore: add pstore support on powernv

2014-12-24 Thread Hari Bathini
This patch extends pstore, a generic interface to platform dependent persistent storage, support for powernv platform to capture certain useful information, during dying moments. Such support is already in place for pseries platform. This patch re-uses most of that code. Signed-off-by: Hari Bat

unable to boot kernel on power6

2014-12-24 Thread Anatoly Pugachev
Hello! Can someone from powerpc kernel guys look at https://bugzilla.redhat.com/show_bug.cgi?id=1093163 It can not load kernel on power6 JS22 (type 7998) blade, starting from 3.11 kernel (but 3.9.x actually bootable). Thanks. PS: not sure, is it worth investigating since it's power6 (old hardwa

[PATCH 0/6] kbuild: refactor Makefiles related with cc-version

2014-12-24 Thread Masahiro Yamada
Masahiro Yamada (6): kbuild: fix cc-ifversion macro kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion kbuild,gcov: remove unnecessary workaround kbuild,gcov: simplify kernel/gcov/Makefile kbuild: allow cc-ifversion to have the argument for false condition kbuild,g

[PATCH 2/6] kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion

2014-12-24 Thread Masahiro Yamada
The macros cc-version, cc-fullversion and ld-version take no argument. It is not necessary to add $(call ...) to invoke them. Signed-off-by: Masahiro Yamada --- Documentation/kbuild/makefiles.txt | 4 ++-- arch/parisc/Makefile | 2 +- arch/powerpc/Makefile | 6 +++---