From patchwork Fri Dec 2 00:19:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Branden X-Patchwork-Id: 9457477 Return-Path: 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 274326074E for ; Fri, 2 Dec 2016 00:23:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 196612852B for ; Fri, 2 Dec 2016 00:23:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E3E728537; Fri, 2 Dec 2016 00:23:10 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A65652852B for ; Fri, 2 Dec 2016 00:23:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCbaq-0002Cm-Lk; Fri, 02 Dec 2016 00:20:48 +0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCbai-0001Ya-0p for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2016 00:20:42 +0000 Received: by mail-pf0-x22c.google.com with SMTP id d2so48859492pfd.0 for ; Thu, 01 Dec 2016 16:20:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MgDNJJG63tQA9z3isEZcOclRcP6VtEaWr3R84B+dbl4=; b=I3rmRD2r3QDwNn6pq7yAwcaoG+RnsUpwGrtoQ+BYorM5NtWg0uyzdeOrOMofI+S7qv l3CiCbclAGRRbRtgsRQ6V2KS4T5zcdwVA9ElnpBVVQk6jS3+K3uvuu1s5YCXjs8LFtCL m4iiy3Df/vgfZhPoE28ewgb4sHUBXtiQjLcXE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MgDNJJG63tQA9z3isEZcOclRcP6VtEaWr3R84B+dbl4=; b=KM3N9udQBZXI9ThU5CUW364jqCrPXV9IqGoe4yNvoMOmKHN5LT7dYVW+wUDZ4PuPco Gj7SVzmvAXg+CZAoW6cjmlLlQItn27MRH7Oxxmi6AZbH87mOBLe+9GlteQrXpMnN6T7o ARge3ehHakAZwrneCoMQZgBT4IBXsm7cxah7wh7pPEeqWholLHjWVXk2qnI5oevDRHlR ovHMWJQDrO4gh6groihigRsfxvWKPHx4L36tAZ/DHu6uB0IlJ8EwAIqpBMahcacqZp3z e+3AiOvfgoYSLLJpOZT350rNQuXAY9mtF1Iajv11KXYS27XqQAMbWyenbzAduHkGYtFB YIDA== X-Gm-Message-State: AKaTC001/aP6rjWfKT2PDNQVmVvqjZxWJiaCg5otn4BA4/kBC+177x9+VyEmPDLwjamcEQoZ X-Received: by 10.99.142.201 with SMTP id k192mr72541465pge.174.1480638023777; Thu, 01 Dec 2016 16:20:23 -0800 (PST) Received: from lbrmn-lnxub113.ric.broadcom.com ([192.19.224.250]) by smtp.gmail.com with ESMTPSA id u23sm2570586pfg.86.2016.12.01.16.20.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Dec 2016 16:20:23 -0800 (PST) From: Scott Branden To: Arnd Bergmann , Russell King , Catalin Marinas , Will Deacon , Ard Biesheuvel , Mark Rutland , Xishi Qiu , bielski@fastmail.net Subject: [RFC PATCH 2/2] arm64: defconfig: enable MEMORY_HOTPLUG config options Date: Thu, 1 Dec 2016 16:19:59 -0800 Message-Id: <1480637999-4320-3-git-send-email-scott.branden@broadcom.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1480637999-4320-1-git-send-email-scott.branden@broadcom.com> References: <1480637999-4320-1-git-send-email-scott.branden@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161201_162040_196856_BFCB7AF9 X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Scott Branden , BCM Kernel Feedback , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tang Chen MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable memory hotplug config options to add/remove memory. Signed-off-by: Scott Branden --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index dab2cb0..e801b37 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -73,6 +73,9 @@ CONFIG_PCIE_ARMADA_8K=y CONFIG_ARM64_VA_BITS_48=y CONFIG_SCHED_MC=y CONFIG_PREEMPT=y +CONFIG_MEMORY_HOTPLUG=y +CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y +CONFIG_MEMORY_HOTREMOVE=y CONFIG_KSM=y CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_CMA=y