]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1041e674c39b1146a1f5989843ef080d926c145
tree6475bec1418566c5edc0d1d9ff12448bee69ec9a
parentdf2c6cba684fdf466e2f484850d9d3d7003dbec3
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