From patchwork Tue Apr 11 17:42:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 749585 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3w2ZXt3Q33z9sN6 for ; Wed, 12 Apr 2017 03:58:22 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mxyju80u"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3w2ZXt2Fj5zDqBN for ; Wed, 12 Apr 2017 03:58:22 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mxyju80u"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3w2ZCN3Hv9zDq7j for ; Wed, 12 Apr 2017 03:43:12 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mxyju80u"; dkim-atps=neutral Received: by mail-pg0-x244.google.com with SMTP id 81so670364pgh.3 for ; Tue, 11 Apr 2017 10:43:12 -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=LEwihDe/a1lq5KlaACet5Qst80PrYpckKqes7CsjFzk=; b=mxyju80uuZm+puidf7yaRnWBKPdXeoGPOfu9e9JzmiyplFwUmf7T6Le8JppbVJcIJ8 R24IcSrubJjYzUpfH26zDJhywcSyCmFeT2yuS2mvXFqdqWgfTiGk5xaE4MHFF7BLt0MB 9CNHgtXRLjyudXQCq3+DN8N6+wH3pW5O6kY1pNIJqbG6VK2nxHnkpopFaiizULMSqdsB FjkdRsGJ7u+oKwofRrsJ5eG/FnVC3laWlthBNDo9bSbxtvsdAsc7EHYgcsxhG5h0gSz7 cKYuMRh1wFOgX65f3bEvfAyLyV1XF9DDTBI7x0lFur1+OjqJbXGXn6BNOZaQ1HL++Xh7 XmtQ== 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=LEwihDe/a1lq5KlaACet5Qst80PrYpckKqes7CsjFzk=; b=ROQAZLq/k84WLNDqvPnBdT7M4Eo3wJIW8ja0hzTYWNjqIhhFo0Prs18J05jlGiIVKT 2GJ3i6mp3NkXYw0uyYkrcIuG18wnJopK/Ub41N0d6jGsvm8q0BVxfa/wYykzHP/hcfPc YX5HHWAC5ftdFs3dmNQD7nJHw1weJvttu4Vr2QZGQi0QwhbtcsJYJQb9DQW/4bB2DDWj CDLfuD5iUIAN+L1YZo98+pYu89AmIC7kxKEXkZSHJGqfHPaWLj3HeLWIKfjOxmRmjDRV +qVzbAuAljbws/8Dq9wSYyHMT/0yxxzvY7X3PuOZAey+uxt3ThFsf4EZR35+clC0JMq6 cR6A== X-Gm-Message-State: AFeK/H1R1HvEq9sS3r74/sL1P/oKS7K1gtnGzqGEODj4p81Gk370bM/k+SIjPRruDvKq9w== X-Received: by 10.99.209.5 with SMTP id k5mr63610446pgg.58.1491932590874; Tue, 11 Apr 2017 10:43:10 -0700 (PDT) Received: from localhost.localdomain ([103.57.0.128]) by smtp.gmail.com with ESMTPSA id r185sm20182582pfr.72.2017.04.11.10.43.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Apr 2017 10:43:10 -0700 (PDT) From: Oliver O'Halloran To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 6/9] powerpc, mm: Enable ZONE_DEVICE on powerpc Date: Wed, 12 Apr 2017 03:42:30 +1000 Message-Id: <20170411174233.21902-7-oohall@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170411174233.21902-1-oohall@gmail.com> References: <20170411174233.21902-1-oohall@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oliver O'Halloran , arbab@linux.vnet.ibm.com, linux-nvdimm@lists.01.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Flip the switch. Running around and screaming "IT'S ALIVE" is optional, but recommended. Signed-off-by: Oliver O'Halloran Reviewed-by: Balbir Singh --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index 43d000e44424..d696af58f97f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -724,7 +724,7 @@ config ZONE_DEVICE depends on MEMORY_HOTPLUG depends on MEMORY_HOTREMOVE depends on SPARSEMEM_VMEMMAP - depends on X86_64 #arch_add_memory() comprehends device memory + depends on (X86_64 || PPC_BOOK3S_64) #arch_add_memory() comprehends device memory help Device memory hotplug support allows for establishing pmem,