From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752975AbcFGFZa (ORCPT ); Tue, 7 Jun 2016 01:25:30 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:36600 "EHLO e37.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751044AbcFGFZ2 (ORCPT ); Tue, 7 Jun 2016 01:25:28 -0400 X-IBM-Helo: d03dlp03.boulder.ibm.com X-IBM-MailFrom: stewart@linux.vnet.ibm.com X-IBM-RcptTo: mpe@ellerman.id.au;tglx@linutronix.de;linuxppc-dev@lists.ozlabs.org;paulus@samba.org;a.hajda@samsung.com;linux-kernel@vger.kernel.org;christophe.jaillet@wanadoo.fr From: Stewart Smith To: xinhui , Michael Ellerman , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Andrzej Hajda , Christophe Jaillet , Nathan Fontenot , Hari Bathini , Paul Mackerras , tglx@linutronix.de Subject: Re: powerpc/nvram: Fix an incorrect partition merge In-Reply-To: <57550AB2.8090500@linux.vnet.ibm.com> References: <3rLj4P6Swcz9t6B@ozlabs.org> <57550AB2.8090500@linux.vnet.ibm.com> User-Agent: Notmuch/0.21+24~gbceb651 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-redhat-linux-gnu) Date: Tue, 07 Jun 2016 15:24:16 +1000 Message-ID: <87bn3dlgfz.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16060705-0025-0000-0000-0000418E3C42 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org xinhui writes: >> Has it always been broken? >> > > no. after nvram partition corruption hit, all nvram partitions will be > erased and re-alloc after the second machine reboot. > I don't know who does it but i guess it is the firmware. :) It is. PAPR says we format NVRAM when it's corrupted. This is also true for NVRAM for PowerNV (not just pseries guest). -- Stewart Smith OPAL Architect, IBM.