svn commit: r352313 - in head/sys: conf modules modules/opal_nvram powerpc/powernv
Justin Hibbits
jhibbits at freebsd.org
Sat Sep 14 04:05:50 UTC 2019
On Fri, Sep 13, 2019, 22:30 Justin Hibbits <jhibbits at 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
>
More information about the svn-src-all
mailing list