Message ID | 20171115175131.23631-3-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 B938A60231 for <patchwork-linux-nvdimm@patchwork.kernel.org>; Wed, 15 Nov 2017 17:52:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A72FD2A169 for <patchwork-linux-nvdimm@patchwork.kernel.org>; Wed, 15 Nov 2017 17:52:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BFAD2A172; Wed, 15 Nov 2017 17:52:04 +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 6DBC02A169 for <patchwork-linux-nvdimm@patchwork.kernel.org>; Wed, 15 Nov 2017 17:52:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 81BDC20356892; Wed, 15 Nov 2017 09:47:55 -0800 (PST) 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::243; helo=mail-pf0-x243.google.com; envelope-from=oohall@gmail.com; receiver=linux-nvdimm@lists.01.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) (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 C54FF20356887 for <linux-nvdimm@lists.01.org>; Wed, 15 Nov 2017 09:47:53 -0800 (PST) Received: by mail-pf0-x243.google.com with SMTP id x7so17548336pfa.1 for <linux-nvdimm@lists.01.org>; Wed, 15 Nov 2017 09:52:02 -0800 (PST) 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=bAIIF1PKUH+BgMWjoEBj4QYSzAdYeQGtAAmVHs/9E9k=; b=hvhvlsEuOGwatpD88aC8te+f6K7NlpPWyyirI0T8NcQJO6tvekVa6CL0JUrTE++I9M QaPyAFs0mqZYghslVuDLxFMNeOh+eZzoATM0QxZjIjimMl5NpfYn75b8upgPbG8v6ou1 cfi6+Unz+kxUSN3AqjlZZTzNmMOtfPdooQnbPHErFONla23jeVZ/HguSpu19tokoWwMZ m9zZQ+nTagJU4a8vY9mi/7VIggu3Zh1C1XhZ7f1xvMXcXolUnkcrSVPKuBeSV3RecJEQ NNmqtpu0tPkjTjdoW08LG7fsudcQ8NAiaSc5fTfX8ljuCSOfxNP3kafAE9XNLB5d3sjH SUpA== 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=bAIIF1PKUH+BgMWjoEBj4QYSzAdYeQGtAAmVHs/9E9k=; b=tz7DHacS0dnFcT/YKmV+1Ei1C7RrvdiT2gETQguRJjvz++oyJlYxJCaORLSm3rJery My5avD6r6XtUKawqXx94pCrdrKKc2WoTnGb6exwCMI38fz7oA17GHBzA9YI4TaM9ale2 7SYliGCnYUQGKeGRXHkd+2UzY0hTfyeYk9L6mU8oJoeo8yyLCrBSV2AlXCGv8N1poBzX apQPb3Fp1m5HjLsgGsO2/VcBBMZ+7a5KMTSAFi0SXpX49SXlF7dbrw5GFCXW8FBFtrjA nqy0iVDX/piPS66J7ezFtpWmqPUrVw6e2Gr09hchM/xDZ1rm0bQ/o+0p8tWBsYBxt0qa 6V5A== X-Gm-Message-State: AJaThX5Ci5bzbzvw09YsGX9zigvndNIZdsG0GZHqMLMGe3fknP/3454j VExVY75+mpZxOLov0Rz+4mepRQ== X-Google-Smtp-Source: AGs4zMYZM6LHebmN1RgZ9wyD/SARBHCZXtpJfezrp7iqRPYam0CzP6K0xSU8OlfBsyqOYO9qAkQMgA== X-Received: by 10.159.252.1 with SMTP id n1mr16625260pls.415.1510768322228; Wed, 15 Nov 2017 09:52:02 -0800 (PST) Received: from localhost.localdomain ([103.57.0.128]) by smtp.gmail.com with ESMTPSA id h185sm6995999pfe.171.2017.11.15.09.51.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 09:52:01 -0800 (PST) From: Oliver O'Halloran <oohall@gmail.com> To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 3/3] powerpc/powernv: Create platform devs for nvdimm buses Date: Thu, 16 Nov 2017 04:51:31 +1100 Message-Id: <20171115175131.23631-3-oohall@gmail.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20171115175131.23631-1-oohall@gmail.com> References: <20171115175131.23631-1-oohall@gmail.com> X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.22 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 65c79ecf5a4d..32df0d44f086 100644 --- a/arch/powerpc/platforms/powernv/opal.c +++ b/arch/powerpc/platforms/powernv/opal.c @@ -831,6 +831,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("nvdimm-bus"); + /* 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(+)