Re: [PATCH] Enabled pstore write for powerpc

From: Michael Ellerman
Date: Thu Apr 27 2017 - 22:58:05 EST


Kees Cook <keescook@xxxxxxxxxxxx> writes:

> On Thu, Apr 27, 2017 at 4:33 AM, Ankit Kumar <ankit@xxxxxxxxxxxxxxxxxx> wrote:
>> 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.
>>
>> Fixes:c950fd6f201a pstore: Split pstore fragile flags
>> Signed-off-by: Ankit Kumar <ankit@xxxxxxxxxxxxxxxxxx>
>
> Argh, thanks! I thought I'd caught all of these. I'll include this for -stable.

I see you've picked it up, thanks.

cheers