powerpc/powernv: Allow memory that has been hot-removed to be hot-added
authorRashmica Gupta <rashmica.g@gmail.com>
Fri, 3 Aug 2018 06:06:00 +0000 (16:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Aug 2018 12:12:31 +0000 (22:12 +1000)
commitd3da701d3308ce1fa457f32c6c9e2102aedea030
tree6475bec1418566c5edc0d1d9ff12448bee69ec9a
parent7c27a26e1ed5a7dd709aa19685d2c98f64e1cf0c
powerpc/powernv: Allow memory that has been hot-removed to be hot-added

This patch allows the memory removed by memtrace to be readded to the
kernel. So now you don't have to reboot your system to add the memory
back to the kernel or to have a different amount of memory removed.

Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Tested-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/memtrace.c