Subject: Re: powerpc/mm: fix memory hotplug BUG() on radix

From: Michael Ellerman <[email-masked]>
Date: Wed, 18 Jan 2017 23:10:22 +1100 (AEDT)

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 <[email-masked]>
> Acked-by: Balbir Singh <[email-masked]>
> Signed-off-by: Reza Arbab <[email-masked]>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/32b53c012e0bfe20b2745962a89db0

cheers