Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wDdm13sQDzDq7Z for ; Fri, 28 Apr 2017 12:57:53 +1000 (AEST) From: Michael Ellerman To: Kees Cook , Ankit Kumar Cc: Anton Vorontsov , Colin Cross , Tony Luck , Pan Xinhui , "benh\@kernel.crashing.org" , Paul Mackerras , Andrew Donnellan , Daniel Axtens , Geliang Tang , "linuxppc-dev\@lists.ozlabs.org" , LKML , "mahesh\@linux.vnet.ibm.com" Subject: Re: [PATCH] Enabled pstore write for powerpc In-Reply-To: References: <1493292794-13166-1-git-send-email-ankit@linux.vnet.ibm.com> Date: Fri, 28 Apr 2017 12:57:50 +1000 Message-ID: <8737ctqlw1.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Kees Cook writes: > On Thu, Apr 27, 2017 at 4:33 AM, Ankit Kumar 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 > > 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