RFC powerpc/mm/radix: Memory unplug fixes
Get series with b4
b4 am [email protected]Versions newest first
- v0 RFC Latest5 patches 7 repliesIn review
Patches in v0 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | powerpc/pseries/hotplug-memory: Set DRCONF_MEM_HOTREMOVABLE for hot-plugged memarch/ | +4 | 0 replies | |
| 2/5 | powerpc/mm/radix: Create separate mappings for hot-plugged memoryarch/ | +12 | 1 reply | |
| 3/5 | powerpc/mm/radix: Fix PTE/PMD fragment count for early page table mappingsarch/ arch/ arch/ +4 more | +121 | 2 replies | |
| 4/5 | powerpc/mm/radix: Free PUD table when freeing pagetablearch/ | +16 | 1 reply | |
| 5/5 | powerpc/mm/radix: Remove split_kernel_mapping()arch/ | +19 | 1 reply |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Aneesh Kumar K.V |
|---|---|
| 1/5 | |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH v0 0/5] powerpc/mm/radix: Memory unplug fixes
Memory unplug has a few bugs which I had attempted to fix ealier at https://lists.ozlabs.org/pipermail/linuxppc-dev/2019-July/194087.html
Now with Leonardo's patch for PAPR changes that add a separate flag bit to LMB flags for explicitly identifying hot-removable memory
(https://lore.kernel.org/linuxppc-dev/[email protected]/T/#t),
a few other issues around memory unplug on radix can be fixed. This series is a combination of those fixes.
This series works on top of above mentioned Leonardo's patch.
Bharata B Rao (5):
powerpc/pseries/hotplug-memory: Set DRCONF_MEM_HOTREMOVABLE for
hot-plugged mem
powerpc/mm/radix: Create separate mappings for hot-plugged memory powerpc/mm/radix: Fix PTE/PMD fragment count for early page table
mappings
powerpc/mm/radix: Free PUD table when freeing pagetable powerpc/mm/radix: Remove split_kernel_mapping()
arch/powerpc/include/asm/book3s/64/pgalloc.h | 11 +- arch/powerpc/include/asm/book3s/64/radix.h | 1 + arch/powerpc/include/asm/sparsemem.h | 1 + arch/powerpc/mm/book3s64/pgtable.c | 31 ++- arch/powerpc/mm/book3s64/radix_pgtable.c | 186 +++++++++++------- arch/powerpc/mm/mem.c | 5 + arch/powerpc/mm/pgtable-frag.c | 9 +- .../platforms/pseries/hotplug-memory.c | 6 +- 8 files changed, 167 insertions(+), 83 deletions(-)
Signature · 1 line
2.21.0