Message ID | 20180406052116.31483-4-oohall@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-nvdimm-bounces@lists.01.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B596060541 for <patchwork-linux-nvdimm@patchwork.kernel.org>; Fri, 6 Apr 2018 05:21:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5A4729423 for <patchwork-linux-nvdimm@patchwork.kernel.org>; Fri, 6 Apr 2018 05:21:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A5B02942A; Fri, 6 Apr 2018 05:21:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 625EE29423 for <patchwork-linux-nvdimm@patchwork.kernel.org>; Fri, 6 Apr 2018 05:21:56 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 4D0472265A8C7; Thu, 5 Apr 2018 22:21:56 -0700 (PDT) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c00::241; helo=mail-pf0-x241.google.com; envelope-from=oohall@gmail.com; receiver=linux-nvdimm@lists.01.org Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3FDAC226FAA63 for <linux-nvdimm@lists.01.org>; Thu, 5 Apr 2018 22:21:55 -0700 (PDT) Received: by mail-pf0-x241.google.com with SMTP id u86so10153676pfd.2 for <linux-nvdimm@lists.01.org>; Thu, 05 Apr 2018 22:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZXkuxb5INMJKCle51DxSnz2ggitOqPVBx5gSjX4hZg0=; b=sLcfACyp7w/iTdlIAD4aHv7tOqq1sW1ZRIOGi4XOtpJNuqrnSF0eB1F2CcaywcPqW4 Bxrbhz3qTgxsSVvf4y+oGROCRrHw1jqfxf2iuCLEnoYfjH0RdFMAMB0K6php3Rh1PpZj RH409bWlNBHa1HMOiPU/4Xk3TaXZp3AooYz5JgGQXHmoxE7cHLqLT+XErtOc0DqSadpK ewOWO4mzxxjGGtY/bBZNhwFKg0nLY2vsb5Metrto8v0vMEuA/3sueL0g/+XFv1qrrh8I 9EQS6C8MeYqXS/vYHm7D8rov/832FaFB4H7rBGMVAWWYX+ssHXFItcvN/lcO4o7Hx04S Yw2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZXkuxb5INMJKCle51DxSnz2ggitOqPVBx5gSjX4hZg0=; b=MOkxzHPsfjyZeXTFQutCMMe4XRlBGg8zdNYqyWpnPW8fvKsMSN7bkHodDyK+uqm8wI lAs1fU1o+6Vi4YkFclaHfNtmNSFeiclKBTtGkuvTyco6pZaq4FuL5nWMZlCJqwsM7R/J TJnxDwyM7PIecFGE83ATQIYR226N49xWlDovYeUqxFNaZIJabRYiPjuHpN4FcQ9qGryB vvrHAoBclI8qmxOS4PtaM6YmHidsNOFi91flwTKUq/AacOXWjHV4Tzx6IER6fKGDK8eo HYx1LmQAx+w5N8vsRz87DwFTGSN8NiIRPxwi/i+YSgYPE2eT9fjHs3qVBGaSPGiIff3E UdGw== X-Gm-Message-State: AElRT7F9gtwG5bGH4/H30eRQVEFUyayqqrRHuFe9YAsn1A6/nx05wvkU cIPTRC1kAoJOmKyDKSTVWG8= X-Google-Smtp-Source: AIpwx4+Xe1RQuVQEHgk9HSMzVzhXcJ4pdpASpG912ce3dWNmp5ZaHtBZS/tVAe8oFqyLwMXr6DoYsQ== X-Received: by 10.98.107.138 with SMTP id g132mr19078929pfc.163.1522992115030; Thu, 05 Apr 2018 22:21:55 -0700 (PDT) Received: from flat-canetoad.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id s63sm19748498pfe.6.2018.04.05.22.21.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 22:21:54 -0700 (PDT) From: Oliver O'Halloran <oohall@gmail.com> To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH v3 4/4] powerpc/powernv: Create platform devs for nvdimm buses Date: Fri, 6 Apr 2018 15:21:16 +1000 Message-Id: <20180406052116.31483-4-oohall@gmail.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20180406052116.31483-1-oohall@gmail.com> References: <20180406052116.31483-1-oohall@gmail.com> X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Linux-nvdimm developer list." <linux-nvdimm.lists.01.org> List-Unsubscribe: <https://lists.01.org/mailman/options/linux-nvdimm>, <mailto:linux-nvdimm-request@lists.01.org?subject=unsubscribe> List-Archive: <http://lists.01.org/pipermail/linux-nvdimm/> List-Post: <mailto:linux-nvdimm@lists.01.org> List-Help: <mailto:linux-nvdimm-request@lists.01.org?subject=help> List-Subscribe: <https://lists.01.org/mailman/listinfo/linux-nvdimm>, <mailto:linux-nvdimm-request@lists.01.org?subject=subscribe> Cc: linux-nvdimm@lists.01.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" <linux-nvdimm-bounces@lists.01.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c index c15182765ff5..c37485a3c5c9 100644 --- a/arch/powerpc/platforms/powernv/opal.c +++ b/arch/powerpc/platforms/powernv/opal.c @@ -821,6 +821,9 @@ static int __init opal_init(void) /* Create i2c platform devices */ opal_pdev_init("ibm,opal-i2c"); + /* Handle non-volatile memory devices */ + opal_pdev_init("pmem-region"); + /* Setup a heatbeat thread if requested by OPAL */ opal_init_heartbeat();
Scan the devicetree for an nvdimm-bus compatible and create a platform device for them. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> --- arch/powerpc/platforms/powernv/opal.c | 3 +++ 1 file changed, 3 insertions(+)