Date: Fri, 13 Sep 2019 23:05:37 -0500 From: Justin Hibbits <jhibbits@freebsd.org> To: src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head@freebsd.org Subject: Re: svn commit: r352313 - in head/sys: conf modules modules/opal_nvram powerpc/powernv Message-ID: <CAHSQbTCpzzZ%2B%2BtXKgO_zJy=6xJm2Hmxk4J64TP-avsGx-ncFGQ@mail.gmail.com> In-Reply-To: <201909140330.x8E3UY7q081438@repo.freebsd.org> References: <201909140330.x8E3UY7q081438@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 13, 2019, 22:30 Justin Hibbits <jhibbits@freebsd.org> wrote: > Author: jhibbits > Date: Sat Sep 14 03:30:34 2019 > New Revision: 352313 > URL: https://svnweb.freebsd.org/changeset/base/352313 > > Log: > powerpc64/powernv: Add opal NVRAM driver for PowerNV systems > > Add a very basic NVRAM driver for OPAL which can be used by the IBM > powerpc-utils nvram utility, not to be confused with the base nvram > utility, > which only operates on powermac_nvram. > > The IBM utility handles all partitions itself, treating the nvram device > as > a plain store. > > An alternative would be to manage partitions in the kernel, and augment > the > base nvram utility to deal with different backing stores, but that > complicates the driver significantly. Instead, present the same > interface > IBM's utlity expects, and we get the usage for free. > > Tested by: bdragon > Differential revision: https://reviews.freebsd.org/D21631 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTCpzzZ%2B%2BtXKgO_zJy=6xJm2Hmxk4J64TP-avsGx-ncFGQ>