From owner-svn-src-all@freebsd.org Sat Sep 14 04:05:50 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99ABFDD96D; Sat, 14 Sep 2019 04:05:50 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Vf7K518Qz4SLJ; Sat, 14 Sep 2019 04:05:49 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-lj1-f177.google.com with SMTP id h2so22415812ljk.1; Fri, 13 Sep 2019 21:05:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gHC9NWXihSFgQOzD0HVM7pSND1ObYCGr3nuq9rSyWr8=; b=KIlPKOpxw2zzo0LI9AkOJZhQmkT6skfxFIJXBg0I263gp0ZHjuwcw/yZGVrTEOUZEu n0sllpkUFjbpKDDeegmquzPuZ5xWn0jrnSK2bljEqNGoJscjTGzGHJldTvggg24OO+1n mcU2mZ4oQnyhG008JhJWc8F++fqCzZbDe/v26DVCcrKYBojA7PGAyg0P7SNd5QZrubIS 1AFeh1lNdu64dnTsNfZVCKZRBfbzpH3CShkEsL+l6bWWMG45DIRvN94RcT+Ph6EP3tCn +0K0n3nU3eQmEwtrzxpiXsTixMthrMpY+bKTQwCYZGYTUGuhVT3icJvX5qSV5fyxX+2P 4hoA== X-Gm-Message-State: APjAAAVDiCX2f+aWNc8kugtOKSb3A9fZnevh96P81zoaUQ25NzanuJV9 Pd8Hmm2McH3mC/flZzpQ9HKRnR1fkBJD1GXWK8q+tg== X-Google-Smtp-Source: APXvYqxAh1fE1Yd5a/EOSKf2FmYB6y8N/Z781hrAkBDX4nZYcs3pP4JhpdTwDvJPDGplMypumgo4WSGXpj43verB5Xw= X-Received: by 2002:a2e:860c:: with SMTP id a12mr31333076lji.116.1568433947056; Fri, 13 Sep 2019 21:05:47 -0700 (PDT) MIME-Version: 1.0 References: <201909140330.x8E3UY7q081438@repo.freebsd.org> In-Reply-To: <201909140330.x8E3UY7q081438@repo.freebsd.org> From: Justin Hibbits Date: Fri, 13 Sep 2019 23:05:37 -0500 Message-ID: Subject: Re: svn commit: r352313 - in head/sys: conf modules modules/opal_nvram powerpc/powernv To: src-committers , svn-src-all , svn-src-head@freebsd.org X-Rspamd-Queue-Id: 46Vf7K518Qz4SLJ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 209.85.208.177 as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-3.22 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-1.22)[ip: (-0.49), ipnet: 209.85.128.0/17(-3.32), asn: 15169(-2.24), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[177.208.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[jhibbits@freebsd.org,chmeeedalf@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[177.208.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[jhibbits@freebsd.org,chmeeedalf@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2019 04:05:50 -0000 On Fri, Sep 13, 2019, 22:30 Justin Hibbits 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 >