From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3v3Qlf6mJ8zDqKM for ; Wed, 18 Jan 2017 23:10:22 +1100 (AEDT) In-Reply-To: <1483475991-16999-1-git-send-email-arbab@linux.vnet.ibm.com> To: Reza Arbab , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: Alistair Popple , linuxppc-dev@lists.ozlabs.org, "Aneesh Kumar K.V" Subject: Re: powerpc/mm: fix memory hotplug BUG() on radix Message-Id: <3v3Qlf5kWfz9tk6@ozlabs.org> Date: Wed, 18 Jan 2017 23:10:22 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2017-01-03 at 20:39:51 UTC, Reza Arbab wrote: > Memory hotplug is leading to hash page table calls, even on radix: > > ... > arch_add_memory > create_section_mapping > htab_bolt_mapping > BUG_ON(!ppc_md.hpte_insert); > > To fix, refactor {create,remove}_section_mapping() into hash__ and > radix__ variants. Leave the radix versions stubbed for now. > > Reviewed-by: Aneesh Kumar K.V > Acked-by: Balbir Singh > Signed-off-by: Reza Arbab Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/32b53c012e0bfe20b2745962a89db0 cheers