Patch "pstore: Fix flags to enable dumps on powerpc" has been added to the 4.10-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
pstore: Fix flags to enable dumps on powerpc
to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
pstore-fix-flags-to-enable-dumps-on-powerpc.patch
and it can be found in the queue-4.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
041939c1ec54208b42f5cd819209173d52a29d34Mon Sep 17 00:00:00 2001
From: Ankit Kumar <[email protected]>
Date: Thu, 27 Apr 2017 17:03:13 +0530
Subject: pstore: Fix flags to enable dumps on powerpc
From: Ankit Kumar <[email protected]>
commit 041939c1ec54208b42f5cd819209173d52a29d34 upstream.
After commit c950fd6f201a kernel registers pstore write based on flag set. Pstore write for powerpc is broken as flags(PSTORE_FLAGS_DMESG) is not set for powerpc architecture. On panic, kernel doesn't write message to /fs/pstore/dmesg*(Entry doesn't gets created at all).
This patch enables pstore write for powerpc architecture by setting PSTORE_FLAGS_DMESG flag.
--- arch/powerpc/kernel/nvram_64.c | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/kernel/nvram_64.c +1 -0
@@ -561,6 +561,7 @@ static ssize_t nvram_pstore_read(u64 *idstatic struct pstore_info nvram_pstore_info = { .owner =THIS_MODULE , .name ="nvram" , + .flags =PSTORE_FLAGS_DMESG , .open = nvram_pstore_open, .read = nvram_pstore_read, .write = nvram_pstore_write,
Patches currently in stable-queue which might be from [email protected] are
queue-4.10/pstore-fix-flags-to-enable-dumps-on-powerpc.patch